
Command Locker
This plugin helps you make your server commands secure, with a password of your choice!
Commands and Permissions
This plugin uses the base commands /commandlocker, or the alias /cl. You can get access to all commands with commandlocker.admin.
| Command | Permission | Usage |
| /cl lock [Command] [Password] | commandlocker.lock | Locks the command, with the said password |
| /cl unlock [Command] | commandlocker.unlock | Unlocks the command |
| /cl setpassword [Command] [Password] | commandlocker.setpassword | Updates the command password with the said password |
| /cl help | commandlocker.help | Shows the help for the plugin |
| /cl reload | commandlocker.reload | Reloads all the plugin files |
| /cl clearlog | commandlocker.clearlog | Clears the log file |
| /cl permlock [Command] | commandlocker.permlock | Permanently lock a command |
| commandlocker.bypass | Bypass the Command Locker (If BypassPermissions is enabled in Settings config) |
| commandlocker.alert | Gets an alert when a player enters a wrong password for any of the commands |
Setup
1) Download the plugin
2) Add it to the plugins folder
3) Reload/Start/Restart your server
4) Add locks to commands using /cl lock [Command] [Password]
5) Have a more secure server!
Configuration
Settings.yml
Note: Configurations are updated to the latest version (1.3). It might look different from previous versions.
//Allows you to set the same passwords for all commands
SamePasswords: false
//If you set "SamePasswords" to true, put the password here
DefaultPassword: '1234567'
//Allow players to bypass if they have permission (commandlocker.bypass)
BypassPermission: false
//Alert all players with permission commandlocker.alert that the player got the password wrong
AlertOnWrong: true
//Log detail into the config
Log: true
CommandLocker.yml
//Do not mess with this! in game commands will do it for you.
op:
Password: '12345'
Locked:
- op
PermLocked:
- '?'
Log.yml
//Do not mess with this! The plugin will automatically generate one for you (If you set log to true in the Settings config file)
Log:
- '[BlazingBroGamerz] got the right password. Command: help Password: 1234 Time: 22/20/2015,
06:20:28'
- '[BlazingBroGamerz] got the right password. Command: help Password: 1234 Time: 22/22/2015,
06:22:04'
Messages.yml
//Prefix for the plugin
Prefix: '&0[&3CommandLocker&0]&f '
//Message to be sent when a player tries to run a locked command
EnterPasswordMessage: '&4Please enter the password!'
//Message to be sent when the player gets the password wrong
WrongPasswordMessage: '&4That is the wrong password!'
//Message to be sent when the player gets the password right
RightPasswordMessage: '&aSuccessfully Unlocked!'
//Message to be sent if the command is permanently locked
PermLockedMessage: '&4Unavailable!'
Milestones
1 download
10 downloads
50 downloads
100 downloads
150 downloads
200 downloads
250 downloads
300 downloads
400 downloads
500 downloads
600 downloads
- Next: 700 downloads