Automated server messages are a simple but effective way to send important information directly to your players in-game. You can use them to display server rules, announce events, share helpful tips, or remind players about your Discord at regular intervals, without anyone on your team needing to be online.
In Terraria, you set this up using Schedules: ZapX runs the say command in your server console at set times, and all connected players see the message in chat. This works the same way on the regular Terraria server and tModLoader.
A schedule with the Run command action enters a command in your server console at the scheduled time, just as if you had entered it yourself in the Console tab. In Terraria, the say command sends a message to all players. It appears in chat in yellow as a server message.
Once the schedule is set up, it runs automatically in the background. This lets you reach your players regularly, even when no admin is online.
Open your game server and go to the Schedules tab. Create a new schedule, give it a name, and select Run command under Action. Enter this command in the Command field:
say <dein Nachrichtentext>
Replace <dein Nachrichtentext> with the message you want your players to see. For example:
say Willkommen auf unserem Server! Die Regeln findest du in unserem Discord.
Enter the command without a / in front. If your server is running TShock, say works the same way.
Then set when and how often the message should be sent, for example hourly or at specific times of day. For detailed instructions on setting up schedules, see the Schedules guide.
You don't need to use a schedule to send a welcome message that every player sees when they connect to a regular Terraria server or tModLoader. Enter it in the Message of the Day (MOTD) field under Configuration > Startup Parameters, then restart the server.
Schedules let you choose when and how often messages appear. Common uses include:
- Displaying server rules at regular intervals
- Announcing upcoming events at set times
- Sharing gameplay tips with new or returning players
- Reminding players about Discord or website links
You can change the interval in the schedule at any time without restarting the server. There must be at least 5 minutes between runs.
- The command is only sent if your server is running at the scheduled time. If it's stopped, ZapX skips the run and displays “Game server is not running” on the schedule.
- A schedule always sends the same text. To send different messages, simply create multiple schedules. You can have up to 20 schedules per game server.
