Войти или зарегистрироваться
  • Вы находитесь в сообществе Rubukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на различные языки плагины наших коллег из других стран.

Плагин [ADMIN/SEC] UltimateServerProtector - плагин на уникальный админ-пароль для каждого игрока!

Обновление 6.5
> Добавлен список админских IP адресов. Заходишь под админом но с другого IP - получаешь наказание. По умолчанию он отключен.
> Добавил функцию отключения сервера при отключении плагина. По умолчанию отключено и лично мной не рекомендовано
> Добавил оповещение администраторам об отключении плагина.

Конфиг вновь требует обновления
А сделай так чтобы конфиг сам обновлялся при добавление новых функций, можно ли вопше сделать?
 
Хороший плагин, однако, мне по какой-то причине ничего не отвечает плагин при вводе верного админ-пароля с верного никнейма. Сервер запускал на локалке.
Расписываю:
- Вхожу в игру, меня просит ввести админ-пароль, после же его ввода мне продолжает писать в чат плагин с просьбой ввести его, при этом мне он не отвечает ни каким образом. То есть он даже не пишет мне что-то по типу "Неверный пароль". Молчит и продолжает писать в чат с просьбой.
Создатель плагина, прошу, если знаете в чём проблема - буду рад услышать решение.
 
Хороший плагин, однако, мне по какой-то причине ничего не отвечает плагин при вводе верного админ-пароля с верного никнейма. Сервер запускал на локалке.
Расписываю:
- Вхожу в игру, меня просит ввести админ-пароль, после же его ввода мне продолжает писать в чат плагин с просьбой ввести его, при этом мне он не отвечает ни каким образом. То есть он даже не пишет мне что-то по типу "Неверный пароль". Молчит и продолжает писать в чат с просьбой.
Создатель плагина, прошу, если знаете в чём проблема - буду рад услышать решение.
Скинь свой конфиг, может там конфликтующие настройки еще остались
 
Скинь свой конфиг, может там конфликтующие настройки еще остались
# =======================================
# UltimateServerProtector by Overwrite
# =======================================

# Plugin prefix
prefix: '&f&l[&c&lProtection&f&l] '

# Session settings
session-settings:
# Save player's IP
session: true
# Should player data be deleted after a while
session-time-enabled: false
# The time after which the data about the registered player will be deleted in seconds (the countdown starts from the player's exit)
session-time: 21600 #(6 hrs)

# Punishment settings
punish-settings:
# Should punishments be applied to players with admin-permissions who are not in the config
notadmin-punish: true
# Should punishment be applied to a player who did not have time to enter the admin password for the number of attempts allotted to him
enable-attemps: true
# Maximum number of attempts to enter the admin password
max-attempts: 3
# Should punishment be applied to a player who did not have time to enter the admin password for a certain time
enable-time: true
# The time for which the player will have to enter the admin password in seconds
time: 60

# Secure Settings
secure-settings:
# Should punishments be applied to operators that are not on the list
enable-op-whitelist: true
# Whether to enable IPWhitelist for admins (default - false)
enable-ip-whitelist: false
# Should plugin turn off the server if the plugin is disabled (default - false)
shutdown-on-disable: false

# Message settingd
message-settings:
# Delay between auto-messages and titles in seconds
delay: 1
# Enable titles?
send-titles: true
# Enable broadcasts for admins?
enable-broadcasts: true
# Enable broadcasts for console?
enable-console-broadcasts: true

# Log settings
logging-settings:
# Log successful/failed password entry attempts?
logging-pas: true
# Log admin joins?
logging-join: true
# Log plugin enable and disable?
logging-enable-disable: true

# Commands that will be applied to violators
commands:

# Commands that will be applied to those who have admin-permissions, but who are not in the config
not-in-config:
- 'kick %player% You are not admin!'
- 'deop %player%'

# Commands that will be applied to those who hava OP, but who are not in op-whitelist
not-in-opwhitelist:
- 'deop %player%'
#- 'ban %player% Вам нельзя иметь права оператора!'

# Commands that will be applied to those who logged in with admin-perms and are specified in the config, but have a non-admin IP
not-admin-ip:
- 'kick %player% Your IP is not in whitelist'
#- 'deop %player'

# Commands that will be applied to those who entered the pass incorrectly for the attempts allotted to him
failed-pass:
- 'ban %player% You entered the admin password incorrectly, your account is banned'
- 'deop %player%'

# Commands that will be applied to those who have not entered a pass in the allotted time
failed-time:
- 'ban %player% You did not have time to enter the admin password in the allotted time'
- 'deop %player%'

