️ ️sOffline - Simple Server Maintenance Mode Plugin ️️
Features:
Easy Maintenance Toggle: Use the command /setoffline <title> <description> to activate maintenance mode, instantly kicking all players!
Quick Recovery: Use /setonline to bring the server back online and let players reconnect seamlessly.
Customizable MOTD: Automatically change the server’s MOTD when maintenance is active to notify players!
Custom Messages: You can edit every detail like the title, description, and date of the maintenance.
Permissions:
soffline.use - Grants permission to use the maintenance commands.
soffline.stay - Prevents players from being kicked when maintenance mode is enabled.
Commands:
/setoffline <title> <description>: Activate maintenance mode.
/setonline: Bring the server back online.
Config.yml:
Code (YAML):
# Plugin Prefix
prefix
:
"&f▸&c&lsOffline&f◂ "
# Kick message
maintenance-message
:
-
"&c&m---------&c&l Server Maintenance &c&l&m ---------"
- "&8&lTitle
:
&7{maintenanceName}"
- "&8&lDescription
:
&7{description}"
- "&8&lBy
:
&7{moderator}"
- "&8&lDate
:
&7{date}"
-
"&c&l&m-----------------------------"
# When Maintenance is enabled (offline mode)
motd-online:
line1
:
"&d&l{ServeName} &8&m &a &lOnline"
line2
:
"&f&lLorem ipsum dolor sit amet, consectetur..."
# When Maintenance is disabled (online mode)
motd-offline:
line1
:
"&d&l{ServeName} &8&m &c &lMaintenance"
line2
:
"&f&lLorem ipsum dolor sit amet, consectetur..."
no-permission-message
:
"&cYou do not have permission to use this command."
maintenance-enabled-message
:
"&aMaintenance mode enabled."
maintenance-disabled-message
:
"&cMaintenance mode disabled."