Password protection of commands: /op, /deop <player> <password>
Password protection of operators: enter the password in the chat
Hiding unauthorized operators
Sounds when entering password
Session
Code (YAML):
Sessions:
session: true
# if false, then you need to login every time you log in to the server time: 86400
#if -1 - disable (the time after which you need to re-log in) Attempts:
maximum: 3
# if -1 - disable (number of attempts) time: 60
# if -1 - disable (the time during which you need to log in) message-time: 60
# if -1 - disable | Specify in seconds (A message about the need to enter a password is sent in the specified number of seconds) Op:
password: yourpassword
kickwhendeop: true
invisible: true
# if the operator is not authorized, it will be hidden from the players Messages:
lang: RU
# EN, RU (SOON) Sounds: # ALL SOUNDS: https://www.spigotmc.org/wiki/cc-sounds-list/ # If NONE = Disable CorrectPassword: ENTITY_PLAYER_LEVELUP
InvalidPassword: NONE SessionEnded: NONE
Code (YAML):
Actions:
UserAddMessage: '&aOperator
%player% successfully added' UserRemoveMessage: '&cOperator
%player% successfully removed' SendsPasswordInChat: '&cYou can''t send your Admin-Password to the chat'
Auth:
UserForceAuth:
WhoAuthed: '&bOperator
%player% successfully authorized' ForAuthed: '&bAuthorized you
%player%' CorrectPassword: '&aYou have successfully logged in!'
InvalidPassword:
with-attempts: '&cInvalid password, attempts left
: %attempts%' no-attempts: '&cInvalid password'
Notify:
EnterPassword: '&cEnter the password in the chat'
OfflinePlayer: '&cThe operator is offline'
NonInConfig: '&cYour account is an operator, but not protected'
SessionTimeOut: '&cYour session has come to an end, log in again'
ActionBar:
TimeLeft: You have
%seconds% seconds left before entering your password Permissions:
NoPermissions: '&cYou don''t have the rights to execute this command'
Op:
setOp: '&aPlayer
%player% has been successfully added to the list of operators' deOp: '&cPlayer
%player% has been successfully removed from the list of operators' Kick:
AttemptsEnded: '&cYou have exhausted the stock of password entry attempts'
AttemptsTimeOut: '&cTime out'
deOp: '&cYou are now not operator'
UserRemoveMessage: '&cYou are now not operator'
Console:
Enable: true
JoinedOperator: '&eOperator &9
%player% &ejoined the server' DisconnectedOperator: '&eOperator &9
%player% &edisconnected from the server' KickedOperator: '&eOperator &9
%player% &ekicked from the server' NeedAuthorization: '&bOperator &9
%player% &bneeds authorization' SessionEnded: '&3The &9
%player% &3operator has ended the session' EnteredCorrectPassword: '&aOperator &9
%player% &ahas successfully logged in' EnteredInvalidPassword: '&cOperator &9
%player% ¢ered an incorrect password'
Code (YAML):
# Set password: NONE if you want to allow the player to log in without a password users:
kainlight:
password: qq
Operator:
password: mypassword
Add operator to config: /safeadmins add <player> <password>
Remove operator from config: /safeadmins remove <player>