MaintenanceMode
MaintenanceMode
Version 0.3.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.
Configuration Example | Older Versions Help | 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.
- Servers Status Images which can be used on signatures in forums.
- Able to configure multiple maintenance modes.
- Clean whitelist if players have been on for a year for example.
- Optimze world, remove server intensive entities.
Permission Nodes:
- maintenancemode.admin
- maintenancemode.status
- maintenancemode.edit
- maintenancemode.pardon.[mode]
- maintenancemode.pardon.allmodes
Commands
/mmstatus - Shows the current MaintenanceMode Status. /mmedit mode <mode> - Selects the mode you wish to edit. /mmedit kick <true/false> - Sets kickOnEnabled for the selected mode. /mmedit kickmsg <message> - Sets kickMessage for the selected mode. /mmedit message <message> - Sets message for the selected mode. /mmedit motd <message> - Sets motd for the selected mode. /mm enable - Enables Default Maintenance Mode /mm enable <mode> - Enables a mode (ie WorldEdit) of Maintenance Mode /mm disable - Disables Maintenance Mode /mm optimize world - Displays a world list. /mm optimize world <world> - Optimizes the selected world. /mm optimize whitelist - Removes players who haven't logged on for 30 days. /mm optimize whitelist <days> - Removes players who haven't played on the server for the selected amount of days. /mm reload - Reloads the plugin configuration. /mm version - Shows current plugin version. /mm sysinfo - Shows some useful system information.
FuturePlans
- Add color codes to messages.
- Add count down (if required) till server lockdown, when kickOnEnable is true.
- 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
No known bugs in version 0.3.0 as of yet.
Any bugs please send a bug report to [email protected] or submit a support ticket and I will fix it a soon as possible ;)
This Status Image provided by the DKE Plugin MaintenanceMode v0.3.0 Beta
@breezeyboy
What version of bukkit are you running and can u supply a pastebin of the error please and your config for MaintenanceMode.
The more info you supply the more i can help you.
Dave.
I got an error if i use ':' in the config also if i try to login, im not an admin, it fills the console with errors
@DomanoSV
I like the first option were it has 2 mods like /mm setmode 1/2 then /mm enable, if u can pull that off it would be great!
@breezeyboy
Um is that a feature request, too have 2 modes, like select maintenance ... does one set of actions, or another mode that does another set of actions, so there isnt the need to do so much configuring.
Hey ermmm.... can u make it possable to have 2 jar files cus i wanna have 1 thats always in Maintence but anithe one ill change
@d3voo
Is there an issue with the plugin or do you the want new features
Dave
make an update please :) !
Great plugin. I hope it will continue to work with the upcoming 1.3 release.
@Mirrorsounds
Sure look out for it in the next update :)
Feature request. can you add an option for mm to reset the servers motd to a configurable message about the maintenance? That would be really cool
Interesting, would be great if you wanted to do some massive editing/testing. Seems to be useful, I'll download it.
@Kabyl
hmm looks like i forgot to put in a catch or else statement thanks ill get on it straight away
Same bug may affect version 0.2.0 as well.
Dave
EDIT: ok fixed it, basically what was happening was there were 2 else statements that were true, to fix it i removed an else if statement, the both had the exact same output so there was no need to keep them both ;).
@DomanoSV
Found one for you.
Type "mm" in the console gives error below. I'd suggest maybe have it return the same as typing "mm help".
Check here: http:pastebin.com/GRk0UQ4r
@Kabyl
It is coming, im goin to add a scheduling system where you will be able to do that.
To add on to fredghostkyl1's idea, It would be even better if the plugin could occasionally announce that the server was going down.
ty for this plugin! Good job on it, added!
This would be a good command to add: A command so players can check when the next scheduled maintenance is to occur. like /mm check or /mm next
ty, fredghostkyle