promotional bannermobile promotional banner

Dragontale Inventories

Inventory management system for separating predefined worlds

Dragontale Inventories

Give worlds their own inventory. Players keep their adventure gear in the adventure worlds and start fresh in Skyblock, minigames or event worlds, with no item smuggling between them.

Features

  • Separate inventories per world. Every world on the list gets its own inventory. All other worlds share one common inventory.
  • Everything is switched. Main inventory, hotbar, armor, utility slots, tools and the full backpack.
  • A clean start. The first time a player enters a separated world, their inventory is empty. Nothing gets copied in.
  • Safe on logout and crashes. Inventories are only swapped when a player actually moves between worlds with different inventories. Logging out, a server crash or a restart never empties anyone's inventory.
  • Correct after login. If a player logs out in one world and spawns in another, they get the right inventory as soon as the server has loaded it.
  • Backups. Before risky overwrites, the plugin stores a copy in a backup folder.
  • Readable log. Every inventory switch is written to a log file, so you can trace what happened if a player reports missing items.

Setup

  1. Put the jar into your server's mods/ folder and start the server once.
  2. Open mods/Dragontale_dInventories/DragontaleInventories.json and list the worlds that should have their own inventory:
{
  "SeparatedInventoryWorlds": ["Skyblock", "Arena"]
}
  1. Run /invworldsreload or restart the server.

World names must match exactly, including upper and lower case. Worlds that are not listed share one inventory.

How switching works

When a player enters a world whose inventory differs from the one they're carrying, the plugin:

  1. saves the current inventory,
  2. empties every slot,
  3. loads the saved inventory for the new world, or leaves it empty on the first visit.

Moving between two worlds that share an inventory does nothing at all.

Commands

Command Description
/invworldsreload Reloads the world list from the config

Files

All data lives in mods/Dragontale_dInventories/:

  • DragontaleInventories.json: the config
  • inventories/: saved inventories, one file per player and world
  • inventories/backup/: automatic safety copies
  • dragontaleinventories.log: log of every inventory switch

Plugin support

This plugin is developed and updated for the Dragontale Hytale server, for support please reach out to the developers of that server in-game or on Discord.


Made by RZ302 for Dragontale.

Dragontale Inventories Team

profile avatar
Owner
  • 2
    Followers
  • 4
    Projects
  • 34
    Downloads

More from iRZ