SWatchdog 现已成为废弃软件,这有多酷?
版本:1.19
Tekkit 版本1.13Tekkit - 针对 Tekkit 进行了优化,不记录机器行为。
此插件将记录所有被破坏和放置的方块及其子类型、破坏/放置者以及发生此操作的时间和日期。此外还提供箱柜访问日志记录和动物屠宰日志记录的选项。 它还具备回滚上述操作、重新放置被破坏的方块、移除已放置的方块等功能。 它旨在保持轻量级,因为 bigbrother 虽然不错,但在我见过的任何使用它的服务器上都会造成卡顿。尽管还有其他方块日志记录插件,但它们大多有一些不符合我所在服务器(即我工作的地方)所有者喜好的方面。例如要求管理员设置 SQL 数据库、插件一直连接到外部数据库,或者插件已经严重过时。以及其他类似问题,因此我制作了 SWatchdog。力求简单高效。 我们已经使用/测试 SWatchdog 一段时间了,效果相当成功。完全没有卡顿。
如何联系我
如果您有任何问题,遇到 SWatchdog 的问题,或者想要提供反馈/提出建议,您可以:
在这里给我发私信。这是联系我最可靠的方式,因为我偶尔会检查这里的私信。(注意,是 BukkitDev 上的私信,而不是 Bukkit 上的对话。)
或者您可以在 -Server not public yet- ( - 或网站 ) 上尝试联系我,以获得最即时和清晰的交流。(前提是我就在线。^_^)
近期更改
- 完全控制您想要记录的内容。(虽然我怀疑没人只想记录腐烂的树叶,即使那样也是可能的。)
- 回滚指定玩家、方块,或由指定玩家在指定时间后于指定区域内放置的指定方块。是的,现在您可以尽可能具体地指定。
- 添加了自动日志清理作为可选功能
- 添加了一个强大的工具来检查文件完整性,可选择在服务器重启(及插件重载)时自动执行此操作并进行修复(自动)
- 输入命令参数错误时,现在会自动显示该命令的相关帮助信息。
- 添加了箱柜访问日志记录作为可选功能。默认值为 false,因此如果您需要,只需在配置中启用即可。
- 将箱柜访问日志记录结果添加到 /sniff look 和 /supersniff look 命令中
- 添加了 /wutil repairintegrity 命令,以便轻松确保一切正常。
- 添加了在游戏内更改配置的方法。太棒了!
- 添加了木棍。作为可选功能。您需要启用它并给自己相应的权限。
- 回滚操作现在能识别失败的 rollbacks(0 个方块),并建议可能出错的原因。(例如给出了过于具体的条件等。)
- 添加了动物屠宰日志记录
- 添加了回滚前的预览选项。
- 改进了 /WTrack
- 优化了单方块嗅探,速度比以往更快。
- 优化了 WXRay
- 新增 PlayerUndo /WUndoP 和 PlayerClean /WCleanP,以便轻松回滚特定玩家的操作。
- 重大优化,命令现以线程方式运行。
功能特性
- 所有内容均在线程中运行,以提高稳定性
- 支持预览回滚操作。
- 支持对单个玩家进行区域回滚
- 在地图上记录被破坏和放置的方块
- 在地图上记录爆炸、燃烧和自然腐朽的方块
- 记录水和岩浆
- 记录玩家访问箱柜的行为
- 记录末影人破坏方块、方块自然形成与扩散、树木生长等行为
- 提供针对不同事件类型的日志记录配置选项。记录您想记录的!
- 力求尽可能轻量且不造成卡顿
- 拥有强大的索引系统,因此无论您在回滚时记录了 200,000 还是 20,000,000 个方块,都不会影响性能。
- 允许您在拥有适当安全权限的情况下,回滚特定玩家的所有操作。
- 具备自动和手动日志清理功能,两者均为可选。
- 允许在指定区域内回滚已放置/被破坏的方块
- 允许回滚由指定玩家在指定区域内放置/破坏的指定方块类型。
- 允许同时检查单个或多个方块
- 允许追踪特定玩家的活动
- 允许按方块类型检查条目
- 允许评估其在您服务器上的运行情况,这也可能反映出由其他插件引起的卡顿
- 允许检查某人在 Y 坐标 30 以下开采的珍贵矿物的百分比
- 允许检查被屠宰的动物。
- 记录您的所有世界,命令相对于您当前所在的世界生效。
- 故障保护机制。如果 SWatchdog 在运行时遇到错误,它将尝试修复大多数错误。如果错误严重且无法修复,它将禁用自身。(如果您发现它无法理解的错误,请告诉我。我会将其加入列表)
- 提供自动日志完整性检查选项,以及进一步的自动日志修复选项,因此即使您不小心破坏了数据库,也不成问题。
启用法杖
- 在游戏中执行 /whelp 10,然后按照说明操作。是的,您可以从游戏内完成所有操作。
计划中的功能
- 某种超级回滚功能,用于确定某个区域在给定时间点的外观,然后重建它
- 改进 WXRay,显示示例位置等
- 提供一个选项,将嗅探结果排序导出到文件中,以便您可以分批处理它们(此处随意填写数量)。
- 添加一个选项,当放置某些方块时通知管理员。
- 添加一个线程,用于警告潜在的 Xray 作弊者
- 龙蛋传送日志记录,作为创意服务器的可选功能。
- 仅记录特定世界
当前正在开发的功能
- 添加在挖掘钻石时发出警告的选项
- 添加在挖掘金块时发出警告的选项。
权限与命令
时间、回滚及其他示例指南
现在可以在 这里 找到。
配置文件
安装方法
将 SWatchod.jar 放入 plugins 文件夹即可。祝您使用愉快!
遇到 Bug 时的处理方法
如果您遇到了 Bug、意外行为或认为某处存在问题,请执行以下操作:
- 在运行命令时观察控制台。如果命令执行失败,控制台通常会报告相关信息及可能的原因。
- 通过私信或将信息发布在下方,向我提供 /plugins/swatchdog/ 目录下的内容。
- 提供 /plugins/swatchdog/util/ 目录下 lastIDbroke.world 和 lastIDplaced.world 文件中的最新 ID(如果问题出现在其他世界,请提供对应世界的 ID。)
- 描述您的世界情况:它是默认生成的世界吗?它的名称是什么?
- 发布 util 文件夹中配置文件的內容。
- 告知您使用的 SWatchdog 版本以及 Bukkit 版本。 我非常热衷于解决您可能遇到的各种 Bug,因此请务必告诉我具体情况。
已知问题
- 门无法正确回滚。(仅回滚被破坏或放置的那一半。)
- /sniff look 命令在水下无效,请勿在水下使用该命令。
运行要求
请使用文件中指定的 (craft)bukkit 版本。
SWatchdog is now Abandonware, how cool is that?
Version: 1.19
Tekkit version 1.13Tekkit - Optimized for Tekkit, not recording machines.
This plugin will record all the broken and placed blocks, with their subtypes, person who broke/placed them & time and date when this happened. Also options for chest access logging as well as animal slaughter logging. There is also functionality to rollback said actions, re-place broken blocks, remove placed blocks ect. Its aimed to be lightweight, since bigbrother, while good, lagged any server I could see it used on. And while there are other block-logging plugins, most of them had sides that didn't appeal to the servers (where I work) owner. Like require the admin to setup the SQL database, the plugin connects to an external database the whole time, or the plugin is way outdated. And other problems like that, so I made SWatchdog. To keep it simple and efficient. We've been using/testing SWatchdog for some time now, and it seems to be a success. No lag whatsoever.
How to reach me
If you have any questions what so ever, have any problems with SWatchdog or want to give feedback / make a suggestion, you can either:
Send me PM here. Thats the most certain way to reach me, since I'm checking my PM's here every once in a while. (Note, a PM at BukkitDev, not a convo at Bukkit.)
Or you can try to reach me at -Server not public yet- ( - or the website ) for the most immediate and clear conversation. ( 0Given that I am online. ^_^ )
Recent changes
- Full control of what you want to record. (Though I doubt anyone would want to log only decaying leaves, even that is possible.)
- Rollback specified players, or blocks, or specified blocks placed by specified players. In the specified area after specified time. Yes, you can now be just about as specific as you want.
- Added automated log-cleaning as an option
- Added a powerful tool for checking the files integrity, option to do this automatically on server restart (and plugin reload) and to repair it (automatically)
- Entering incorrect parameters for a command now automatically shows relevant help to that command.
- Added chest access -logging as an option. Its defaulted to false, so if you want it, just enable it in the config.
- Added chest access -logging results to /sniff look and /supersniff look
- Added /wutil repairintegrity to easily make sure everything is as it should be.
- Added a method to change configs ingame. Yay!
- Added the stick. As an option. You need to enable it and give yourself the perm.
- Rolling stuff back now recognizes failed rollbacks (0 blocks) and suggests what might've gone wrong. (Like giving too specific criteria for example.)
- Added animal slaughter logging
- option to preview rollback before rolling back.
- Improved /WTrack
- Optimized single block sniffing, now faster than ever.
- Optimized WXRay
- ADDED PlayerUndo /WUndoP and PlayerClean /WCleanP to easily rollback spesific players.
- Major optimization, commands run in threads now.
Features
- Everything runs in threads for improved stability
- Option to preview rollbacks.
- Rollback areas on single players
- Records broken and placed blocks on the map
- Records exploded, burned and decayed blocks on the map
- Records water and lava
- Records players accessing chests
- Records endermen breaking blocks, blocks forming and spreading naturally, trees growing, ect.
- Config options for different kinds of events to log. Log what you want!
- Aims to be as light and nonlagging as possible
- Has a powerful indexing system, so it doesn't matter if you have 200 000 or 20 000 000 blocks recorded when you do rollbacks.
- Allows you to rollback ALL the actions of a specific player, with proper security clearance.
- Has automated log-cleaning, as well as manual. Both optional.
- Allows to rollback placed/broken blocks on specified area
- Allows you to rollback specified block type, placed/broken by specified player, on specified area.
- Allows to check single blocks or multiple blocks at a time
- Allows you to track activities of a specific player
- Allows you to check entries by a blocktype
- Allows you to estimate how well it is working on your server, this may also reflect lag caused by other plugins
- Allows to check % of valuable minerals mined by a person below 30Y
- Allows to check slaughtered animals.
- Records all your worlds, commands are relative to the world you are in.
- Failsafe. If SWatchdog encounters an error while running, it will attempt to fix most of the errors. If the error is severe, and it cannot fix it, it will disable it self. (If you find an error it doesn't understand, let me know. I will add it to the list)
- Option for automated log integrity check, and further option for automated log-repair, so even if you managed to blow up your database, it should be no problem.
Enabling wand
- Do /whelp 10 ingame, then follow the instructions. And yes, you can do everything from ingame.
Planned features
- Some sort of super-rollback feature to determine what an area looked like at given point in time, and then remake it
- Make WXRay better, show example locations ect
- Give an option to sort the results of sniffing to a file, so you can go through them (enterrandomamounthere) at a time.
- Add an option to notify admins when certain blocks are being placed.
- Add a thread for warning about possible xrayers
- Dragon egg teleport logging, as an option for creative servers.
- Logging only certain worlds
- WorldEdit logging. Purely as an option, disabled by default.
- Fixing few minor bugs in 1.18
- Suggestions?
Currently working on
- Option to warn when diamonds are being mined
- Option to warn when gold blocks are being mined.
Permissions & commands
Guide to time, rollbacks and some other examples
Can now be found here.
The config file
Installation
Place SWatchod.jar in plugins folder. Enjoy!
In case of a bug-attack
If you encounter a bug, unexpected behaviour or believe something is wrong, please:
- Look at console while running a command, if it fails to run it, it should report there with possibly the reason for what happened.
- Tell the contents of /plugins/swatchdog/ to me via PM or post a message below.
- Tell the latest ID from /plugins/swatchdog/util/ lastIDbroke.world and lastIDplaced.world (or the ID's for a different world, if thats where the problem occurs.)
- Describe your world, is it the default world? Whats its name?
- Post the content of config file, in the util folder
- SWatchdog version you are using, and bukkit version you are using. I have a deep interest in solving any and all bugs you might encounter, so please, just tell about them.
Known problems
- Doors do not rollback correctly. (Only the half that was broken/placed is rolled back.)
- /sniff look is not a waterproof command, so don't use it underwater.
Requirements
Please use the (craft)bukkit version mentioned in the file.
下载 SWatchdog
下载 SWatchdog
下载 SWatchdog
下载 SWatchdog
下载 SWatchdog
下载 SWatchdog
下载 SWatchdog
下载 SWatchdog
下载 SWatchdog
下载 SWatchdog
更新日志 ver 1.19
- 已更新:针对多疑用户更新至 1.6。对于其他所有人,它本来就已经运行正常了。
- 已更改:/sws l 命令从使用 getLastTwoTargetedBlocks 改为简单的 getTargetedBlock
- 已修复:更多拼写错误
- 已修复:一些次要 bug
* 假设你突然拥有的世界数量比你刚开始开服时还要多。(这种情况发生的概率有多大呢?)比如你在游戏过程中创建了新世界,而没有重新加载插件。这可能会导致控制台出现一些错误,并且你的日志文件中可能会有一行空行,你必须手动删除它。请在创建新世界时重新加载你的插件。(也就是说,在创建新世界的立即之后。)
* 在使用 /sniff 查看时,如果你的头位于蜡烛内部,可能会导致空指针异常。不过话说回来,谁会把头伸进蜡烛里呢?
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
评论 0
登录后参与评分
还没有评论,来抢沙发吧