WatchFox
没人能比狐狸更狡猾
WatchFox 是一款极速且高效的日志记录插件,它使用自定义的自托管数据库,实现了迄今为止任何日志记录插件都无法企及的最快速度。只需将 jar 文件放入 plugins 文件夹,即可实现每秒数千次操作的高速日志记录。
链接:下载 | API 信息 | 更新日志 | 使用方法 | 记录内容 | 配置 | 权限节点 | 保存 | 工作原理 | 测试详情 | 报告错误 | 验证
WatchFox 的开发源于我对一款卓越日志记录插件的追求。由于当时可用的插件都不合我意,我便自己编写了这款插件。(当然,这也意味着文档也是我亲自编写的。如果觉得内容稍多,不用担心,默认设置已经非常完美,只是留出了调整的空间。)
一个重要的考量因素是,大多数日志记录插件都需要 MySQL 数据库。虽然许多主机商现在提供此类服务器,但根据我的经验,它们往往不可靠且资源过剩。许多甚至无法应付即使是 modest(适度规模)的服务器。此外,在自托管服务器上运行 MySQL 会给服务器和管理员带来巨大的开销。WatchFox 通过将数据库内置于插件中,并采用智能缓存和最小化 I/O 来避免所有这些问题。
还有其他不使用 MySQL 服务器的日志解决方案。然而,WatchFox 的性能远超它们。在一次自我进行的测试中(如果你不相信我,我鼓励你亲自测试),WatchFox 的速度快了数倍,并且存储数据所需的存储空间显著更少。
重要提示:
- WatchFox 使用 Java 1.7 编写,需要 Java 7 JRE / 运行时环境才能正常运行。
- 为了减少服务器延迟,WatchFox 将回滚操作限制为每秒 1000 个方块。如果你有充足的性能余量,可以在配置文件中更改此速率。参见 conf。
当然,与其他插件相比,WatchFox 也有其独特的优势和劣势。以下是一些值得注意的方面:
+无 NMS 代码 可自信地在任何 1.4.5R1.0+ 版本的服务器上运行 WatchFox。
+无需 MySQL 服务器
+最快的 Bukkit 日志记录器
+完整的搜索语法,不限于使用工具
+完全支持 WorldEdit 选择范围
+功能强大的 API,供其他插件调用
+支持箱柜物品栏回滚
+比替代方案更容易设置
+支持回滚预览
+能够将数据库与 Minecraft 世界保持同步(详见保存)
+独特的防覆盖技术(见下文)
+按住 Shift 键点击可将方块添加到你的搜索中!
+能够随心所欲地对搜索结果进行排序
+会话共享,便于轻松协作
+100% 活跃开发,长期支持
-如果服务器崩溃,可能存在数据丢失的风险
-必须为数据库分配额外的 RAM(如果你当前的 RAM 已经捉襟见肘,请不要使用!)
-数据必须通过游戏内浏览器查看
凭借独特的数据库,WatchFox 也拥有同样独特的防覆盖系统。基本上,在执行回滚时,只有当方块未被未参与搜索的一方更改时,特定事件才会被撤销。例如,你的标准插件会确保在回滚之前方块的状态与事件发生时一致(也就是说,如果一个方块被破坏,只有当该方块仍然是空气时才会回滚)。然而,WatchFox 具有检查事件后任何操作的独特能力。例如,如果一个恶意玩家在一个人的房子周围spam泥土方块,而受害者后来将其全部清除,然后有选择地放回泥土,那么受害者放置的泥土将不会被回滚。它被视为已取代。不再会出现执行回滚反而逆转受害者自身工作的情况!
如果你想亲自尝试目前最先进、最快的日志记录插件,只需点击这里的下载或在链接栏中点击下载,将其放入你的 plugins 文件夹并执行 /reload。它没有任何依赖项,尽管它支持使用 WorldEdit。
想让 WatchFox 更加出色?点击“报告错误”以报告你发现的任何错误或请求有用的新功能。即使是文档中的简单错误也会被系统地修复。
别忘了查看其他可用链接。
关于下载的一点说明。由于 WatchFox 的主站位于其他位置,Wiki 页面中的下载链接会将您引导至我个人网站,该网站同样托管了这些 JAR 文件。尽管我会同时维护 BukkitDev 和本人的网站上的下载内容,但只有在此处提供的文件才接受 BukkitDev 工作人员的质控审查。因此,建议您使用此处提供的下载链接。
链接:下载 | API 信息 | 更新日志 | 使用方法 | 记录内容 | 配置 | 权限节点 | 存档 | 工作原理 | 测试详情 | 报告错误 | 验证
WatchFox
No one can outfox a fox
WatchFox is an extremely fast and efficient logging plugin that uses its own custom, self-hosted database to achieve the fastest speeds of any logging plugin yet. Just drop the jar in the plugins folder and you'll be logging at multi-thousand actions per second.
Links: Downloads | API Info | Changelog | How to use | What it logs | Configuration | Permission nodes | Saving | How it works | Test details | Report a bug | Validation
WatchFox was developed in my quest for a superior logging plugin. Since none of the ones currently available appealed to me, I wrote my own. (Of course, this also means I wrote all the documentation myself. If it's a little thick, don't worry, the defaults are perfectly fine, there's just room for tweaking.)
A significant consideration was that most logging plugins required a MySQL database. While many hosts offer such a server now, in my experience, they were unreliable and over-provisioned. Many could not keep up with even a modest server. Additionally, running MySQL on a self-hosted server adds a large amount of overhead, both to the server and the admin. WatchFox avoids all of this by running the database internally to the plugin, with intelligent caching and minimal I/O.
There are also other logging solutions that don't use a MySQL server. However, WatchFox vastly outperforms them. In a self-conducted test (I encourage you to test for yourself if you don't believe me), WatchFox was many times faster, and uses significantly less storage space to store data.
Important tidbits:
- WatchFox is coded in Java 1.7 and requires a Java 7 JRE / runtime to function.
- WatchFox throttles rollbacks to 1000 blocks per second reduce server lag. If you have power to spare, you change this rate in the configuration. See conf.
Naturally, WatchFox has its own set of unique advantages and disadvantages over other plugins. Some notable ones follow:
+NO NMS CODE Confidently use WatchFox on any 1.4.5R1.0+ server.
+No need for a MySQL server
+Fastest Bukkit logger available
+Full search syntax, not restricted to using tools
+Full WorldEdit selection usage support
+Powerful API for other plugins
+Chest inventory rollbacks
+Easier to setup than alternatives
+Rollback preview support
+Ability to keep database in sync with Minecraft world (see saving for details)
+Unique anti-overwrite technology (see below)
+Shift-click to add blocks to your search!
+Ability to sort your search results at a whim
+Session sharing for easy collaboration
+100% active development, long term support
-Possibility of data loss if server crashes
-Additional RAM must be used for the database (not to be used if you're running out of RAM as-is now!)
-Data must be viewed with the in-game browser
In having a unique database, WatchFox also has a similarly unique anti-overwrite system. Basically, when performing a rollback, a particular event will only be undone if the block hasn't been changed by a non-searched party. For example, your standard plugin will check to make sure that block is as it was after the event before rolling back (that is, if a block was broken, it will only rollback if the block is still Air). However, WatchFox has the unique ability to check for any post-event action. For example, if a malicious player spams dirt blocks around someone's house, and the victim later clears it all away, only to then put dirt back selectively, the dirt that the victim placed will not be rolledback. It is considered superseded. No longer will performing a rollback reverse the victim's own work!
If you want to try the most advanced and fastest logging plugin available for yourself, just click Downloads here or in the links bar, drop it into your plugins folder and /reload. It has no dependencies, although it does support using WorldEdit.
Want to make WatchFox even more awesome? Report any bugs you find or request useful new features by clicking "Report a bug". Even simple things like errors in the documentation will be systematically fixed.
And don't forget to check out the other links available.
A note about downloads. As the main website for WatchFox is located elsewhere, download links on the wiki pages will direct you to my own website which hosts the jars as well. While I will maintain both the downloads here on BukkitDev and there, only the files here are subject to the quality control the BukkitDev staff impose. As such, you are encouraged to use the downloads provided here.
Links: Downloads | API Info | Changelog | How to use | What it logs | Configuration | Permission nodes | Saving | How it works | Test details | Report a bug | Validation
下载 WatchFox
下载 WatchFox
下载 WatchFox
下载 WatchFox
下载 WatchFox
下载 WatchFox
下载 WatchFox
下载 WatchFox
下载 WatchFox
下载 WatchFox
v2.2.0
新增对 1.5 版本方块及其物理属性的支持。
新增对 WorldEdit 日志的支持——"we_block_change"——作为插件 "worldedit" 的一部分——支持回滚——同时包括告示牌数据(以告示牌变更形式)和箱子数据(以容器交易形式)的日志记录。
新增对 Herochat 的支持——如果检测到 Herochat,则从 Herochat 数据中记录 player_chat(本质上是对 API 演示中 HeroFox 功能的集成)——注意:不会新增插件或事件,仍将以 player_chat 形式记录。
新增对实体容器交易的支持——现在可以回滚所有储物矿车/漏斗矿车的操作。
新增对物品传输的支持——"item_transfer"——现在可以回滚漏斗/发射器的物品传输,包括矿车中的传输。
新增对命令方块与头颅元数据的支持——现在可以回滚带有数据的头颅和命令方块。
新增对已死亡实体回滚的初步支持。
重构引擎以提高与修改方块行为的插件(如 AsyncBlockEvents)的兼容性(即不再假设方块转换,而是进行捕获)。
Stats 现在输出线程池状态;格式为:活跃线程数:最大线程数。
Stats 现在每秒查询次数输出(最近 5 秒平均值)。
修复:与部分后续 1.5.1 构建版本的兼容性问题。
修复:不再捆绑一些测试类。我的构建器曾使用旧配置……
无已知问题/漏洞。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