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.
Friendly reminder that people still care about this plugin and to see if you're ready for R5 and an eventual 1.2 release.
@ThisUsernameIsMine
Thanks for testing on new RB :) As for being on the playerlist, I don't know if I can fix that. Probably has something to do with the fact that they are kicked immediately after connect and Bukkit doesn't really know what to do.
Nice plugin :) But you could make it better by making it show the message/timer more often when it reaches the end.
Also, players that are kicked still show up under TAB ;)
Tested @ RB 1.1-R4
Great plugin. Thanks!
@BeenCarl
Did that! v1.04 allows you to use /maint delay .
@re4397
Check the config.yml file in your plugins\Maintenance Mode folder. Almost all messages and variables are configurable.
Can you make it so I type in the code then the server announces [Server] Going into maintenance mode in (1) min.
please make msg configurable
@lmason5
Please list bugs in the Tickets section :) The problem with the console not being able to toggle the plugin should have been fixed in version 1.03.
I am not sure if this is where you want bugs listed but one that I found is that you can't enable or disable Maintenance Mode from the main server panel, other than that I like it because it does what it says.
@Crayder
In some sense it does, because the players are kicked even before they spawn.
Does it disallow them from being able to reconnect?
Please : give me a op permission !
@PiemanSH
The second line of your error log, the start of the stacktrace, reads:
[SEVERE] Could not pass event org.bukkit.event.player.PlayerQuitEvent to PermissionsBukkit
The line indicates that there's a problem with PermissionsBukkit, not with MM. Try updating it. And yes, that's true, maintenance is cleared upon server reboots. I'm working on an update for this thing.
As for color, I don't even know if it's supported. Try toying around a bit with &F - style colors, and tell me what happens?
The maintenance mode does not seem to be persistent between server reboots. I also get a Java error when the plugin tries to auto-kick people during maintenance mode.
This is the error log: http://hpaste.org/56647
Otherwise, it's a good plugin.. Also, just a small suggestion, perhaps color could be used in messages at some point?
Thanks in advance!
config file keeps resetting!
@Baffu
Go ahead and try. :)
Working with 1.1 dev build?
@Kaosvf
Yes, it does.
hi, does it support bukkit 1.0?
@pichubolt090
Just upload another file that says it's for the new RB. Will stop this from going inactive :p