MaintenancePlugin 9.1

Register now to download for free
Locks server for maintenance.
Locks server for maintenance. Usage /Lockdown on/off [Players to not Lockout (including offline players)] Ex: /Lockdown on Moocow9m RandomPerson54 RandomPerson21 or for timed /tlockdown [playernames]
you can add players to Login Allow list by config, command, and permissions(it will combine them).

If any help is needed and is not currently stated in documentation please tell me and i will add it to the documentation.

Version Info: Works with Spigot 1.7.9 - 1.11.2. Works with Bungee.

Poll (Should I switch to UUIDs? Ends March 1st): https://goo.gl/forms/r0tHkYs138TtYMvH3

Place suggestions on improvements, add features, or Report bugs here: http://goo.gl/forms/VKtLs2gD9M

To-Do:
- Update documentation
- Add GUI for editing config
- Add ability to store config in database for easier support across multiple servers

MaintenancePlugin

By: Moocow9m


Commands:

Lockdown:
Usage: /lockdown on/off [Player Names]

Desc: Locks server for any reason specified in the config.

tLockdown:
Usage: /tlockdown [Player Names]

Desc: Same as lockdown but with a time specified in config.

Permissions:

This changes depending on bungee or spigot usage.

Bungee:

All permissions to use command and stay logged in on lockdown and after is set in config or by command. See Config for Bungee for more information.


Spigot:

Lockdown.use:
description: Locks server.
default: op

join.server.during.maintenance:
description: Allows joing and staying on the server during lockdown.
default: op


Config:

This changes depending on bungee or spigot usage.

# +----------------------------------------------------------------------+

# < Plugin Lockdown by Moocow9m >

# < Change the options you want on lockdown in here! >

# < http://wiki.ess3.net/mc/ > //All messages should allow coloring.

# +----------------------------------------------------------------------+


Enabled: true // setting this to false will reset the config and will generate a new one.

Access:

Amount: 3 // this is how many players are in the list for access to the commands.

'0': Default1 // it starts at zero and names are case and spelling sensitive for the most part.

'1': Default2

'2': Default3

Motd:

Player:

Message:

Enabled: true //This is the max/min player slot.

message: Lockdown Enabled

offline:

Active: true //if lockdown is off and this is true, this will activate the next two lines.

'1': Lockdown Disabled //This is line one of the lockdown off MOTD which activate when lockdown is off.

'2': YAY //This is line two of the lockdown off MOTD.

lockdown:

'1': Lockdown Enabled //This is line one of the lockdown MOTD which only activates on lockdown.

'2': Sorry //This is line two of the lockdown MOTD.

login: Maintenance in progress // This is the Lockdown kick message.

Login:

Access:

Amount: 3 // this is how many players are in the list for access to logging in without command perms.

'0': Default1 // it starts at zero and names are case and spelling sensitive for the most part.

'1': Default2

'2': Default3

Countdown:

Color:

Code: '&4' // The link at top has all color codes. This is the color the message will be.

Message: Lockdown in %num% // %num% is where the countdown number will be.

time: 10 //This is the countdown length in seconds.

Update:

Check:

enabled: true //enable/disable the update feature

receive:

Amount: 3 //amount of below players

'0': Default1 //receive update message on login if available

'1': Default2

'2': Default3

Auto: true //Update Plugin automatically.

liveEdit: //alows editing to most other options without reload

Enabled: true

check: '6' //how often(in seconds) to check for changes

Favicon:

changeFavicon: false //change your server icon while lockdown is on

Favicon: Favicon.png

newFavicon: Favicon2.png

pingLines:

changePingLines: true //on ping change hover message

pingLines:

'0': '&8&m Sorry only one line...'

# +--------------------------------------------------------------------+

# < Plugin Lockdown by Moocow9m >

# < Change the options you want on lockdown in here! >

# < http://wiki.ess3.net/mc/ > //All messages should allow the coloring.

# +--------------------------------------------------------------------+

Enabled: true
Motd:
lockdown:
Amount: 3 //Amount of random MOTDs selected every ping
'0': //MOTD 1
'1': '&cLockdown Enabled1' //MOTD 1 Top Line
'2': '&cSorry1' //MOTD 1 Bottom Line
'1': //MOTD2... and so on
'1': '&cLockdown Enabled2'
'2': '&cSorry2'
'2':
'1': '&cLockdown Enabled3'
'2': '&cSorry3'
Player:
Message:
Enabled: true //Enables the player count to be turned into below message
message: '&cLockdown Enabled' //Message mentioned above
kickmessage:
amount: 4 //Amount of messages displayed on kick
'0': '&cKicked message default 1' //First line
'1': '&cdefault2' //second line... and so on
'2': '&cdefault3'
'3': '&cdefault4'
offline:
Active: false //True overrides config MOTD with the one set here when server is not on lockdown
Amount: 3
'0': //MOTD 1
'1': '&aLockdown Disabled1' //MOTD 1 Top Line
'2': '&aYAY1' //MOTD 1 Bottom Line
'1': //MOTD2... and so on
'1': '&aLockdown Disabled2'
'2': '&aYAY2'
'2':
'1': '&aLockdown Disabled3'
'2': '&aYAY3'
Login:
Access:
Amount: 3 //Amount of player to add by config (Will be removed in future due to permissions controlling these as wall)
'0': Default1 //Player Name 1
'1': Default2 //Player Name 2 and so on...
'2': Default3
Countdown: // /tlockdown only
Color:
Code: '&4' //Color of below message
Message: Lockdown in %num% // Move %num% to alter where it says num on countdown
time: 10 //Seconds till lockdown
Update:
Check:
enabled: true //check for updates on startup
receive:
Amount: 3 //Amount of players to add to update status receive list (to be added to permissions soon)
'0': Default1
'1': Default2
'2': Default3
timer:
'On': true // To check every so often for updates while server is running (Works even if startup check is false from startup check)
Minutes: 60 //How often in minutes to check
liveEdit:
Enabled: true //Refresh variables in plugin every so offten (Not recommended)
check: 6 //Seconds to check
Favicon:
changeFavicon: false //Change image shown on ping (Must be 64 x 64)
Favicon: Favicon.png //Lockdown off
newFavicon: Favicon2.png //Lockdown on
pingLines:
changePingLines: true //Message that shows while hovering over the player count info
pingLines:
Amount: 3 //Amount to show (Over 3 "might" not work)
'0': '&8&m--------------------------------------------' //Line 1
'1': '&cDefault 2' //Line 2 and so on...
'2': '&8&m--------------------------------------------'
Server:
in:
offline:
mode: false //Offline servers create new UUIDs so methods that use them need names (Not Recomended. Use only if errors occur to see if problem gets fixed.)
allowed:
by:
command:
- Default1
- Default2
- Default3

Timed:
lockdown:
type: actionbar //Avalible: actionbar, bossbar, scoreboard, chat (All case sensitive)
scoreboard:
Name:
Of:
Board: Lockdown Info
  • A.png
    A.png
    42.1 KB · Views: 214
  • B.png
    B.png
    390 KB · Views: 214
  • C.png
    C.png
    39.1 KB · Views: 214
  • E.png
    E.png
    8 KB · Views: 210
  • D.png
    D.png
    7.6 KB · Views: 215

Latest updates

  1. Add UUID support

    Added ability to add UUID's to config and command for allowed players (simply put the UUID where...

Author

Moocow9m

Owner
Author
Moocow9m
Downloads
41
Views
669
First release
Last update
Rating
0.00 star(s) 0 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.