ServerMaintenance
This Plugin whitelist the server with a custom kick message and a custom MOTD! This will require Java7!
____________________________________________________________________________
Features
- Custom Welcome MOTD
- Custom Maintenance MOTD
- Custom kick message when trying to log in while maintenance mode is on
- When the player is logged in and the admin turns on the maintenance mode and the player gets kicked (same kick message is used for when they try to log-in)
- Color Code Support on every custom message
- NEW Custom stop messages
- NEW New line support on config with something NEWLINE something else
- NEW Command to automatically download latest version
- Update Checker
____________________________________________________________________________
Installation
- Download the latest file
- Drag and drop the plugin in your server's plugins folder
- Start the server
- Stop the server
- Edit the config
- Start it up and enjoy! :)
____________________________________________________________________________
Commands and Permissions
Command | Function | Permission |
---|---|---|
/maintenance toggle | Toggles The Maintenance Mode | servermmaintenance.toggle |
/maintenance toggledelay | Toggles The Maintenance Mode With Delay! | servermmaintenance.toggle |
/maintenance add <PlayerName> | Add a player to the exempt list | servermmaintenance.player.add |
/maintenance remove <PlayerName> | Removes a player from the exempt list | servermmaintenance.player.remove |
/maintenance reload | Reloads the configuration | servermmaintenance.reload |
/maintenance stop | Stops the server completely | servermmaintenance.stop |
/maintenance update | Updates to the newest version | servermmaintenance.update |
*No Command | Can Login while maintenance mode is on | servermmaintenance.bypass |
*No Command | Recieve a notification when an update is availabe | servermmaintenance.update |
*No Command | All Permissions | servermmaintenance.* |
Help page is available when no command is found.
____________________________________________________________________________
Configuration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #Custom Welcome MOTD (Multi-MOTD Support) WelcomeMOTD: - '&6Server &5Hello' - '&4Server: &aAnother MOTD!' #Use the Welcome MOTD useWelcomeMOTD: true #Custom Maintenance MOTD (Multi-MOTD Support) MaintenanceMOTD: - '&8Server: &9Maintenance!' - '&7Server: &1Another maintenance Message!' #Use Maintenance MOTD useMaintenanceMOTD: true #The Kick Message KickMessage: '&4Server Is Under Maintenance!' #This will broadcast the message for the delay command the seconds before the delay is over BroadcastTime: - 1 - 2 - 3 - 4 - 5 - 10 - 15 - 30 - 60 #The format of the seconds BroadcastSecondsMessage: '&4Maintenance Mode In %t Seconds!' #The format of the second BroadcastSecondMessage: '&4Maintenance Mode In %t Second!' #The format of the minute BroadcastMinuteMessage: '&4Maintenance Mode In %t Minute!' #Global message when the servermaintenance mode enables BroadcastOnMaintenanceEnableMessage: '&4Server Is Now In Maintenance Mode' #Global message when the servermaintenance mode disables BroadcastOnMaintenanceDisableMessage: '&bServer Is No Longer In Maintenance Mode' #This will check for updates CheckForUpdates: true #Use only the exempt list UseExemptOnly: false #Don't change this. It will automatically change enabled: true #-NEW- Message when server stops StopMessage: '&6Server Has Stopped! NEWLINE Come Back Later &l:)'! |
____________________________________________________________________________
Video
Youtube Tutorial in Spanish
Send me a link if you want your video here.
____________________________________________________________________________
To-Do
- Reload Message
- Use MOTD Boolean
- Kick all ops except if they are on the allowed-players file (toggled)
____________________________________________________________________________
If you want to suggest something, post below! If you have a comment about this plugin whether you like it or not, post below!
If you are having problems with the MOTD resetting, just right click on config.yml -> properties -> read only
There is no config?! Help pls
@PatoTheBest is there any way you can make the default start up not maintenance because im restarting my server and i always need to turn it off and its kind of bugging me could you ass like a line saying maintenance_on_when_start: false or something
Could you change it so I can set maintenance with hours too? I would like to be able to schedule maintenances with plenty of time.
I made a video well explained in Spanish you could put it on your page? https://www.youtube.com/watch?v=QI_zCBaertA
I have made a ENGLISH video at https://www.youtube.com/watch?v=QUp4XeQ9_xI&feature=youtu.be
Enjoy!
- Noahmoose100
Hey, great plugin! :) One suggestion though, could you add a permission for the command: /maintenance or /maintenance help ? because i don't want people that are not OP doing this command and seeing the list of commands. Thanks, this would help a lot! :)
@BucketConfigured
Huh... I am using PPMOTD as my MOTD plugin, and touching almost anything on this plugin's config will reset it...
@ItIsMeMyself
You could just remove the other MOTD's and just have the 1 you want or remove the text of all the MOTD'S and just have ' '
@PatoTheBest
Is there a way to prevent this plugin from changing the motd? There are no options like "useWelcomeMOTD" or "useMaintenanceMOTD" in the config...
@Willoxey
@SebasCapo2013YT
I know, it is the ONLY but I mean ONLY tutorial there is.
@zapspawn
Do you stop the server before editing the config?
@PatoTheBest the spanish video its from an kid!! With 7-8 Years old T-T (If u wan't i can do another one) (Im 14 Years Old)
Hi @PatoTheBest, I seem to be having a problem. When i do "/m stop" the server stops and displays the message but it resets the config for some reason. Please help thanks
Config: http://pastebin.com/5RKLF4jJ
tio el tutorial que tienes es de un niƱo y no entiendo nada...
@linopa2076
I have the same problem. Not sure why :/
@Qazsew123
Do /m stop
Ummm, Can't get the stop message to work. I have set it in the config but when I do /stop
or stop the server with the console it just says server closed.
@UDK450
SomethingNEWLINEsomething
Is there a way to take use of the 2 line MOTD now available for servers?