When hosting a Minecraft server, tasks may need to be automated or performed regularly. Triggers can be used to schedule a task or automatically do a job.
This guide will explain the various available triggers in the Game Management Panel.
Related Article
Schedule Triggers in Minecraft
Event Trigger
- An event trigger is not based on a date or time interval like the other options
- Instead, it is based on when something occurs on the server
- Here are some of the 25 events that are available to select from
- A backup finishes archiving
- A backup has failed
- A player joins the server for the first time
- A player tries to join the server while it’s sleeping
- The Minecraft server is unable to keep up
- The Minecraft server repeatedly fails to start
- The Minecraft Server watchdog forced a shutdown (server unresponsive)
Simple Time Interval
- A simple interval trigger will run at a set time, such as daily, every 3 hours, once a week, once a month, or on a specific day of the month
- After choosing a time interval, a job to be performed may be selected
- Here are some of the more than 41 tasks that can be triggered
- Ban a user from the server by their IP address
- Check for Minecraft server updates
- If condition is met
- Make a GET request to a URI
- Make a POST request to a URI
- Post a message on Discord
- Post a message on Slack
- Restart the Minecraft server
- Schedule an update and restart once the last user leaves, or immediately if empty
- Send a message to everyone on the server
- Send an email
- Start the Minecraft Server
- Update the application and restart it if it was previously running
- Write unsaved world data to a disk (save-all)
Advanced Time Interval
- The Advanced Time Interval option is available when performing tasks on a more complex schedule
EXAMPLE: A trigger could be set to run every other month, on Thursdays, at a specific time. - After selecting an advanced time interval, 18 different tasks can be scheduled
- Here are some examples of them
- Check for available updates via SteamCMD
- Push a message via PushBullet to a specific channel
- Restart the application server, but only if it is empty
- Run a command in one hour, with warnings (non-blocking)
- Send a Wake-On-Lan packet
- Take a sticky backup
Comments
0 comments
Article is closed for comments.