MaintenanceMode Versions 0.2.2 and Earlier
MaintenanceMode
Version 0.2.2-R2.0
This is another Plugin from the DKE Development Team, MaintenceMode is a simple light weight plugin that allows you to put your server into maintenance mode kicking all players that are not on the Admin list and also provides a message to players trying to logon to the server.
Source Code | DKE Development Website
Features
- Set custom message for when players try to logon.
- Can change the message so it suits the situation and day of maintenance.
- Kicks all players except admins listed in the config when MaintenanceMode is enabled.
- Can be used on both whitelisted and non-whitelisted servers.
How to Use
Maintenance Mode Config:
enabled: false maintenance-msg: The server is undergoing scheduled maintenance, please check back later. maintenance-kick-msg: We are now performing server maintenance, please check back later. maintenance-motd: Undergoing Maintenance admins: - Player1 - Player2 - Player3
Permission Nodes:
maintenancemode.admin
Commands:
/mm sysinfo - Shows some useful system information. /mm enable - Enables Maintenance Mode /mm disable - Disables Maintenance Mode /mm adminadd <player> - adds player to admin list. /mm adminremove <player> - removes player from admin list. /mm kickmsg <string> - Sets the message shown when enabling MaintenanceMode as player is kicked. /mm msg <String> - Sets the message you wish to display when players try to logon to the server. /mm motd <String> - Sets MOTD that is used during maintenance mode.
NOTE: Admin names are case sensitive, so please check this before enabling.
FuturePlans
- Add a schedule system so a date can be set when the server is to be closed for maintenance.
- Add a command so players can check when the next scheduled maintenance is to occur.
Known Bugs
Versions 0.2.0 and 0.2.1 have an unhandled exception when /mm with no arguments is used so please update to version 0.2.2
Any bugs please send a bug report to [email protected] or submit a support ticket and I will fix it a soon as possible ;)
Comments