⏪ Rolling Back Player Inventories

⏪ Rolling Back Player Inventories #

Sometimes a player dies due to unexpected reasons outside their control, like heavy server lag or other server-caused issues. In these cases, we can roll their inventory back to a previous state.

**Use this tool carefully!** This is a very powerful tool. Please be mindful when using it and, obviously, **do not abuse it.**

ℹ️ Restoring a player’s inventory #

You can open the inventory rollback GUI via the Moderation GUI or by using this command:

/inventoryrollback restore <player>

Example:

/inventoryrollback restore snc4

This opens a GUI that lets you access snapshots of the player’s inventory captured at different events.

Snapshot types #

💀 Deaths

Shows all snapshots taken when the player died.

🚪 Joins

Shows all snapshots taken when the player joined the server.

🚶 Leaves

Shows all snapshots taken when the player left the server.

🌍 World Changes

Shows snapshots taken when the player changed dimension (Overworld → Nether → End, etc.).

💪 Forced Saves

Shows snapshots taken when someone force-saved the player's inventory.

Browsing snapshots #

Clicking any of these categories shows a list of snapshots with extra info:

  • The capture timestamp
  • Death reason (if applicable)
  • The dimension where the event happened
  • The coordinates where the event happened

Restore options #

When you select a snapshot, you’ll see the player’s inventory at that moment, and you’ll have several options at the bottom of the menu:

You can see all the items they had when they died, pull them out, and give them back to the player.
  • One-click Restore: Restore the player's inventory with a single click (currently disabled).
  • Restore Ender Chest: View the Ender Chest snapshot from the event time.
  • Restore Health: Restore the player's health from the event time.
  • Restore Food: Restore the player's saturation from the event time.
  • Restore Player XP: Restore the player's XP level from the event time.
  • Back: Return to the previous screen.
  • Teleport to where this entry was logged: Teleport to the location where the event happened.