Maintenance Mode
This server plugin allows ops to enable Maintenance Mode. Basically, the idea is that in Maintenance Mode, all players will be kicked from the server. This plugin can also be used to quickly kick all players.
Commands
All of these commands require the maintenance.admin permission.
- /maint help - Displays the state of Maintenance Mode and some command help.
- /maint enable - Enables Maintenance Mode and kicks all currently connected players.
- /maint disable - Disables Maintenance Mode and allows players to connect again.
- /maint delay - Sends a broadcast message (configurable) to all players and starts MM in 120 (default, configurable) seconds.
Permissions
- maintenance.admin - Default: op - Gives you access to the commands.
- maintenance.safe - Default: op - Prevents you from being kicked when Maintenance Mode is active.
Config File
- kicksInLog - Default: true - Shows a message in the server console when a player is kicked.
- threadDelay - The delay for when /maint delay is used, in milliseconds (seconds * 1000)
- lang.? - Various text strings. Self-explanatory.
Do you mind telling me why you are claiming my plugin as your own?
@dmitchell94
Well it is a year old...
the config file keeps overriding itself
@Kemren
Will do!
Messages should be changeable, they're all in the config file.
Can you please add the option for Maintenance mode to continue through reboots? We use maintenance mode to keep the server clean while we're installing new plugins and cleaning things up, and we noticed that any time we do a server restart, we have to re-enable maintenance mode.
Maybe it could just be a thing in the config file.
MaintenanceEnabled: False
and using "/maint enable" changes that config option to true and it stays active until you use "/maint disable"?
I'd also like to see an option for changing the server message, but that's just a thought. The big one would be making the mode persist through restarts.
Thanks
@MiachBiatch
I've been testing around with the plugin and it works just fine. The config file is not resetting itself. Is the config folder named properly? It should be named "MaintenanceMode" exactly, with that capitalization, and no spaces. The file should be called "config.yml".
As for player names appearing in the player list, I am aware of that problem. Looking into it.
Oh, and when I enable maintenance mode and someone try to connect, their name appear in the tab list even tho they dont get logged in, could you fix that aswell please?
Thanks a bunch again! :)
@pichubolt090
Thanks for answering but it still does not work unfortunately. It keep reseting the config to this:
What to do? Its a really handy plugin if it work properly :)
@MiachBiatch
Try pasting this default config: http://dev.bukkit.org/server-mods/mainte/pages/default-config/
The plugins load and works, but the config file is empty. Could you add a feature to edit the Maintenance text?
Please fix this as I need it badly and its a great plugin! :) Thanks!
@DasDing73
Bukkit's new config file interface sucks. I already had my doubts it would work properly. I'll look into it :)
I can't change the messages :8. Everytime if I restart the server, the default messages appear. There are no error lines in the server console. Please fix this awesome plugin!
@TheOnlyRealTGS
It's supposed to work in 1.2.5. Can you give me the error text the plugin spurts out? I'll have a look at it then. Try Pastebin to paste the log...
@TheOnlyRealTGS
Okay works in 1.2.5 but spam the log with errors
1.2.5 support?
Brilliant plugin, wishing I'd found this sooner! Muuuuch easier than disabling a whitelist and dealing with confused users emailing to find out what they did wrong lol
It has been updated! Check the Files section for the latest plugin file.
Eeyup we need an update.
It's necessary indeed ;)
2012-03-02 09:38:55 [SEVERE] Error occurred while enabling Maintenance Mode v1.04 (Is it up to date?)
@Crayder
Of course I'm ready, but this is the kind of plugin that doesn't really need updates for new Bukkit releases. If it's neccesary, I will update it though.