Перейти к содержимому
Mineforgian

UltimateServerProtector

An incredibly lightweight plugin, that add an "admin-password" to your server.

Загрузки
6K
Подписчики
24
Обновлён
6 июня 2026 г.
Лицензия
Custom

Опубликован 15 сентября 2022 г.

Исходный код

• This is an incredibly lightweight plugin, that add an "admin-password" to your server.

• The main features should be considered the function of adding rights to check and creating a personal admin password for each player! All together, this creates an almost insurmountable barrier for the "hackers". Each admin login attempt can be recorded in logs in a separate file in the plugin folder. Each activation and deactivation of the plugin can also be logged. You can add a list of admin IP addresses and if someone wants to hack the admin's account, punishment will be applied to him.
It is also possible to add commands that the player can write even before entering the admin password, which is convenient if you use plugins like AuthMe.
It is worth saying that if a player is not recorded in the config, but has admin rights, then with the punish function enabled, you can punish a player who illegally obtained admin permissions as you like.

• Advantages over others "sequrity plugins"

  1. Plugin regularly checks players for admin's permissions. Not just for OP and not just on join.
  2. Large and fully customizable functionality that is not available in any other plugin
  3. Asynchrony and multithreading, which ensure high performance. Plugin does not load the server at all.

• Permissions
serverprotector.protect - if available, asks the player to enter the admin password. Inserted into the plugin so that you don't have to specify an extra permission in the config.
serverprotector.admin - allows you to use the /usp command and see notifications about successful/failed password entry attempts.

• Commands
/pas - you need to have admin rights or OP to enter it. (you can change this command in the config)
/usp reload - config reload command
/usp reboot - plugin restart command
Admin commands that can be included in the config:
/usp setpass (nickname) (pass) - add a player and his pass to the config
/usp addop (nickname) - add a player to the list of operators
/usp addip (ip) - add IP to adminipwhitelist
/ultimateserverprotector and /serverprotector - analogs of the /usp command

Ченджлог

37.0Релиз26.1, 26.1.1, 26.1.2 · 6 июня 2026 г.
  • Исправлена не очень корректная логика работы проверки при подключении на сервер. Теперь данные игроков будут загружаться только в том случае, если они действительно потребуются, что снижает общую нагрузку, создаваемую плагином при входе игрока. | Fixed not entirely correct logic of the connection check when joining the server. Player data will now only be loaded if it is actually needed, reducing the overall load created by the plugin when a player joins.
  • Исправлена неверная проверка на сброс сессии, теперь если время сессии включено - она будет корректно сбрасываться. | Fixed an incorrect session reset check; if session time is enabled, it will now reset correctly.
  • Исправлено неверное определение версии на 26.1, что исправляет работу на folia, а также разрешает проблему с функцией fake-plugin. | Fixed incorrect version detection on 26.1, which fixes operation on Folia and resolves the issue with the fake-plugin function.
36.5Релиз26.1, 26.1.1, 26.1.2 · 24 апреля 2026 г.
  • Улучшен код хеширования, добавлена поддержка SHA-512/224 и SHA-512/256. | The hashing code has been slightly improved, with support for SHA-512/224 and SHA-512/256 hashes now added.
  • Интервалы проверок сокращены в полтора раза. | Check intervals have been reduced by one and a half times.
  • Улучшена логика работы системы fake-plugin. | The logic of the fake-plugin system has been slightly improved.
  • Произведены прочие мелкие оптимизации и рефакторинг. | Various other minor optimizations and refactoring have been carried out.
36.4Релиз1.21.9, 1.21.10, 1.21.11 · 21 декабря 2025 г.
  • Функция fake-plugin снова работает для переодических задач плагина. | The fake-plugin function is working again for recurring plugin tasks.
  • Устранены мелкие недочёты для функции fake-plugin, которые могли вызывать ошибки. | Minor issues with the fake-plugin function that could cause errors have been fixed.
  • Оптимизирована система конфигурации, а также метод проверки разрешённых приложений. | The configuration system and the method for checking allowed applications have been optimized.
