[
+] Updated messages style in
messages.yml [
+] Added cmd /safeadmins reset - Clears authorization for everyone. Reset authorizations.
[
+] Added /safeadmins check <player> - View information about the operator
Code (YAML):
Info-Command: # Storage = PLAYERDATA or PLUGIN # if PLAYERDATA = the data will be written to the player's data located in the world folder # if PLUGIN = the data will be stored in the plugin and after restarting it, the information will be erased storage: "PLUGIN"
Code (YAML):
Info:
header: " "# Set '' to disable, or ' ' for indentation. You can also use any of your own text name: "&c&l» &fNickname: &e" authed: "&c&l» &fAuthed by: &e" lauth: "&c&l» &fLast auth: &e" ljoin: "&c&l» &fLast join: &e" lquit: "&c&l» &fLast quit: &e" footer: " "# Set '' to disable, or ' ' for indentation. You can also use any of your own text
[
!] You can only issue an operator to an online player
[
+] When entering the /op, /deop command, a password is required from the player. From the console is not required.
[
+] Attempts time in actionbar;
[
+] Showing multiple messages if the operator is not logged in;
[
+] Sound at the end of the session and output to the console;
[
!] Fixing some bugs...
In particular, after restarting the plugin, it gave errors in the console if the player is not authorized.
[
+] The time for which you need to log in
[
+] Added messages about entry, exit, kick, authorization to the console when the connect operator
[!] Fixed chat messages when disabling attempts
- Fixed session time value (-1 did not work)
- Fixed sounds during user authorization using the /safeadmins auth <player> command.
Now, if the sound is = NONE, then there will be no sound when entering the command
If the session timer is enabled (not -1), the player will have to log in again after the specified time after authorization.
Code (YAML):
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'
#
[!] Configs translated to English [+] /safeadmins reload - Reload configs
[+] If you send your password in the chat, it will warn you
[+] Added placeholders in UserAddMessage, UserRemoveMessage %player% in
messages.yml [*] Fixed hints in commands
# if comment == SOON >>> Temporarily not working. For future updates. (Just a prepared config) Sessions:
session: true
time: 86400
#if 0 - disable (SOON) Attempts:
maximum: 3
# if 0 - disable (SOON) time: 60
# if 0 - disable (SOON) Op:
password: NONE# NONE = disable password on /op, /deop Messages: # lang: RU
# EN, RU (SOON)
[+]
Code (YAML):
Actions:
UserAddMessage: '&aПользователь успешно добавлен'
UserRemoveMessage: '&cПользователь успешно удалён'
SendsPasswordInChat: '&cВы не можете отправить свой Админ-Пароль в чат'
Auth:
UserForceAuth:
WhoAuthed: '&bПользователь
%player% успешно авторизирован' ForAuthed: '&bВас авторизовал
%player%' CorrectPassword: '&aВы успешно вошли!'
InvalidPassword: '&cНеверный пароль'
Notify:
EnterPassword: '&cВведите пароль в чат'
OfflinePlayer: '&cИгрок не в сети'
Permissions:
NoPermissions: '&cУ вас нет прав для выполнения этой команды'
Op:
setOp: '&aПользователь
%player% успешно добавлен в список операторов' deOp: '&cПользователь
%player% успешно удалён из списка операторов'
[+]
Code (YAML):
users:
kainlight:
password: NONE
[+] Sessions for authorized users
[+] Placeholder inside the plugin for displaying messages
[+] New messages for /safeadmins auth (who auth and for auth)
[+] Sound after authorization