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
Can you update the source code, I'm really interested in this plugin and how it works!
Good work! It's really useful!
@Kaosvf
this was an old feature, i had updated the plugins to support mode groups, so i used perms instead, i am goin to bring back this feature because it has been requested by alot of people. :)
Hi,
I don't understand this phrase "Kicks all players except admins listed in the config when MaintenanceMode is enabled."
Where are the listed admins in the config??
Thank you.
@harryjamesuk
Here to help :D, glad you like them, working on better looking ones,
Dave.
Yup ;)
That fixed the problem, Thank you!!!
Love these Status Widgets :D
@DomanoSV
Will do ;)
Didn't know you could query on another port.
@harryjamesuk
Is 25576 your mc port, if so u want ur query server on another port, say 25587 try that and see if it works.
Dave.
IDK what I've done wrong :S
2013-02-17 03:15:50 [INFO] [MaintenanceMode] Enabling MaintenanceMode v0.3.0 2013-02-17 03:15:52 [INFO] [MaintenanceMode] Starting MaintenanceMode's Query Server on 216.245.210.67:25576 2013-02-17 03:15:52 [SEVERE] [MaintenanceMode] Error starting MaintenanceMode's Query Server please check your configuration file.
216.245.210.67:25576 is my IP and Port so I'm really not sure what's gone wrong :'(
Would appreciate help please ;) Thanks in advance.
@DomanoSV
Yes plz, put it bac
@Infanti20
Yes this used to be an option but was taken out in 0.3.0 because with the different modes it made it easier, however, im trying to add it back in as there has been so many requests
Use the perms system for now.
Dave.
Hey there! I was wondering how I can add an admin to the list? There use to be the command /mm adminadd (name) it was awesome, How do I do this now?
@Cueball61
Hey there, can you maybe provide more info on what your trying to do, commands you using, and what the motd is showing, i just need some more in depth info so i can help you out and work out if it is an actual bug.
Dave.
Does the motd feature still work? It doesn't seem to be working for me.
@kuchiha
The feature was removed, but i spose i can add it back in.
OK, I see what you mean. Maybe adding a "whitelist" in the config file ?
@kuchiha
I believe the issue is with group manager itself, i believe the permissions apply to the worlds and not the server, because when you are in game you are in a world correct so the permissions for that world apply. However if you logout and try to log back in, you cant because you have no perms, because you havent even spawned in a world before you are kicked.
Hope that sort of explains whats going on. Ill keep looking into it, i maybe wrong but i think that is whats going on.
Dave.
groups.yml : http://pastie.org/private/hhfv8tkivv93vplwpxdsq
config.yml : http://pastie.org/private/lzu5yiaayhnr2degdcbxq
@kuchiha
Could i get a copy of ur perms.yml and maintenancemode config.yml and i will have a look at it as soon as i get the chance.
Dave.
Got a bug with mm. I give my group all the permissions with groupmanager. When i enable mm with kickOnEnable set to true, i saty logged on the server. But If I disconnect while mm si still enable, i can't join the server.
Using bukkit 1.4.6-R0.3, and mm 0.3.0.
@SpedwardsHS
We use a php script to generate the images, when i release the next version will have full documentation, atm all im doing is cleaning up the code and seeing what people want, also working on a module for xenforo. Then i will release the code used to generate the images and status blocks.
PS. I would like feed back from everyone or anyone interested on the changes so far.
DomanoSV.