Lootr Mod — Configuration
Commands
Lootr provides several commands for server administrators to manage loot and debug issues.
| Command | Description |
|---|---|
/lootr clear <player> |
Resets the 'opened' status for all chests for the specified player. |
/lootr undo <player> |
Undoes the very last chest opening for the specified player. |
/lootr custom |
Converts the vanilla chest the player is standing on into a Lootr Custom Inventory. |
/lootr id |
Displays the internal Lootr ID of the container the player is looking at. |
/lootr openers |
Lists all players who have opened the container the player is looking at. |
/lootr chest [loot_table] |
Spawns a Lootr chest at the player's location with the specified loot table. |
/lootr barrel [loot_table] |
Spawns a Lootr barrel at the player's location with the specified loot table. |
Configuration
Lootr is highly customizable through its configuration file. Key options include:
- disable_break: (Boolean) If true, players cannot break Lootr containers even while sneaking.
- refresh_min / refresh_max: (Integer) The minimum and maximum time (in ticks) before a chest refreshes its loot.
- decay_min / decay_max: (Integer) The time (in ticks) before a chest decays and disappears after being opened.
- loot_table_blacklist: (List) A list of loot tables that should never be converted into Lootr containers.
- dimension_whitelist / blacklist: (List) Specific dimensions where Lootr should or should not operate.
- report_unresolved_tables: (Boolean) A debug tool that notifies admins if a container fails to find its loot table.