如果本项目对您有帮助,请考虑在 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 卸载程序 以安全地还原容器。
❤️ 致谢
- 原始作者: sachingorkar102
- 贡献者: DerexXD、PrometheuzzZ、Lauriichan
- 图片版权: Enginee404
本项目开源,并根据 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 thelootin.autoreplenishpermission. - Vanilla Structural Integration: Directly interprets Minecraft's native loot table formats. Specific structures can be exempted via the
blacklist-structuresblocklist 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.bypasspermission. Lootin containers are also protected against TNT and Creeper detonations (toggled viaconfig.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-accessflag), 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 statsto 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
- Original Author: sachingorkar102
- Contributors: DerexXD, PrometheuzzZ, Lauriichan
- Photo Credits: Enginee404
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.
下载 Lootin Remastered
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootin Remastered
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootin Remastered
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootin Remastered
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootin Remastered
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootin Remastered
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootin Remastered
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootin Remastered
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootin Remastered
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootin Remastered
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
更新日志 - v14.0.2
- 修复了
LootTableFiller中种子检查反转的问题,其中reset-seed-on-fill: true会重复使用坐标种子,而不是在填充时重新随机生成战利品 (#37)。 - 防止创造模式玩家在放置于战利品容器旁时生成重复的箱子物品 (#31)。
- 修复了当后续玩家打开带有默认战利品的容器时,
LootinInventoryOpenEvent未能触发的问题 (#23)。 - 为双箱打开处理添加了空值安全检查,以防止监听器取消打开操作时出现
NullPointerException。
感谢 @Etienne-Z (#37) 和 @Tanerx (#23) 报告这些问题!
JustLootIt 无缝迁移
- 点击懒转换:在玩家首次交互时,将 JustLootIt 容器转换为 Lootin,服务器无延迟且无需停机。
- 多版本世界支持:为旧版布局和 Minecraft 26.1+ 维度文件夹(
dimensions/minecraft/...)添加了存储路径解析。 - 三级表恢复:通过容器的 PDC、实时服务器内存或直接只读
.jlti/.jliRAF 二进制解析来查找战利品表。 - 回滚安全:默认保留原始 JustLootIt PDC 标签(
keep-justlootit-keys: true)。 - 转换日志记录:每个转换后的容器会在控制台添加单行通知(
log-justlootit-conversions: true)。
保护与安全
- 漏斗提取阻止:添加
prevent-hopper-extraction: true,防止漏斗从实例化箱子和未开启的结构容器中抽取物品。 - 插件冲突防护:启动时自动检测
JustLootIt.jar,干净地禁用 Lootin 以防止竞态条件,并在管理员加入时发送红色警报。
命令与诊断
/lootin stats:新的管理员命令,显示活动的内存容器数量、磁盘持久化的容器数量、服务器平台以及集成状态。
另外,我发现这在技术上可以加载到 1.16 版本,但实际效果可能因人而异 (YMMV)
- 修复了日志刷屏的 bug
- 为空的箱子添加了警告日志,以便更好地调试其为空的原因
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