Server at maintenance
WARNING: This plugin needs ProtocolLib to function, do not forget to install it first
This plugin will allow you to switch your server to maintenance mode so only people whitelisted in config will be able to join,
also it will change motd and pingmessage to indicate the users that server is at maintenance.
So it will look something like this.
Features:
- Changes pingmessage
- Changes motd
- Customiseable messages with color codes support
Commands
/mmode on - enable maintenance
/mmode off - disable maintenance
/mmode reload - reload config
Permission: mmode.admin
Permission to join while maintenance is active : mmode.join
Config
PingMessage: '&6Maintenance' #message near ping MOTD: '{motd} &4At maintenance' #motd ({motd} will be automatically replaced by server motd) KickMessage: 'Server is at maintenance. Please come back later.' #kick message KickNonAllowedOnMModeEnable: true #kick non allowed on maintenance mode enable
Downloads:
Test version: download from jenkins
Source code: GitHub
@SaTaNSk1nG
Listener?
What exactly do you mean?
Hey I was wondering if I could use the listener. If you do not reply after the 13th it is too late :(
@haakondude97
Because it is how it is designed to be, if you want your config to persist you should reload it by command. And also you sould check that you have correct formatting.
Why does every cool plugin have the same problem?!
The config file resets everytime i restart my server! :(
Good plugin ;)
@toxictroop
Ok, i will add this.
Can we have an addiction?
allow all?
@H3athcliff
Yes.
@DeadspaceXD should be
I have a problem with this plugin :s
PingMessage: '&6Maintenance' MOTD: '&4{motd} at maintenance' KickMessage: Server is at maintenance. Please check back later. AllowedList: deadspaceXD KickNonAllowedOnMModeEnable: true
If i save this and startup/reload my server, the 'AllowedList' doesn't save my name.
Why ? Please help me :O
Does the plugin support minecraft 1.5.2 ?
@KevinABC96 This plugin requeres ProtocolLib so i think it should stay separate.
And how about it's done: here is an explanation how minecraft ping works http://wiki.vg/Server_List_Ping , so i just modify ping packet.
@miner9243
BungeeCord respond for ping by itself, so currently this plugin is only for direct connections.
But i may try to hook in bungeecord, i will see what i can do.
@miner9243
Probably not, BungeeCord would "override" MOTD and Version, this is only for direct connections to the server (I'M NOT SURE)
and does this have bungee cord support?
it doesnt work for me :( i have protocallib
@rfsantos1996
Ok i will add this and some more commands.
(Bot later, i'm too busy ATM)
@Shevchikden
Thanks, I saw on Jenkins (;
PS: Nice plugin, could you add an command to add people on the "whitelist" or actually use bukkit's whitelist?
"Java - write once, debug everywhere" so true lol
@rfsantos1996
Hmm, it generates second config after server restart, fixed it (now it is called MMode instead of MaintenanceMode in plugins list)
It generates 2 configs (MMode/config,yml and MaintenceMode/config,yml)
@Shevchikden
I don't know why, but the plugin works great now :D, Thanks for this Awesome Plug-in :)