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!
-
View User Profile
-
Send Message
Posted Dec 22, 2013@StupidMunky4316
Yes
-
View User Profile
-
Send Message
Posted Dec 20, 2013Does this actually work?
-
View User Profile
-
Send Message
Posted Dec 2, 2013@rolandostar
I checked almost every day the forums and here (dev.bukkit). I will try and implement that in the next build.
-
View User Profile
-
Send Message
Posted Dec 2, 2013@PatoTheBest
Yep! Tried using :'message \n more message' without luck and 'message'\n'message' resets the config. (was just experimenting)
Nice to see you are still around, Thanks again!
And it is not! it works perfect on the latest builds of 1.7 as far as I can tell :D
-
View User Profile
-
Send Message
Posted Dec 2, 2013New Version will include:
-
View User Profile
-
Send Message
Posted Dec 2, 2013@rolandostar
I haven't looked a in depth about multiple lines, but I believe you can do it with \n; if not, that'll be next on my to-do list. Cheers!
Kind Regards, -Pato
EDIT: Is it broken on 1.7? I haven't test it because I have been really busy in school.
-
View User Profile
-
Send Message
Posted Dec 1, 2013Hey man just wondering if there's a way to create new lines on the kickmessage, for example the plugin "mwstop" (to replace the /stop disconnect message) looks like this: http:i.imgur.com/6ytiEhZ.png Multi-lined message perfectly centered.
Think that can be included the a To-Do? or am I unaware if this feature is present already?
Thanks for the great plugin!
-
View User Profile
-
Send Message
Posted Nov 1, 2013@revilosmith1999
I have no idea because Minecraft changed a lot of lines of code for the server ping. For example, you can put images and the MOTD will be displayed in multiple lines instead of besides the sidebar. This will cause every MOTD plugin to break if the api changes. That'll be pretty likely.
-
View User Profile
-
Send Message
Posted Nov 1, 2013@PatoTheBest
So it should fix when craftbukkit updates.?
-
View User Profile
-
Send Message
Posted Nov 1, 2013@revilosmith1999
Spigot 1.7 is a "hacked version". It is 1.6.4 spigot but md-5 only modified the version.
-
View User Profile
-
Send Message
Posted Nov 1, 2013@PatoTheBest There are no errors in the console when I start the server and the plugin is working fine, the only issue is that the motd isn't showing up. You can still put the server in maintenance mode though. We are using the spigot 1.7 unofficial build, which I suspect may be the problem. This happened at the 1.6 version too, but then when I updated to a newer craftbukkit it fixed itself.
So I guess I'll wait until craftbukkit updates to 1.7 and see if that fixes it. Thanks - Revilo.
-
View User Profile
-
Send Message
Posted Oct 28, 2013@revilosmith1999
What errors are you getting?
-
View User Profile
-
Send Message
Posted Oct 28, 20131.7 update please. I rely on this for my motd. Useful plugin. Thanks
-
View User Profile
-
Send Message
Posted Oct 8, 2013@LJGaming
I have been looking for some info for it. I'll release another plugin called BungeeMaintenance later when I find how to do it. It is just much more complicated.
-
View User Profile
-
Send Message
Posted Oct 7, 2013Please add support for BungeeCord server?
-
View User Profile
-
Send Message
Posted Sep 24, 2013@Epicballzy
Yes it works with 1.6.4, no errors
-
View User Profile
-
Send Message
Posted Sep 24, 2013@Epicballzy
Gonna test it now...
-
View User Profile
-
Send Message
Posted Sep 24, 2013My regular MOTD doesnt show when the server isnt in Maintenance mode....
-
View User Profile
-
Send Message
Posted Sep 24, 2013Does this work for 1.6.4? if not can you please update it :D
-
View User Profile
-
Send Message
Posted Sep 23, 2013Wow, thanks guys for the 1,000 downloads!