如果本项目对您有帮助,请考虑在 GitHub 上留下星标!
Lootin Remastered

此插件最初由 sachingorkar102 为 1.16.5 版本创建,并已允许发布,前提是源代码保持公开。本项目是原始 Lootin 插件的复兴分支(revival fork),作为对原作的延续进行维护,旨在为新 API 提供现代版本支持,并根据 原始项目的许可证 分发。
描述
面向每个玩家的战利品,非常适合生存服务器!Lootin Remastered 是一款 Spigot/Paper 插件,确保服务器上的每位玩家都能获得独特的容器战利品,类似于 Lootr 和 JustLootit。
当玩家打开自然生成的箱子、 barrel 或矿车时,他们将获得属于自己的个人战利品掉落,防止结构被第一个探索者清空。
功能
- 独立玩家战利品: 每个自然生成的箱子、barrel 或存储矿车都会为每位玩家生成独立的内容,因此 SMP 服务器将永远不再面临地牢已被掠夺的问题
- 保留原版手感: 玩家打开和关闭箱子时的声音与动画与原版 Minecraft 完全一致
- 自动化战利品补充: 支持按世界配置的战利品补充例程(通过
worlds.yml 管理)。启用后,容器会在指定的冷却窗口后自动补充战利品池。需要 lootin.autoreplenish 权限。
- 原版结构集成: 直接解析 Minecraft 的原生战利品表格式。可以通过插件配置文件中的
blacklist-structures 黑名单数组排除特定结构。
- 反破坏与爆炸保护: 特殊战利品容器受到保护,防止意外破坏或结构损坏。常规提取要求玩家在破坏方块时潜行。完全破坏方块绕过需要
lootin.breakchest.bypass 权限。Lootin 容器也受到 TNT 和苦力怕爆炸的保护(通过 config.yml 切换)。
- 侦测块交互: 与 Lootin 容器交互会触发匹配原版机制的典型空间震动。
- 独立玩家鞘翅: 末地城飞船内的鞘翅框架为每位玩家唯一生成。具有与 Elytra Vaults 插件 的附加兼容性,让该插件处理鞘翅逻辑。注意 - 由于 NMS 支持逐渐被淘汰,新版本中独立玩家鞘翅存在 bug
- 第三方生态系统挂钩: 内置兼容 WorldGuard(使用
lootin-container-access 标志)、PlaceholderAPI 以及自定义世界生成器,包括 Terra、OhTheDungeonsYou'llGo、BetterStructures 和 TerraFormGenerator。
** 请注意,已放弃对 CustomStructures 的支持
- 支持自定义数据包战利品表,例如 Structory Towers、Nullscape、Incendium、Terralith 等等!
- 高并发存储: 容器仅在打开时加载到 RAM 中,并在关闭时自动从内存中清除。无论您是拥有 10 名还是 10,000 名玩家,空闲容器消耗 0 MB RAM 且零世界保存延迟。
- 友好的 JustLootIt 互操作性: 零锁定!内置无损惰性迁移可在首次打开时转换 JustLootIt 容器,而 JustLootIt 也提供工具将 Lootin 容器转换为他们的格式。无缝切换任一插件。
- 漏斗与提取保护: 防止漏斗和自动化提取器从未开启和实例化容器中抽取战利品(
prevent-hopper-extraction: true)。
- 实时诊断: 运行
/lootin stats 以查看内存缓存大小、磁盘持久化容器、服务器平台和活动挂钩。
即将推出的功能
- 活塞移动和收缩对战利品容器的保护。
- 容器破坏时自动清理磁盘存储。
- 甚至可能移植为 Fabric / Forge / Neoforge 模组
设计选择
本插件不监听世界生成时的战利品箱和容器生成事件,而是监听玩家首次打开战利品箱的事件,从而将其转换为插件管理的战利品表,且用户毫无察觉!此实现允许地图制作者修改现有区块中的新战利品表箱子,并支持通过命令、结构方块或 WorldEdit 将新结构粘贴到现有区块中。
为什么制作这个?
截至 2025 年底,原始开发者宣布无法再为 1.21.7 之后的更高 Minecraft 版本更新插件,并发布了一个 Lootin 卸载程序 以安全地还原容器。
❤️ 致谢
本项目开源,并根据 GNU 通用公共许可证 v3.0 (GPL-3.0) 许可。您可以根据相同许可证的条款自由修改和分发此软件。
If this project helped you, please consider leaving some stars on the Github!
Lootin Remastered