# Messages that will be displayed to people when entering a command
msg:
message: '&fAdmin permissiond detected! You should enter admin-password!'
incorrect: '&cWrong password!'
correct: '&aCorrect password. Have a nice day ;)'
noneed: '&fYou do not need to enter the admin password or it has already been entered.'
cantbenull: '&fPassword cannot be empty.'

# Admin broadcasts (%player% = player's nick / %ip% = player's IP)
broadcasts:
failed: '&fAdmin &3%player% &fentered the password &cwrongly! &fIP: &c%ip%'
passed: '&fAdmin &3%player% &fentered the password &acorrectly! &fIP: &c%ip%'
joined: '&fAdmin &3%player% &fjoined the game! &fIP: &c%ip%'
disabled: '&6&lWARNING! &fPlugin has been disabled!'

# Titles
titles:
title: '&e&l⚠ &c&lProtection &e&l⚠'
subtitle: '&fAdmin permissions detected! You should enter admin-password!'
# Permissions for which the player will need to enter the admin password (Add as many as you need)
permissions:
- '*'
- 'bukkit.*'
- 'minecraft.*'
- 'essentials.*'
- 'cmi.*'
- 'worldguard.*'
- 'worldedit.*'
- 'permissions.*'
- 'luckperms.*'
- 'holograms.*'
- 'protocol.admin'

# Commands that can be entered before entering the admin password
allowed:
- '/l'
- '/login'
- '/reg'
- '/register'
# Which players are allowed to have OP
op-whitelist:
- Overwrite
- test9999

# Which IP is admin-ip
ip-whitelist:
- '127.0.0.1'
- '0.0.0.0'
# Unique passwords for admins
data:
Overwrite: # player 1
pass: '123123' # player's 1 password
test9999: # player 2
pass: '321321' # player's 2 password

В принципе, я ничего даже не менял. Лишь выдал опку на ник test9999 чтобы проверить.
 
# =======================================
# UltimateServerProtector by Overwrite
# =======================================

# Plugin prefix
prefix: '&f&l[&c&lProtection&f&l] '

# Session settings
session-settings:
# Save player's IP
session: true
# Should player data be deleted after a while
session-time-enabled: false
# The time after which the data about the registered player will be deleted in seconds (the countdown starts from the player's exit)
session-time: 21600 #(6 hrs)

# Punishment settings
punish-settings:
# Should punishments be applied to players with admin-permissions who are not in the config
notadmin-punish: true
# Should punishment be applied to a player who did not have time to enter the admin password for the number of attempts allotted to him
enable-attemps: true
# Maximum number of attempts to enter the admin password
max-attempts: 3
# Should punishment be applied to a player who did not have time to enter the admin password for a certain time
enable-time: true
# The time for which the player will have to enter the admin password in seconds
time: 60

# Secure Settings
secure-settings:
# Should punishments be applied to operators that are not on the list
enable-op-whitelist: true
# Whether to enable IPWhitelist for admins (default - false)
enable-ip-whitelist: false
# Should plugin turn off the server if the plugin is disabled (default - false)
shutdown-on-disable: false

# Message settingd
message-settings:
# Delay between auto-messages and titles in seconds
delay: 1
# Enable titles?
send-titles: true
# Enable broadcasts for admins?
enable-broadcasts: true
# Enable broadcasts for console?
enable-console-broadcasts: true

# Log settings
logging-settings:
# Log successful/failed password entry attempts?
logging-pas: true
# Log admin joins?
logging-join: true
# Log plugin enable and disable?
logging-enable-disable: true

# Commands that will be applied to violators
commands:

# Commands that will be applied to those who have admin-permissions, but who are not in the config
not-in-config:
- 'kick %player% You are not admin!'
- 'deop %player%'

# Commands that will be applied to those who hava OP, but who are not in op-whitelist
not-in-opwhitelist:
- 'deop %player%'
#- 'ban %player% Вам нельзя иметь права оператора!'

# Commands that will be applied to those who logged in with admin-perms and are specified in the config, but have a non-admin IP
not-admin-ip:
- 'kick %player% Your IP is not in whitelist'
#- 'deop %player'

# Commands that will be applied to those who entered the pass incorrectly for the attempts allotted to him
failed-pass:
- 'ban %player% You entered the admin password incorrectly, your account is banned'
- 'deop %player%'

# Commands that will be applied to those who have not entered a pass in the allotted time
failed-time:
- 'ban %player% You did not have time to enter the admin password in the allotted time'
- 'deop %player%'

