Tool Prioritization: The event was refactored so that staff tools (Vanish, Player List, Sanctions) have absolute priority. They now function correctly even while viewing a chest or container.
Memory Leak Prevention: An event was added so that when a staff member disconnects while viewing a chest or user, the activity is canceled, preventing the server from consuming unnecessary RAM with outdated data.
Silent Inspection Improvement: The logic for opening containers was separated so that it is only activated if the staff member does not have a special tool in hand, eliminating visual conflicts.
On-Screen Status: A system was implemented for staff members that displays a constant message above the inventory bar (Action Bar) while staff mode is active.
Real-Time Information: The message dynamically indicates whether Vanish is enabled or disabled, refreshing every second for greater accuracy.
EN
Code (YAML):
inventory-restored: "&eYour inventory has been restored." cannot-drop: "&cYou cannot drop items while in staff mode." cannot-place: "&cYou cannot place blocks while in staff mode." action-bar: "&4&lSTAFF MODE &8| &fVanish: {status}"#NEW status-enabled: "&aENABLED"#NEW status-disabled: "&cDISABLED"#NEW items:
punish:
name: "&c&lPunish &7(Right Click)"
ES
Code (YAML):
inventory-restored: "&eTu inventario ha sido restaurado." cannot-drop: "&cNo puedes tirar objetos en modo staff." cannot-place: "&cNo puedes poner bloques en modo staff." action-bar: "&4&lMODO STAFF &8| &fVanish: {status}"#NUEVO status-enabled: "&aACTIVADO"#NUEVO status-disabled: "&cDESACTIVADO"#NUEVO items:
punish:
name: "&c&lSancionar &7(Click Derecho)"