Sueta

SAFEADMINS | 1.12.X - 1.19.X

1.2.0.2

OPERATORS PROTECTION

·Plugin

А может кому-то и нужно :)

РУССКИЙ:

  • Защита команд паролем: /op, /deop <ник> <пароль>
  • Защита операторов паролем: ввод пароля в чат
  • Скрытие неавторизованных операторов
  • Звуки при вводе пароля
  • Сессия

ENGLISH:

  • 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


    config.yml
    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

    messages.yml
    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% &centered an incorrect password'

    operators.yml
    # 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>
  • Force auth player: /safeadmins auth <player>
  • Reset authorizations: /safeadmins reset
  • Reload config's: /safeadmins reload
  • Reset config's: /safeadmins reconfig
    etc coming soon...
RU:
- Если игрок оператор, но не добавлен в список(конфиг), то его кикает.
- Если игрок оператор и добавлен в список, то ему потребуется ввести установленный ему пароль.

ENG:
- If a player is an operator, but is not added to the list (config), then he is kicked.
- If a player is an operator and is added to the list, then he will need to enter the password set for him.

Similar projects

Plugin →