Guide to rollbacks and some other examples
Cleaning the main page a bit...
The SWatchdog time
There are some commands that require you to enter <<time>>
This basically means that you _must_ enter hours and minutes, and you _may_ enter (day), you may continue entering (month) and if needed, you can also enter (year). In that order.
Not entering day, month or year will default to "today, this month, this year", and the time is used to exclude entries before the specified time.
A reminder, the syntax is:
/[command] (p:PlayerNameExact and/or b:BlockType) <RADIUS> <HEIGHT> <<time>>
where () is optional and <> is integer.
Examples:
- 0 0 would rollback anything that happened today
- 0 0 0 would rollback anything that happened this month
- 0 0 0 0 would rollback anything that happened this year
- 0 0 0 0 0 would rollback anything.
- Today is the 6th day of 3rd month of 2012. I want to rollback this huge obsidian tower that resembles genitalia. I use /sws l while looking at it, it tells me that player DckMaster placed obsidian 14:15/6/3/2012 so I enter /wclean p:DckMaster 50 50 14 0
- Today is the 6th day of 3rd month of 2012. I want to rollback this huge obsidian tower that resembles genitalia. I use /sws l while looking at it, it tells me that player DckMaster placed obsidian 14:15/4/3/2012 so I enter /wclean p:DckMaster 50 50 14 0 4
- Today is the 6th day of 3rd month of 2012. I want to rollback this huge obsidian tower that resembles genitalia. I use /sws l while looking at it, it tells me that player DckMaster placed obsidian 14:15/4/2/2012 so I enter /wclean p:DckMaster 50 50 14 0 4 2
- Today is the 6th day of 3rd month of 2012. I want to rollback this huge obsidian tower that resembles genitalia. I use /sws l while looking at it, it tells me that player DckMaster placed obsidian 14:15/4/2/2011 so I enter /wclean p:DckMaster 50 50 14 0 4 2 2011
- At this point, I have already banned DckMaster, and I think pretty much anything he has ever done, is downright grief. So I go to the center of the map, fly up and type these 2 commands to undo DckMasters lifework as griefer:
- /wundo p:DckMaster 2000 -300 0 0 0 0 0 (this repairs anything he broke, ever)
- /wclean p:DckMaster 2000 -300 0 0 0 0 0 (this removes anything he placed, ever)
Rollback guide
- So, you find a perfectly nice house filled with obsidian?
Use /sniff (or /supersniff if its older) to get the time when the obsidian was placed, take maybe few minutes off that value (so you get them all) and use /wclean (radius around you, inside the house) (height from your feet up) hour minute day month year (you get those real easy from /sniff)
- So, you find a perfectly nice house totally demolished?
use /sniff to determine the time again, use /wundo to bring back the broken blocks.
- So, you notice one of your admins has gone rogue and deleted a whole bunch of houses with worldedit?
Use /wredo to remake the houses.
- So, you got this alot-modified area, with one bad apple spoiling the bunch? specify the player for /wundo or /wclean with "p:<playername>" and then write the rest of the command normally. Like, /wundo p:BadSanta900 20 20 0 0
- So, you got this area filled with obsidian by a group of players, don't feel like specifying time for /wclean and generally feeling lazy? Use /wclean b:obsidian 50 50 0 0
- So, this one player who usually behaves nice filled his friends house, that he helped build, with obsidian, in an area where there are legit obsidian structures? use /wclean p:ThePlayerWhosBad b:obsidian 50 50 0 0
- So, there seems to be a huge explosion crater. You don't want to use /wundo 50 50 0 0as this would require you to stand at the bottom, and you'd be covered in stone afterwards. Use /wundo 50 -50 0 0 instead, while flying above the crater.
Ofcourse, the watchdog needs to be installed on the server when stuff happened. You can't just make up that kinda data. (So, if you got someone demolishing your house an hour ago, and you are thinking about installing watchdog...)
Other examples
- Someone bombed your house with TNT? use /sniff placed radius 2 2 around where you think the TNT was. To find out who did it.
- A large area got bombed with cluster TNT from the sky? Use /sniff placed radius 20 64 to search the sky for the culprit
- Found a mine that goes zigzag with no pattern? Check the ending points with /sniff broken radius 3 2 to see if there was gold, diamond or other valuables. Its most likely an xray.
Use /WXRay PlayernameExact hour minute (day) (month) (year) to find out if the person who dug that mine has high % of gold when compared to stone and other materials found under 30Y. If you do not enter day, month and year, bear in mind that the results are only for today. Entering 0 0 0 0 0 goes through the entire archive and calculates results for that. (Then again, maybe hes xraying only half of the time? Or started just recently?) - Find a sign with racial slurs in it? stand in it and use /sniff placed feet to see who placed it.
- Your worldguard gliched, and someone stole those diamond and gold blocks from your road, and placed them with wool? Stand on it and type /sniff broken under to see who did it.
- Found an interesting bit of info with /sniff broken radius, and want to examine it closer? Use /sniff broken X Y Z to view the specific blocks history.
- /sniff brings no results, but you know watchdog has been in use when stuff happened? Use /supersniff instead, it probly got archived to keep the resource usage at minimum. (You can change archival rate at config.)
- Want to know it all? Go to the center of the map, enter /supersniff broken radius 2000 128, repeat with "placed" (No, seriously, thats a horrible idea. Too much data coming at you. Server will be fine, but your connection will most likely drop.)
-
View User Profile
-
Send Message
Posted Mar 5, 2012i gotta ask...
can i right click a block with a stick and see a log?
-
View User Profile
-
Send Message
Posted Mar 6, 2012@dunem666
Not yet, but since people seem to want that functionality, even if it costs their precious resources, I'll add it as an option in near future.
-
View User Profile
-
Send Message
Posted Mar 7, 2012if i want to rollback a hole (it was filled with lots of blocks,gold,diamond and so on) how do i rollback everything in that area? Hawkeye had an option to rollback everything in the area (you could add player name and time, and rollbacked everything)
-
View User Profile
-
Send Message
Posted Mar 10, 2012I never saw Sanzennin on this forums before and he does such a great tool which has few days and is better than all this shit like LogBlock, Hawkeye, etc. What sorcery is that?!
BTW: Great plugin, thank you :)
-
View User Profile
-
Send Message
Posted Mar 12, 2012How do I rollback fire damage? Doesn't even mention the player that started the fire. Just (burned)
-
View User Profile
-
Send Message
Posted Mar 20, 2012@samu126
Use the rollback commands for that area. They will rollback everything. /wclean for placed blocks, /wundo for broken blocks.
@wirher
Well, I had been testing it for a while, before publishing. Don't want to release incomplete plugins, though I like to update alot.
@Thokas
Well, use p:(Burned) instead of playername, to rollback the fire damage.
-
View User Profile
-
Send Message
Posted Mar 29, 2012Thankyou so much for this plugin! I have been waiting for ages for a good rollback and block history plugin! But there is one thing....Can you undo water / lava placing? It does not seem to work with /wundo ????? Please help!!!!
-
View User Profile
-
Send Message
Posted Apr 5, 2012Great plugin. BUT could you add an undo command for a sws command? I just accidentally wiped a whole map, and all I could do was to restore everything I have ever done on it.
-
View User Profile
-
Send Message
Posted Apr 15, 2012@YelCraft
You need to enable additional water/lava logging in the config, you can do this ingame with
/wutil showconfig
/wutil setconfig [option] [value]
(If I remember correctly, the config is "watchWaterLava")
/wutil saveconfig
/reload
The default will record lava and water poured out of a bucket, but not the spread. The option is to record the spread. (Most people said it spammed their logfiles, so its disabled by default)
@wackydog1221
I am not quite sure what you mean, there is a /wundo, /wredo and /wclean commands that can be used for different kinds of rollbacks. How did you wipe the entire map? If you mean, could I make a command to bring back your entire map that suddenly turned into air or something, that would require first making a complete copy of your map, which would be rather a huge thing to do. Then, even more huge portion would be, comparing a couple of billion blocks to see if they've changed to rollback that map. Consider: it takes worldedit around one minute to change 60000 blocks into something else.
-
View User Profile
-
Send Message
Posted Apr 19, 2012I don't wanna be rude, but You have a nice idea, non SQL rollback, its got nice features etc.
Could you make checking/rollback easier?
So like in hawkeye you can do /hawk preview(previews rollback) p(player): t(time):1h5m10s r(radius):5
It is a lot easier than /wundo jekel9885 5 5 5 5
So you can simplify it like hawkeye to make it
/wundo or /wu p:playername r:5 t:10m
Also, it would be easier to use a log or other block to place where blocks were broken, and hit where blocks where placed.
-
View User Profile
-
Send Message
Posted Apr 23, 2012@Creative_DaleK
Since you need radius and time in any case, making you type more to achieve the same is not really easier in my opinion. compare r:5 h:5 to 5 5.
And making the rollback relative to "now" isn't really making it easier. That would involve math. Atm you do not need any math. (Except for knocking a few minutes from the value that /sniff gives you.)
Example: stuff happened at 9:15, rollback with 9 0 or 8:48 pm - 9:15 am = t:11h50m?
-
View User Profile
-
Send Message
Posted Apr 28, 2012Could you rewrite the time section please? It makes no sense whatsoever.
So it's the same day, on the 6th, and I need to specify 50 minute, 50 hour, and 14 day? It makes no sense when cross-referenced with the general explanation above it.
I read the thing a dozen times and it makes vague sense to me, it's just so blatantly wrong that I can't guess what it's supposed to be. edit: I'd also like to mention that the in-game examples are actually fine. This page specifically seems to be carefully written to confuse people.
-
View User Profile
-
Send Message
Posted May 6, 2012@jj10dman
Yes, I like to do that. :)
Its not 50 minute 50 hour, its 50 radius 50 height 14:00
Well, added a reminder about the syntax on the top of the page... that oughta do it :D
-
View User Profile
-
Send Message
Posted May 7, 2012Hi there can anyone tell me when i do /sniff rad , i have more text then the screen allows , anyone know how i can look at more of the page ? or in fact generate the RAD results in a text file for looking for something ?
Thanks
-
View User Profile
-
Send Message
Posted May 10, 2012@AdrianVaughan
Generating the /sniff rad results to a textfile is not ready yet. However, the newest entries are at the bottom, so you should be able to see relevant changes for each block. If the area contains too much data, try narrowing down the radius a bit.\\
With /sniff broken|placed radius <radius> <height>\\
Typing /sniff rad is the same as /sniff broken radius 3 3 + /sniff placed radius 3 3 summed together, so using those individual commands gives less results. Especially if you make the area smaller.
-
View User Profile
-
Send Message
Posted May 12, 2012I'm having trouble with this mod. Recently we had a griefer, so we tried /wundo p:*name* 2000 -300 0 0 0 0
flying above the area. I'm told it undid a certain amount of blocks, but nothing happens, nothing at all
-
View User Profile
-
Send Message
Posted May 30, 2012@killer120070507
Hmm, yeah, there is a bug that sometimes occurs when rolling back large areas (that leaves some blocks not rolled back). I'm not quite sure what is causing it, but I'm trying to find out.
-
View User Profile
-
Send Message
Posted Jun 6, 2012I think i found a bug. One of my players made a igloo house (From normal snow blocks), when i try to rollback. I think its because Swatchdog is thinking about the wrong kind of snow (Id's 78 and 80).
-
View User Profile
-
Send Message
Posted Jun 24, 2012It's a shame, we have to switch to another plugin, simply because it is unable to rollback 50%( as stated in bugs).
Just had a "stress" test by ichg
-
View User Profile
-
Send Message
Posted Jun 24, 2012Could you create a tool to check broken /placed blocks by clicking?