FlorusProxyCore 1.2 adds Discord webhook support for the maintenance system.
This update lets the proxy send automatic maintenance alerts to a Discord channel whenever important maintenance actions happen in-game or from console. The feature does not require MySQL, MongoDB, or any extra database setup. It only needs a valid Discord webhook URL and internet access from the proxy.
### New Discord Maintenance Webhook System
A new configuration file was added:
Code:maintenance-discord.yml
This file controls everything related to Discord maintenance notifications. Server owners can enable or disable the whole system, set the webhook URL, change the webhook name and avatar, control allowed mentions, adjust HTTP request settings, and fully customize every notification message.
### Supported Maintenance Events
Discord notifications can now be sent when:
- Maintenance mode is enabled with
/maintenance on.- Maintenance mode is disabled with
/maintenance off.- A player is added to the maintenance whitelist with
/maintenance add <player>.- A player is removed from the maintenance whitelist with
/maintenance remove <player>.- The maintenance time is updated with
/maintenance time <duration>.
Each event has its own toggle, so you can decide exactly which notifications should be sent.
### Fully Customizable Messages
Every Discord message can be customized frommaintenance-discord.yml.
You can edit:
- Plain message content.
- Embed title.
- Embed description.
- Embed color.
- Embed author.
- Embed footer.
- Embed fields.
- Timestamp behavior.
- Webhook username.
- Webhook avatar.
The default file also includes comments for every important key, so it should be easy to understand what each setting does.
### Available Placeholders
The webhook messages support placeholders such as:
%actor%- Console or staff member who ran the command.%player%- Player affected by whitelist events.%time%- Duration written in/maintenance time.%remaining_time%- Remaining maintenance time.%online%- Current online players.%max%- Proxy player limit.%plugin%- Plugin name.%plugin_version%- Plugin version.
These placeholders can be used in titles, descriptions, fields, footers, username, and avatar URL.
### How To Enable It
Openmaintenance-discord.ymland set:
Code:enabled: true webhook-url: "https://discord.com/api/webhooks/..."
Commands added:
- /CmdSpy - Receive notifications of the commands that players execute across all servers.
- /ping - Check your current latency or that of a specified player.
Systems added:
- Friends System
- Party System
- MongoDB & MySQL support.