This plugin was originally created by sachingorkar102 for 1.16.5, who has permitted its posting provided that the source code remains available. This project is a revival fork of the original Lootin plugin, maintained as a continuation of the original work to provide modern version support for newer APIs, and is distributed under the original project's license.
Description
Per player loot, perfect for survival servers! Lootin Remastered is a Spigot/Paper plugin that ensures container loot is unique for every player on the server, similar to Lootr and JustLootit.
When a player opens a naturally generated chest, barrel, or minecart, they receive their own personal loot drop, preventing structures from being cleared out by the first explorer.
Features
- Per-Player Loot: Every naturally generated chest, barrel, or storage minecart generates independent contents per player, so no smp will ever have the problem of already-looted dungeons ever again
- Still Feels Vanilla: Players will open and close chests with the same sounds and animations, just like in vanilla Minecraft
- Automated Loot Refills: Supports configurable loot replenishment routines per world (managed via
worlds.yml). When enabled, containers automatically restock their loot pools after a designated cooldown window. Requires the lootin.autoreplenish permission.
- Vanilla Structural Integration: Directly interprets Minecraft's native loot table formats. Specific structures can be exempted via the
blacklist-structures blocklist array in the plugin configuration.
- Anti-Griefing & Explosion Safeguards: Special loot containers are protected against accidental breaking or structural damage. Regular extraction requires players to sneak while breaking the block. Complete block-breaking bypass requires the
lootin.breakchest.bypass permission. Lootin containers are also protected against TNT and Creeper detonations (toggled via config.yml).
- Sculk Sensor Interactions: Interacting with a Lootin container fires typical spatial vibrations matching vanilla mechanics.
- Per-Player Elytras: Elytra frames inside End City ships generate uniquely per player. Has added compatibility for the Elytra Vaults plugin, letting that handle elytras logic instead. NOTE - Per player elytras are buggy on newer versions due to NMS support being gradually phased out
- Third-Party Ecosystem Hooks: Features built-in compatibility for WorldGuard (using the
lootin-container-access flag), PlaceholderAPI, and custom world generators including Terra, OhTheDungeonsYou'llGo, BetterStructures, and TerraFormGenerator.
** Note that CustomStructures support has been dropped
- Custom datapack loot tables are supported, like Structory Towers, Nullscape, Incendium, Terralith and much more!
- High-Concurrency Storage: Containers only load into RAM while open and automatically purge from memory when closed. Whether you have 10 or 10,000 players, idle containers consume 0 MB of RAM with zero world-save lag.
- Friendly JustLootIt Interoperability: Zero lock-in! Built-in lossless lazy migration converts JustLootIt containers on first open, while JustLootIt offers a tool to convert Lootin containers to their format. Switch between either plugin seamlessly.
- Hopper & Extraction Protection: Prevents hoppers and automated extractors from siphoning loot out of unlooted and instanced containers (
prevent-hopper-extraction: true).
- Real-Time Diagnostics: Run
/lootin stats to view memory cache size, disk-persisted containers, server platform, and active hooks.
Upcoming Features
- Piston movement and retraction protection for loot containers.
- Automated disk storage cleanup on container break.
- Maybe even a mod port for Fabric / Forge / Neoforge
Design Choice
This plugin, instead of listening for loot chest and container generation on world gen, instead listens for when players open a loot chest for the first time, thus converting it into a plugin managed loot table with none the wiser! This implementation allows for mapmakers to modify existing chunks with new loot table chests, and supports new structures being pasted in existing chunks via commands, structure blocks, or WorldEdit.
Why was this made?
As of late 2025, the original developer announced they could no longer keep the plugin updated for newer Minecraft versions past 1.21.7, releasing a Lootin Uninstaller to safely revert containers.
❤️ Credits
This project is open-source and licensed under the GNU General Public License v3.0 (GPL-3.0). You are free to modify and distribute this software under the terms of the same license.
评论 0
登录后参与评分
还没有评论,来抢沙发吧