36.3Релиз1.21.8, 1.21.9, 1.21.10 · 25 ноября 2025 г.
  • Исправлен баг с двойным вызовом CaptureEvent в случае с регулярной проверкой. | Fixed a bug with double calling of CaptureEvent in case of regular checking.
  • Улучшена очистка данных при реконнекте и выходе игрока. | Improved data clearing when reconnecting and exiting a player.
  • Теперь на spigot команды тоже будут регистрироваться. | Commands will now also be registered on spigot.
  • Обновлены зависимости. | Update dependencies.
36.2Релиз1.21.8, 1.21.9, 1.21.10 · 29 октября 2025 г.
  • Функция fake-plugin теперь скорректирована для 1.20 | The fake-plugin function has now been adjusted for 1.20
  • Добавлена защита от идиотов. | Added anti-idiotic protection.
36.1Релиз1.21.8, 1.21.9, 1.21.10 · 23 октября 2025 г.
  • Хотфикс - исправлена работа функции фейкплагина | Hotfix - Fixed the fake plugin feature
36.0Релиз1.21.8, 1.21.9, 1.21.10 · 21 октября 2025 г.
  • Значительно повышена защита плагина. Введена новая функция, включённая по умолчанию (в случае Paper или форков) - use-fake-plugin. Принцип работы заключается в том, что плагин будет регистрировать таски и ивенты не на самого себя, а на фейковый плагин, который нельзя будет получить просто так извне. Это делает невозможным отключение функций плагина во время его работы, таким образом делая невозможным и любые попытки его обхода. | The plugin's security has been significantly improved. A new feature has been introduced, which is enabled by default (in the case of Paper or forks) - use-fake-plugin. The principle of operation is that the plugin will register tasks and events not on itself, but on a fake plugin that cannot be obtained from the outside. This makes it impossible to disable the plugin's functions while it is running, thus making it impossible to bypass it.
  • Добавлена команда /usp genpass <длинна> для быстрой и удобной генерации паролей прямо в игре. | Added the /usp genpass command for quick and convenient password generation right in the game.
  • Произведен ряд значительных оптимизаций касающихся работы плагина, а также некоторый рефакторинг. | A number of significant optimizations have been made to the plugin, as well as some refactoring.
35.1Релиз1.21.6, 1.21.7, 1.21.8 · 26 июля 2025 г.
  • СНОВА исправлена логика обработки эффектов. Теперь, после выхода с сервера в режиме поимки, старые эффекты, которые были ДО момента поимки, будут пере-выданы, что сохранит их. Ранее они удалялись целиком. | FIXED the effect handling logic AGAIN. Now, after leaving the server in capture mode, old effects that were applied BEFORE the capture will be re-applied, preserving them. Previously, they were completely removed.
  • Теперь при командах /usp setpass и /usp rempass не нужно делать /usp reload для применения новых паролей. | Now, with the /usp setpass and /usp rempass commands, you no longer need to use /usp reload to apply new passwords.
  • Добавлена возможность отключить наказания за переподключения. Для этого нужно указать -1 в max-rejoins. | Added the ability to disable rejoin penalties. To do this, set max-rejoins to -1.
  • В api добавлены методы проверки на excluded и полноценное апи для переподключений. Также добавлены комментарии под каждый метод. | API now includes methods for checking excluded status and a full-fledged rejoin API. Comments have also been added for each method.
  • Устранены потенциальные мизерные утечки памяти. (Если у вас не было минимум сотни админов с паролем и вы перезагружаете сервер хотя бы раз в неделю - вероятность того, что вы хотя бы немного заметили бы влияние этих утечек крайне мала). | Fixed potential minor memory leaks. (If you had fewer than a hundred admins with passwords and restarted the server at least once a week, the chance of you even slightly noticing the impact of these leaks was extremely low).
  • Произведены небольшие оптимизации коллекций. | Minor collection optimizations have been made.

Комментарии

Загружаем…