描述
InvMaster 是一个 Bukkit 插件,允许服务器管理员查看并编辑其他玩家的物品栏,无论该玩家是在线还是离线。借助 Graham Edgecombe 在 JNBT(Java NBT 库)上完成的工作,InvMaster 具备在玩家离线时查看和编辑其物品栏的能力。它通过打开并读取玩家唯一的 .dat 文件,仅提取 “Inventory”(物品栏)和 “EnderItems”(末影箱物品)内容,并将其转换为 Bukkit 物品栏来实现这一功能。
管理员不仅可以查看离线玩家的物品栏,还可以对其进行操作!没错,你可以替换他们的盔甲、没收被盗物品以及发放奖励!这是每位管理严谨服务器的管理员都需要的工具之一。
最新更新 (v1.1.1)
- 已适配 CraftBukkit 1.7.2-R0.3。
- 修复了一些小错误并进行了几项改进
功能
- 查看并编辑在线和离线玩家的物品栏。
- 查看并编辑在线和离线玩家的末影箱。
- 查看并编辑在线和离线玩家的盔甲槽位内容。
- 支持 Shift+点击控制盔甲槽位。
- 仅允许在对应槽位中放置有效的盔甲。
计划中的功能
- 查看并编辑在线和离线玩家的药水效果。
- 编辑手中物品的工具、武器和盔甲附魔。
- 开发者 API。
- 与 Bukkit 权限系统兼容。
免责声明
InvMaster 仍在开发中,旨在成为一个专注于单一简单任务的简易插件。它严重依赖 bukkit、craftbukkit 和 Minecraft 服务器。这意味着每次 Minecraft/Bukkit 更新 极有可能 导致此插件失效。该插件会对玩家数据文件执行操作,如果出现意外情况,可能会引发问题。我已采取措施确保玩家文件不会损坏,并且经过广泛测试,大多数甚至全部错误都已解决。话虽如此,请自行承担使用风险。如果遇到任何问题,请将日志中的错误数据发送给我,如需联系我,请在 Twitter 上联系。感谢您的支持,希望此插件能完美为您服务。
免责声明
安装本插件后,您作为服务器管理员需对玩家物品栏的变化承担责任。
如果您希望使用源代码,请联系我。
当然,我所编写的所有代码都可以从 JNBT 库中重构出来。
链接
GitHub
Twitter
JNBT: The Java NBT Library
Description
InvMaster is a Bukkit Plugin that allows server ops to view and edit other players' inventories, whether the other player is online or offline. Piggie-backing off the work done by Graham Edgecombe on JNBT: The Java NBT Library, InvMaster has the capability to view and edit other players' inventories when they're offline. It accomplishes this by opening and reading the players' unique .dat file, extracting only the "Inventory" and "EnderItems" contents, and converting them into Bukkit inventories.
Not only can admins view offline players' inventories, they can also manipulate them! That's right, you can replace their armor, confiscate stolen items, and distribute rewards! It's one of those things that every admin running a tight ship needs.
Latest Update (v1.1.1)
- Updated for CraftBukkit 1.7.2-R0.3.
- Fixed a few minor bugs and made a couple improvements
Features
- View and edit player inventories, online and offline.
- View and edit player enderchests, online and offline.
- View and edit player armor contents, online and offline.
- Shift-click controls for armor contents.
- Only allows valid armor in the appropriate slots.
Prospective Features
- View and edit player potion effects, online and offline.
- Edit tool, weapon, and armor enchantments for in-hand items.
- Developer API.
- Compatibility with Bukkit permissions.
Disclaimer
InvMaster is still in development, and is meant to be a simple plugin specializing in one, simple task. It is heavily bukkit-, craftbukkit-, and minecraft-server-dependent. That means that every Minecraft/Bukkit update is very likely to break this plugin. This plugin performs operations on player data files that, if complications were to arise, could cause problems. I have taken measures to ensure that player files do not get corrupted, and most if not all errors have been worked out through extensive testing. That being said, use at your own risk. If you encounter a problem, please send me the error data from your logs, and please contact me on Twitter if you need to get a hold of me. Thank you for your support, and I hope this plugin works perfectly for you.
Disclaimer
By installing this plugin, you, the server administrator, take responsibility for your players' inventories.
Please contact me if you wish to use the source code.
Of course, everything I've written can by reconstructed from the JNBT Library.
Links
GitHub
Twitter
JNBT: The Java NBT Library
评论 0
登录后参与评分
还没有评论,来抢沙发吧