Scheduled tasks & timers
MinecraftAfkBots lets you schedule actions that your bot performs at set intervals or at specific times. This is useful for sending periodic chat messages, running server commands, or automating repetitive tasks.
Setting Up a Timed Chat Message
Open the bot instance
Select the bot you want to add a scheduled task to.
Go to the Macros tab
Click on the Macros tab in the bot panel.
Create a new macro
Add a chat action with your message, and set the trigger type to"Interval". Set the interval in seconds (e.g. 300 for every 5 minutes).
Save and activate
Save the macro and make sure it is enabled. The bot will now send the message at your specified interval.
Common Use Cases
- Party advertisements -- Periodically advertise your party or shop in chat
- Keep-alive commands -- Run a server command like
/afkto prevent timeout on specific servers - Scheduled collection -- Run commands to collect rewards, daily bonuses, or minion output at regular intervals
- Status checks -- Send a
/tpsor/pingcommand at intervals to monitor server health
Interval vs. Delay
When configuring timers, note the difference between interval and delay. An interval repeats the action continuously at the set time. A delay runs the action once after the specified wait time.
Tip:Combine multiple scheduled actions into a single macro to create complex automation sequences. For example: send a chat message, wait 10 seconds, run a command, wait 5 minutes, repeat.
Note:Be mindful of server chat spam limits. If you send messages too frequently, the server may mute or kick your bot. We recommend intervals of at least 30 seconds between chat messages.
Last updated: February 2026