Compatibility
Minecraft: Java Edition
Platforms
Links
Tags
Creators
Details
LootrPlugin
LootrPlugin gives each player a separate loot inventory for supported vanilla loot-table containers. Players can explore the same structure and receive their own loot without racing to be first.
Highlights
- Instanced loot per player, with saved inventory contents.
- Automatic conversion when a supported container with a vanilla loot table is first opened.
- Supports chest-style block containers (including chests, trapped chests and barrels) and storage minecarts when the server exposes them as lootable containers.
- Protection against breaking, hoppers, explosions and pistons, with configurable shop exclusions.
- Optional particles for containers a nearby player has not looted.
- QuickShop metadata/name/API checks to avoid converting shop containers.
- Optional per-player timed refresh. When enabled, a player's loot is regenerated the next time they open that container after the configured interval.
- Admin commands:
/lootr help,reload,info,stats,clear,resetandlist.
Compatibility
This branch targets Paper 26.3 using paper-api:26.3.build.258-stable and Java 25. The plugin descriptor declares api-version: '26.3'; servers older than that will reject the plugin. Compatibility with forks such as Purpur should be checked on the exact server build before production use.
Build
Install JDK 25 and Maven, then run:
mvn --batch-mode clean verify
The output JAR is target/LootrPlugin-1.3.0.jar. The Paper API is a provided dependency and is not bundled into the plugin.
Installation
- Back up your server and existing
plugins/LootrPlugindata. - Copy
LootrPlugin-1.3.0.jarinto the server'spluginsdirectory. - Start the server on Paper 26.3 or newer, then check the console for startup errors.
- Edit
plugins/LootrPlugin/config.ymlas needed and run/lootr reload.
Timed loot refresh
In config.yml:
loot:
refresh-hours: 24
A value of 24 lets each player regenerate their own loot 24 hours after their previous loot generation. Refresh is lazy: expired loot is regenerated on that player's next interaction with the container. Set it to 0 (the default) to disable automatic refresh. Existing player-data files without a generatedAt field remain readable; their refresh timer starts when the updated plugin first loads them.
Admin commands
/lootr info— inspect the container you are looking at./lootr stats— show plugin and storage counts./lootr reset— reset the container you are looking at for every player./lootr clear <player|all>— clear stored player loot./lootr list [page]— list registered containers./lootr reload— reload the configuration.
Always test plugin upgrades on a copy of your world and plugin data first.


