Automated server messages are a simple yet 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—all without anyone on your team needing to be online.
With Multi Theft Auto (MTA), you can set this up using schedules: ZapX runs the say command in your server console at set times, and all players on your server see the message.
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 MTA, the server command say displays a message to all players on the server.
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.
Command input is new for MTA. If your server was created before this feature was available, it needs to be set up again once before it can accept commands. A regular restart is not enough.
- Open your server in ZapX. The Update available window will appear.
- Click Apply update. Your server will be set up again briefly, but your game data will be preserved.
If you haven't applied the update yet, the Console will show a notice when you enter a command. If you don't see an update, contact our support team.
Try the command manually first. Open the Console tab and enter a command like this:
say Test
The line CONSOLECHAT: Test will then appear in the console. If that works, create the schedule:
- Open the Schedules tab and click New schedule.
- Enter a Name, such as
Discord reminder. - Under Action, select Run command.
- Enter your message command in the Command field:
say <your message text>
Replace <your message text> with the message you want your players to see. For example:
say Join our Discord: discord.gg/yourlink
- Under Schedule (Cron), choose when the message should be sent. You can select a preset such as Every hour or enter a custom Cron expression, such as
*/30 * * * *to send the message every 30 minutes. - Click Create.
For details on setting up schedules, see the Schedules guide.
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 executions.
- The command is only sent if your server is running at the scheduled time. If it's stopped, ZapX skips the execution and displays “Gameserver 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.
