PacketBooks
一个简单插件,当书籍内容不再需要时清空其内容,以修复各种数据溢出漏洞。
安装
- 下载最新的插件文件。
- 将其放入服务器的
plugins 文件夹中。
- 重启服务器。
就这么简单!该插件应该开箱即用。
Discord 支持
如果您有任何问题、发现了任何问题,或者只是想和我聊天,欢迎加入 Paper Chan Hideout Discord 服务器!
您可以使用 #packet-books 频道来讨论此插件!(额外加分:那个服务器有非常棒的表情符号 ?)。
卸载
如果您想在不丢失书籍数据的情况下卸载插件,实际上您希望保留插件!为了使所有书籍恢复到“原版”状态,您需要将 plugins/PacketBooks/config.yml 中的模式设置为 UNDO 并让插件继续运行在服务器上。然后,该插件仅会进行少量逻辑处理,旨在完全恢复玩家遇到的所有书籍。
它背后做了什么?
此插件将任何书籍物品的内容保存到磁盘外部,然后移除物品上的实际数据。
这意味着在任何时候都不会向玩家发送大量数据。只有在书籍位于玩家的快捷栏中时,才会将书籍内容写回物品,从而允许仅在真正需要时编辑和查看书籍!
PacketBooks
A simple plugin which empties all books' contents when they are not needed to fix various data overflow exploits.
Installation
- Download the latest plugin file.
- Drop it into your server's
plugins folder.
- Restart the server.
That's it! The plugin should just work out-of-the-box.
Discord Support
If you have any questions, found any issues, or just want to chat with me, consider joining the Paper Chan Hideout Discord server!
You can use the #packet-books channel to talk about this plugin! (Bonus point: That server has great emojis ?).
Deinstallation
If you want to uninstall the plugin, without losing book data, you'd actually want to keep the plugin! In order for all books to be restored to their "Vanilla" state, you have to set the mode in plugins/PacketBooks/config.yml to UNDO and leave the plugin on the server. The plugin will then only do minor logic with the goal of completely restoring all books that players come across.
What does it do under the hood?
This plugin saves the contents of any book items externally to disk and then removes the actual data on the item.
This means that at no point in time, a lot of data is sent to players. The only time when the book contents
are written back to the item is when the book is located in the player's hotbar, allowing editing and viewing
of the books, only when really needed!
评论 0
登录后参与评分
还没有评论,来抢沙发吧