Why recoded from scratch? Actually I lost source code
So, simply coded from scratch.
Config
Code (YAML):
password: password
list: - gamemode
- give
isWhitelist: true
debug: true
debugMessage: '
%player% tried to use ''%command%''' reloadOnlyConsole: You can only reload from console!
reloadMessage: The plugin has reloaded.
passwordChanged: Warning! New password generated and config has been reloaded check the new one!
noConsole: This command cannot be used from console.
onlyConsole: This command can be only used from console.
alreadyEnabledAdminMode: Admin mode is already enabled
successfullyEnabledAdminMode: Admin mode is successfully enabled
unsuccessfulEnabledAdminMode: You don't have permission to use this command!
message: - ''
- ' Its the message that shown to player when can''t execute command'
- ''