HyBindItem
HyBindItem adds player UUID item binding to your Hytale server.
Once an item is bound, only the owner can keep/use it. If a non-owner obtains the item (pickup, chest transfers, trading, etc.), the plugin enforces ownership and prevents theft.
โ
Features
๐ Binding & Ownership
- Bind items to a player UUID (owner-only usage/possession).
- Anti-rebind protection: already bound items cannot be rebound by other players.
- Works through inventory + container transactions, not just ground pickup.
๐ก๏ธ Anti-Steal Enforcement
If a non-owner gets a bound item, it is immediately enforced:
- removed from their inventory (or reverted via rollback when possible)
- returned to the owner (pending-return system), or dropped near the non-owner depending on server flow
- protects against chest transfers, shift-click moves, hotbar swaps, and similar edge cases
๐ Reliable Return System (Full Inventory Safe)
If the ownerโs inventory is full when the item should return:
- the item is kept in a pending return queue
- the plugin will automatically retry returning it
- owner receives a notification:
- 1ร immediately:
Tried to return your bounded item, but your inventory is full.
- then every 5 seconds: 2ร notifications, up to 10 rounds
- once space exists โ item returns and notifications stop
๐ Notifications
- Owner can be notified when someone tries to take their bound item:
"{player} tried to take your {item}."
๐ Bind List
- /bindlist โ shows how many bound items you have and lists their names
- /bindlist <playername> โ admin listing for a specific player
๐ฌ Commands
/binditem โ Bind the item in your hand to your UUID (owner-only).
/bindinfo โ Shows who the held item is bound to.
/unbinditem โ Unbind the held item (owner only, optional admin override).
/bindlist โ List your bound items.
/bindlist <playername> โ List bound items for another player (admin).
๐ Permissions
hybinditem.command.binditem
hybinditem.command.bindinfo
hybinditem.command.unbinditem
hybinditem.unbind.override (optional admin override)
hybinditem.command.bindlist
hybinditem.command.bindlist.admin
โ๏ธ Data / Storage
- Persistent bind data is stored in:
mods/HyBindItem/bound_items.json5
- Pending returns are stored in:
mods/HyBindItem/pending_returns.json5
๐งฉ Notes
- Designed for survival / RPG / economy servers where ownership and theft prevention matters.
- Recommended: keep
debug: false unless youโre diagnosing an issue.