# Messages that will be displayed to people when entering a command
msg:
message: '&fAdmin permissiond detected! You should enter admin-password!'
incorrect: '&cWrong password!'
correct: '&aCorrect password. Have a nice day ;)'
noneed: '&fYou do not need to enter the admin password or it has already been entered.'
cantbenull: '&fPassword cannot be empty.'

# Admin broadcasts (%player% = player's nick / %ip% = player's IP)
broadcasts:
failed: '&fAdmin &3%player% &fentered the password &cwrongly! &fIP: &c%ip%'
passed: '&fAdmin &3%player% &fentered the password &acorrectly! &fIP: &c%ip%'
joined: '&fAdmin &3%player% &fjoined the game! &fIP: &c%ip%'
disabled: '&6&lWARNING! &fPlugin has been disabled!'

# Titles
titles:
title: '&e&l⚠ &c&lProtection &e&l⚠'
subtitle: '&fAdmin permissions detected! You should enter admin-password!'
# Permissions for which the player will need to enter the admin password (Add as many as you need)
permissions:
- '*'
- 'bukkit.*'
- 'minecraft.*'
- 'essentials.*'
- 'cmi.*'
- 'worldguard.*'
- 'worldedit.*'
- 'permissions.*'
- 'luckperms.*'
- 'holograms.*'
- 'protocol.admin'

# Commands that can be entered before entering the admin password
allowed:
- '/l'
- '/login'
- '/reg'
- '/register'
# Which players are allowed to have OP
op-whitelist:
- Overwrite
- test9999

# Which IP is admin-ip
ip-whitelist:
- '127.0.0.1'
- '0.0.0.0'
# Unique passwords for admins
data:
Overwrite: # player 1
pass: '123123' # player's 1 password
test9999: # player 2
pass: '321321' # player's 2 password

В принципе, я ничего даже не менял. Лишь выдал опку на ник test9999 чтобы проверить.
Чееееерт... похоже в английской версии плагина ошибка...
Скачай ру версию с яднекс диска, а я исправлю ошибку в en версии.
Я весьма плохо тестировал английскую версию плагина, так что возникла такая беда
 
Обновление 6.5.5
> Добавил функцию авто-обновления конфига
> будет справлена английская версия плагина
 
Последнее редактирование:
Чееееерт... похоже в английской версии плагина ошибка...
Скачай ру версию с яднекс диска, а я исправлю ошибку в en версии
Оки, спасибо! Работает, но кстати ещё когда конфиг создаёшь в op-whitelist test9999, а в data test99999, тобишь на одну 9 больше в дате в нике, не очень объяснил, но я думаю вы поняли.upload_2021-12-2_16-48-37.png
 
Оки, спасибо! Работает, но кстати ещё когда конфиг создаёшь в op-whitelist test9999, а в data test99999, тобишь на одну 9 больше в дате в нике, не очень объяснил, но я думаю вы поняли.Посмотреть вложение 61077
Заменю
Чем вызвана ошибка в английской версии я откровенно не понимаю... Быть может InJarTranslator так сильно его ломает
Придется отдельно компилировать англ.версию
 
Английская версия плагина исправлена.
Если найдете еще какой-либо баг - пишите
 
Последнее редактирование:
У вас разные версии для разных языков? Однако...
То есть, если понадобится, к примеру, украинская версия, будете собирать ещё один вариант?
Почему бы не прикрутить локализацию, как это делают нормальные люди? Считаю, что это наиболее правильный подход.
 
Почему бы не прикрутить локализацию, как это делают нормальные люди? Считаю, что это наиболее правильный подход.
Проблема в том, что в конфиге есть пояснения и их уже так не перевести. Так бы я настройки сообщений все в messages.yml какой-нибудь закинул, но вот с пояснениями так не выйдет
 
Плагин топ но, плагин иногда багается и не вводится пароль и пишет видите админ пароль
 
А значит причина в конфиге да?
Именно.

Я там спустя время столько начудил, что финальную версию уже хочется выпустить где всё будет учтено

Спойлер на апдейт - больше команд
 
Именно.

Я там спустя время столько начудил, что финальную версию уже хочется выпустить где всё будет учтено

Спойлер на апдейт - больше команд
Ооо, Это круто будем ждать обнову.
 
Выложена бета версия 6.6
> Добавлена команда /usp reboot - перезапускает плагин, сбрасывая все данные о введенных паролях
> Добавлены админские команды (отключены по умолчанию!!!)
/usp setpass - добавить игрока в конфиг
/usp addop - добавить игрока в список операторов
/usp addip - добавить IP в список админ-айпи

Обновите конфиг. Отписывайте по багам и недочетам.
 
Последнее редактирование:

Поделиться этой страницей

Назад
Верх