SWatchdog
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.
Please note
- Please use uptodate permission plugin. Outdated permission plugins may be unable to handle the latest bukkit permission format. So please make sure your permission plugin is updated to latest R#. If there is no update, just notify the author of the permission plugin to update.
Video Tutorials
These awesome videos came from InstitutionAwesome. Many thanks!
Config
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.
-
View User Profile
-
Send Message
Posted Mar 25, 2012@thejedibob
what parameters did you give? Use /whelp to check the parameters you need, and the parameters you may, give.
Oh, idea, I'll make it prompt better help for each command, to next version.
-
View User Profile
-
Send Message
Posted Mar 25, 2012@Luwiego
Wait, what? Please note that the day format is D/M/YYYY, if it shows future dates, well, is your servers time correct?
-
View User Profile
-
Send Message
Posted Mar 25, 2012@MrJUDLYz
Well, as I said on the PM, its most likely not swatchdog, but throw me the server log just to be sure.
-
View User Profile
-
Send Message
Posted Mar 25, 2012Can someone please help me!
I am running watchdog on my server and me and my admins keep getting kicked with a message "internal error occured" I tryed it with the following plugins: world edit and essentials-core and it came up with loads of error code in the console can somone please help urgently!!!!!!! I am also running it on 1.2.4 ?
-
View User Profile
-
Send Message
Posted Mar 25, 2012Wow this plugin can see the future :D I used to sniff and it showed me future date o_O
-
View User Profile
-
Send Message
Posted Mar 24, 2012Can someone please help me! Me and my admins are playing the server normally and regulary when we are breaking blocks or placing them it kicks us from the server and says "internal error occured" I am running me server on 1.2.4 and also is there a way to disable people form being kicked like that?
-
View User Profile
-
Send Message
Posted Mar 24, 2012@Sanzennin
When i try /wundo /sniff or /supersniff it states that I have seemed to have entered an invalid amount of parameters.
I am using the latest bukkit 1.2.4 (#2117)
No errors in console, plugin launches okay.
-
View User Profile
-
Send Message
Posted Mar 23, 2012@thejedibob
Thats odd, what version of swatchdog/bukkit do you have installed?
Does it give any errors in console?
Do /wundo /sniff /supersniff work?
@Csanko
Great! :)
@mrcheesete0
Yes, there is a ticket to simplify, which I intend to fulfil. Also, you really just need to point your admins to /whelp, that will show detailed explanation on how to use most of the functions, and if you just want to check a block, use /sniff look for recent, and /supersniff look for all time. (Shortcuts like /sws l and /swss l work too)
-
View User Profile
-
Send Message
Posted Mar 23, 2012The XRAY feature still does not seem to work :(
when i do /wxray on players, i am still getting nothing but 0% for everything.. I even tried deep mining myself and nothing
-
View User Profile
-
Send Message
Posted Mar 23, 2012It is fixed now :)
-
View User Profile
-
Send Message
Posted Mar 23, 2012If you ever get around to adding that tool-option, I will instal this, as you are keeping it up-to-date unlike log, which has disappeared and I am working with a forked copy provided by a kind developer.
Unfortunately, most of this is too confusing for me to utilize it, and ALL of it is too confusing for my admins, and all I really need a log program for is so I can look up a specific block when a user files a report of griefing, to see who broke that specific block and when. I know this can do that, but it gets way to complicated for me to easily teach my admins to check it, and role it back in worldedit..
-
View User Profile
-
Send Message
Posted Mar 23, 2012@Csanko
Then I guess you oughta change permission plugin =/ Just to make sure, as an OP, you can run the commands, right? its just your mods that can't? (If OP can't run the commands, the problem is not pex, but elsewhere, and I can help with elsewhere.)
-
View User Profile
-
Send Message
Posted Mar 23, 2012@Sanzennin
Still doesnt work :(
-
View User Profile
-
Send Message
Posted Mar 22, 2012Before anyone has the time to ask, yes, it works with 1.2.4, running on our server atm with latest Bukkit-dev build
@thejedibob
Has the player been mining below 30Y? And did you enter his name as playerNameExact? If you go down to 20Y and mine some yourself, and check your own stats, do they show up correctly?
@Csanko
Well, atleast make sure it is up to date, try the latest dev build of PEX too, it might work better. Then again, there are alternatives...
-
View User Profile
-
Send Message
Posted Mar 22, 2012We got this plugin because of its xray logging. However, when I use the /wxray command on a player, it comes back with 0% for all the cateogories, even if it is know the player has been mining for a while.
-
View User Profile
-
Send Message
Posted Mar 22, 2012@Sanzennin
So there's actually nothing that i can do about it?
should i think of changing Pex out with some other permission pl?..
-
View User Profile
-
Send Message
Posted Mar 22, 2012@Csanko
What version of PEX do you have? SWatchdog uses the latest permission format that was introduced in... I think it was R4? Does pex support this?
For a long time, pex didn't support it, but I heard there was an update to pex that worked fine with swatchdog, so I took out the note stating it doesn't work with pex.
-
View User Profile
-
Send Message
Posted Mar 21, 2012Does it support permissionex? if so why doesnt it work for me?
- please help!!
-
View User Profile
-
Send Message
Posted Mar 20, 2012@thethrax
Hmm, you mean /wtrack string 0 0 0? Since that should be a months worth. I'll doublecheck the code for errors in that area.
-
View User Profile
-
Send Message
Posted Mar 20, 2012Whats the trick to getting /wtrack to produce results? No matter what variables I enter I get "tracking results: xxx" and nothing more.. I have 2.3 million records on the server and the other commands work fine
Edit: I did get recent results using /wtrack string and no time parameters, not really sure what to enter as time parameters to get historical stuff.. is it /wtrack string 000 for a month worth? When I type that I get no results