About: Every owner/manager had issues with plugins when they started a new server. Finding all bugs/mistakes from plugins is hard. What if a random person found a game-breaking glitch and duped tons of materials? This is where ServerLock comes in hand. It will let your staff decide to lock the server until you come online to fix the bug. All with some user friendly commands.
This is my first Skript, don't kill me when there are bugs/problems.
Installation & dependencies: - Download Skript - Download skRayFall(if you plan on using the bossbar) - Drag both jar files in your plugins folder. - Start your server to let Skript generate its files. - Drop serverlock.sk in the \plugins\Skript\scripts folder.
Configuration: - Open the serverlock.sk in any editor such as notepad++ - Change the contactperson name to the server manager name - Choose the permissionplugin you will be using (copy from the list) - Change any other options that you want - Save & reload it to your server.
The bossbar / actionbar will only show up if you rejoin the server.
Permissions:
Code (Text):
- serverlock.admin (let people do all commands)
- serverlock.use (let people lock the server after finishing a small captcha, give this to your staff team.)
- serverlock.bypass (this will prevent you from being kicked if the server goes in lockdown mode.)
Commands:
Code (Text):
/sl - Starts a captcha in order to lock the server - requires serverlock.use
/sl reload - reload the configuration - requires serverlock.admin
/sl on - Lock server without captcha - requires serverlock.admin
/sl off - Unlock server - requires serverlock.admin
/sl ignore <playername> - Removes use of /sl from a player - requires serverlock.admin
/sl add <playername> - The player won't get kicked on server lock - requires serverlock.admin
/sl remove <playername> - Remove the bypass when the server is locked - requires serverlock.admin
/sl help - Shows this list of commands - requires serverlock.admin
Problems & bugs & suggestions: Start a new conversation, I will not reply in the rating section!!
TOS: 1. You are permitted to adjust code to your liking but I do not support any damage you may cause while doing so. 2. You are not permitted to sell, give or redistribute this skript as your own in any way. 3. You can't claim this skript as your own.