File Details
hyessentialsx-1.4.9.jar
- R
- Jun 6, 2026
- 25.37 MB
- 104
- Early Access
File Name
hyessentialsx-1.4.9.jar
Supported Versions
- Early Access
**Shop/adminshop NPC reliability:**
•Reworked shop NPC lifecycle around a shared ref-first system in ShopNpcEntityUtil.java.
•Shop NPC move/spawn now resolves existing NPCs by cached ref, UUID, and shop name before spawning replacements.
•Removed old behavior where failed move paths cleared NPC records and spawned new NPCs, causing duplicates.
•Admin shop move, player shop move, /adminshopnpc spawn, and /shopnpc spawn now all use the same lifecycle logic.
•NPC role changes in the shop admin UI now replace NPCs through the shared lifecycle system instead of delayed remove-then-spawn retries.
•Duplicate/stale NPC cleanup now uses direct store.removeEntity(ref, RemoveReason.REMOVE) removal.
•Cleanup no longer depends only on shop interaction components, so broken/delinked NPCs can still be matched by shop name/nameplate.
•Reduced shop NPC fix task frequency from every 2s to every 30s to avoid excessive cleanup churn.
**Player/admin shop command cleanup:**
•Removed duplicated NPC spawn/despawn logic from ShopCommand.java.
•Removed duplicated NPC spawn/despawn logic from PlayerShopCommand.java.
•Simplified /adminshopnpc and /shopnpc commands to delegate lifecycle handling to the shared utility.
•Player shop NPC creation still respects claim placement checks and creation cost before spawning.
**Stats/playtime consistency:**
•Stats command and stats UI now use PlaytimeManager for playtime display.
•Updated plugin command wiring so StatsCommand receives PlaytimeManager.
**Economy/scoreboard display:**
•Fixed economy HUD balance display to use raw/full amount formatting instead of compact formatting.
•Added scoreboard balance placeholders:
◦{balance_full}
◦{balance_amount}
◦{balance_compact}
•Updated scoreboard balance formatting so the main balance value is consistent with EconomyManager.

