A powerful and flexible event scheduling plugin for Hytale servers that automatically distributes rewards and executes commands at specific times or intervals.
- Interval Events: Execute commands every X seconds (e.g., hourly rewards)
- Scheduled Events: Trigger events at specific times daily (e.g., 09:00, 12:00, 18:00)
- JSON-based configuration system
- Enable/disable individual events
- Customizable timezone support (default: GMT/London)
- Broadcast messages with custom prefix
- Multiple commands per event
- Automatically give items to all online players
- Send custom messages to players
- Supports all Hytale items (weapons, tools, armor, etc.)
| Command | Description |
|---|---|
/events |
List all configured events and their status |
/eventstrigger --eventName <name> |
Manually trigger any event |
/eventsreload |
Reload configuration without restarting server |
- Minimum player requirement for events
- Cooldown between consecutive events
- Debug mode for troubleshooting
- Manual event triggering for testing
- Download the latest release from Releases
- Place the
.jarfile in your server'smodsfolder - Start/restart your server
- Configure events in
mods/EventScheduler/events.json - Use
/eventsreloadto apply changes
The configuration file is located at mods/EventScheduler/events.json
{
"broadcastPrefix": "[Events] ",
"intervalEvents": [
{
"name": "hourly_reward",
"enabled": true,
"interval": 3600,
"commands": [
"give Weapon_Sword_Cobalt"
],
"broadcastMessage": "Hourly reward! Cobalt Sword distributed to all players!"
},
{
"name": "bonus_tools",
"enabled": false,
"interval": 7200,
"commands": [
"give Tool_Pickaxe_Crude",
"give Tool_Hatchet_Crude"
],
"broadcastMessage": "Bonus reward! Pickaxe and Hatchet distributed!"
}
],
"scheduledEvents": [
{
"name": "morning_reward",
"enabled": true,
"times": ["09:00", "12:00", "18:00", "21:00"],
"commands": [
"give Weapon_Sword_Crude",
"give Tool_Pickaxe_Crude"
],
"broadcastMessage": "Daily reward time! Sword and Pickaxe distributed!"
},
{
"name": "midnight_bonus",
"enabled": true,
"times": ["00:00"],
"commands": [
"give Weapon_Staff_Cobalt",
"message You earned a midnight bonus!"
],
"broadcastMessage": "Midnight bonus! You earned a Cobalt Staff!"
}
],
"settings": {
"timezone": "Europe/London",
"debugMode": false,
"minPlayersRequired": 0,
"cooldownBetweenEvents": 0
}
}| Field | Type | Description |
|---|---|---|
name |
String | Unique identifier for the event |
enabled |
Boolean | Whether the event is active |
interval |
Integer | Time between executions in seconds |
commands |
Array | List of commands to execute |
broadcastMessage |
String | Message to broadcast when event triggers |
| Field | Type | Description |
|---|---|---|
name |
String | Unique identifier for the event |
enabled |
Boolean | Whether the event is active |
times |
Array | List of times in "HH:mm" format |
commands |
Array | List of commands to execute |
broadcastMessage |
String | Message to broadcast when event triggers |
| Field | Type | Default | Description |
|---|---|---|---|
timezone |
String | "Europe/London" | Timezone for scheduled events |
debugMode |
Boolean | false | Enable detailed logging |
minPlayersRequired |
Integer | 0 | Minimum online players to trigger event |
cooldownBetweenEvents |
Integer | 0 | Cooldown in seconds between events |
| Prefix | Description | Example |
|---|---|---|
console: |
Execute as server console (full permissions) | console:save-all |
server: |
Alias for console: | server:restart |
cmd: |
Execute as the player | cmd:spawn |
command: |
Alias for cmd: | command:home |
op: |
Execute with OP permissions | op:kick {player} |
admin: |
Alias for op: | admin:ban {player} |
| Command | Description |
|---|---|
give <ItemID> [quantity] |
Give item(s) to player |
message <text> |
Send a private message to player |
msg <text> |
Alias for message |
broadcast <text> |
Send message to all online players |
bc <text> |
Alias for broadcast |
| Placeholder | Description |
|---|---|
{player} |
Player's username |
{name} |
Alias for {player} |
{uuid} |
Player's UUID |
{display_name} |
Player's display name |
"commands": [
"give Weapon_Sword_Cobalt 1",
"message Welcome {player}!",
"console:save-all",
"console:say Server backup complete!",
"op:gamemode creative {player}",
"cmd:spawn",
"broadcast Event reward distributed to {player}!"
]The plugin comes with pre-configured example events:
| Event Name | Type | Timing | Commands | Status |
|---|---|---|---|---|
| hourly_reward | Interval | Every 1 hour | give Weapon_Sword_Cobalt |
β Enabled |
| bonus_tools | Interval | Every 2 hours | give Tool_Pickaxe_Crude, give Tool_Hatchet_Crude |
β Disabled |
| morning_reward | Scheduled | 09:00, 12:00, 18:00, 21:00 | give Weapon_Sword_Crude, give Tool_Pickaxe_Crude |
β Enabled |
| midnight_bonus | Scheduled | 00:00 | give Weapon_Staff_Cobalt, message |
β Enabled |
| scheduled_stop | Scheduled | 04:00 | console:stop |
β Disabled |
{
"name": "scheduled_stop",
"enabled": false,
"times": ["04:00"],
"commands": [
"console:stop"
],
"broadcastMessage": "Server is shutting down for maintenance!"
}{
"name": "auto_save",
"enabled": true,
"interval": 1800,
"commands": [
"console:save-all"
],
"broadcastMessage": ""
}{
"name": "restart_with_warning",
"enabled": false,
"times": ["04:00"],
"commands": [
"broadcast Server restarting in 10 seconds!",
"console:save-all",
"console:stop"
],
"broadcastMessage": "Scheduled maintenance!"
}- Java 17 or higher
- Maven 3.6+
- Hytale Server JAR (place in
libs/folder)
# Clone the repository
git clone https://github.com/Crefax/EventsScheduler.git
cd EventsScheduler
# Build the project
mvn clean package
# The JAR will be in target/events-scheduler-1.2.0.jarAll commands require OP permissions by default.
- Hytale Server (Early Access or newer)
- Java 17+
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Found a bug or have a suggestion? Open an issue!
Author: Crefax
Version: 1.2.0