Список изменений
Protection System Update
This update optimizes the regional access logic and fixes member permission issues.
Changes
- Fixed Entry Flag Logic: Updated
canPlayerActinProtectionRegion.javato properly validate theEVERYONEflag before checking for member ranks[cite: 2]. - Improved Permission Hierarchy: Refactored
canPerformActioninProtectionRegion.javato use rank weights instead of manual boolean checks[cite: 2, 4].- This ensures that members and higher-ranking players (Admins, Owners) are correctly granted access when the
entryflag is set toMEMBERS[cite: 2, 4]. - This logic correctly respects the established rank hierarchy:
OWNER > SECONDARY_OWNER > ADMIN > MEMBER[cite: 4].
- This ensures that members and higher-ranking players (Admins, Owners) are correctly granted access when the
- Fixed Member Notification: Corrected the message notification logic in
ProtectionCommand.javato ensure players receive the correct feedback when they are added to a region[cite: 1].
Improvements
- The logic is now more scalable, allowing new ranks to be integrated easily by simply adjusting their weight in the
PlayerRankenum[cite: 4]. - Fixed the restriction issue where members were previously denied access despite the
entryflag being set toMEMBERS[cite: 2].
Файлы
AmplProtections-1.0.15.jar(1.62 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.15
Загрузчики
PaperPurpurSpigot
Версии игры
1.21–26.1.2
Загрузок
10
Дата публикации
17.06.2026

