
ModeratorMode
A customizable moderator mode that saves a player's inventory and state, offering a configurable hotbar with admin tools. It separates a moderator's personal gameplay from their staff duties.
Оцените первым
479
3
Список изменений
This is a recommended maintenance release that resolves a critical bug affecting inventory restoration and improves the overall stability of the mode-switching feature.
✅ Bug Fixes
- Inventory Restoration Failure: Fixed a major issue where players leaving moderator mode would need to toggle it twice to get their inventory, health, and status back correctly. This was caused by a server timing issue (race condition) that is now resolved. Player states are now restored reliably on the first try.
⚙️ Other Changes
- Version Bump: Updated the internal plugin version to
1.2.2in all relevant files (plugin.yml,pom.xml, and startup logs).
Technical Details
The inventory fix was implemented by delaying the restorePlayerState logic by a single server tick using the Bukkit scheduler. This ensures the GameMode change is fully processed by the server before the player's saved inventory is applied, preventing the race condition.
Файлы
ModeratorMode-1.2.2.jar(305.53 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.2
Загрузчики
Paper
Версии игры
1.20.4–1.21.8
Загрузок
13
Дата публикации
01.11.2025
