Update 2.4b — InvSee Rewrite, Cross-Server Stability, New /move Command & Warp/AFK Fixes
This update is a
major stability + moderation patch focused on:
- ✅ Local & cross-server InvSee
- ✅ Safer inventory persistence
- ✅ Better /warp, /tp, /tphere, /clear
- ✅ New /move command
- ✅ AFK system reliability
Highly recommended for all networks.
InvSee System — Full Rework
- New InvseeService that now centralizes:
- Local inventory viewing/editing
- Offline inventory loading (Mongo/YAML)
- Cross-server InvSee over RabbitMQ
- Session handling (viewer, target, last snapshot, GUI)
- Fixed empty GUI when opening /invsee <player> on the same server.
- Fixed offline inventories loading as empty or NULL.
- Fixed editing not applying locally → previous dupe source removed.
- ♻️ applySnapshotFromGui() now:
- Writes to the player’s live inventory
- Saves the snapshot to storage
- Forces an updateInventory() for instant visual sync
- Snapshot validation: prevents completely empty snapshots from overwriting player inventories.
- Armor + offhand slots now map correctly inside the GUI.
- Massive debug logging added for:
- Snapshot load/apply
- Cross-server packets
- Owner discovery & session creation
Cross-Server InvSee — Backend Fixes
- Fixed remote owner handling:
- Correct server detected
- Owner player found and bound to the session
- Target name preserved
- Fixed remote edit apply:
- Items decoded from packet
- Safely applied to the real inventory
- Snapshot persisted to storage
- Remote viewer now gets a refreshed snapshot so GUI is always in sync.
- Prevented NPEs when no owner server could be found.
NEW: /move Command (Cross-Server Aware)
A brand new, production-ready teleport utility for staff:
- /move <player>
→ Teleports you to <player>.
- /move <fromPlayer> <toPlayer>
→ Teleports fromPlayer → toPlayer.
Features:
- Works cross-server, using the same resolution logic as /tp.
- Uses PlayerDirectory for accurate online resolution.
- Fully supports tab-complete with network-wide players.
- ️ Same safety & routing guarantees as other OreoEssentials teleports.
Perfect for moderation and staff navigation.
/warp Improvements (Local & Cross-Server)
- ✨ Support for teleporting other players:
- /warp warzone Test0308
- Requires oreo.warp.others
- Console can now use /warp to teleport players as well.
- Fixed routing where players could end up in the wrong world (e.g., default world instead of Nether).
- Uses WarpDirectory + PlayerDirectory to resolve correct node/world in a network.
Teleport & Moderation Command Quality
- /tphere now has cross-server tab-completion.
- /clear tab-complete fixed: now suggests online players network-wide.
- /tp tab-complete cleaned so it doesn’t show obviously offline/invalid players.
- All player resolution routes through PlayerDirectory for consistent behavior.
AFK System — Fixed
- Fixed AFK prefix spam in tab (no more AFK AFK AFK...).
- ✅ AFK is now cleared correctly when:
- Moving
- Chatting
- Running commands
- Interacting
- AFK prefix is applied once and removed cleanly.
Core Stability & Safety
- Fixed missing InventoryService hook via Bukkit ServicesManager.
- Snapshot validation & null-safety added almost everywhere InvSee touches data.
- Cleaned async/sync separation for RabbitMQ inventory operations.
- Better error messages & logging when:
- Opening remote inventories
- Applying snapshots
- Routing cross-server actions