Inactive [SEC/ADMN/EDIT] SWatchdog v1.14 - Log and rollback griefs[1.2.5-R4]

Discussion in 'Inactive/Unsupported Plugins' started by Sanzennin, Feb 6, 2012.

  1. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Version: v1.14

    This plugin will record all the broken and placed blocks, with their subtypes, person who broke/placed them & time and date when this happened.
    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 (thus causing extra lag), 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.

    To enable the Wand, use /whelp 10 ingame.

    Download:
    Swatchdog

    Installation:
    Place SWatchdog.jar into the plugins folder. Enjoy!

    TODO:
    • Make more configurable options
    • Allow worldediting features to go downwards as an option
    • Make it better.
    Changelog:

    Version 1.05-1.085
    • Oh yeah, changelog...
    • Added a bunch of /wutil features to help you fix any problems you might have.
    • Added automated integrity check and repair as an option
    • Made a bunch of useful features
    • really should remember to update the changelog...
    Version 1.04
    • Added /whelp to help the admins and mods use the commands, incase they forget how or just plain don't know yet.
    • Giving wrong amount of arguments now promps to use /whelp, instead of printing a whole bunch of commands to your screen. That was annoying.
    • Fixed a rare bug that sometimes cleaned your index files. If this happened to you, just delete it, and a new index file will be created. (Having your index empty isn't any big problem, but proper indexing speeds things up.)
    • Minor enchantments to the code.

    Version 1.03
    • added /wstat with a bunch of useful information
    version 1.02
    • Minor fixes.
    • Indexing now saves a bunch of your time while rollbackking.
    Version 1.00
    • You can now rollback specified players
    • You can now rollback specified blocks
    • Fixed something-not-quite-a-bug-but-it-works-better-now with WClean
    Version 0.99

    • Added EVEN more config options
    • Added indexing. That doesn't do anything yet tho.
    Version 0.98

    • Added more config options
    • Added optional listeners to several different type of blockactions
    • Check Bukkit page for details.
    Version 0.95
    • Slimmed down the code for the new world sorting
    • Added feature: /wxray <player> <time> (Where time is seperate parameters, hour minute (optional: day month year))
    • Now records trees and the person who planted them
    • Records enderman breaking blocks
    • Records block spread and form.
    Version 0.94
    • Fixed the bug where all the worlds would be written to the same file.
    • Fixed the bug where the rollback features would read wrong world
    • Added support for worlds out of the vanilla scope
    Version 0.93
    • Rollback features now accept less time-related parameters.
    Version 0.92
    • When using rollback features, it now tells you when it is done. (That is, about instantly.)
    Version 0.91
    • Added /sniff broken|placed radius <radius> <height> that gives you the history of the given place, as per requested.
    • When using rollback features, the stairs face the direction they were facing.
    Version 0.90
    • Now records explosion damage
    • Now records decayed leaves
    • Now records burned blocks
    Version 0.85
    • Added /wredo and /wclean
    • fixed supersniff not going through the entire archive
    • fixed subtype-issues.
    Version 0.81
    • Stopped exlusive beta and released for general public

    This post has been edited 14 times. It was last edited by Sanzennin Jul 26, 2012.
    OldsCraft, nh_99, EdwinB97 and 2 others like this.
  2. Offline

    biblelucas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok, can you give me a command sheet or something, i like your idea better thank log block and simpler
    but how about using a stick and finding out what happend to the place with right clicking and stuff? i really like your idea :D one thing you are missing, the instruction how to use it is not there and not clear.
    EDIT: i found the commands, it still would be nicer if you put the commands on the thread or tell people to go to the devbukkit for commands

    This post has been edited 1 time. It was last edited by biblelucas Feb 7, 2012.
  3. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well, there is now a link to the BukkitDev page, which also contains the latest file, 0.95
  4. Offline

    zomgazombiewaffle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Very nice, Since i'm using a paid vps i can't use logblock (set it up) because of mysql being such a pain. This is very helpful thankyou.
  5. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh, glad you like it. I will be updating this frequently.
    kahlilnc likes this.
  6. Offline

    md_5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Approved
  7. Offline

    PlanetCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Im struggling with the /wundo command :( Mabye you could hook this with world-edit so when you select an area you can use /wundo (radius) (playername)
    Example:
    Someone greifed in a popular area of the server and people have been building while he done it.When you roll-back the others builds will go aswell but if you use my suggestion only his/her's nasty work will be undone.His greif goes and nobody else build gets harmed.It would be much more simple than it is now !!! Just type in the radius and name and bam no more greif !!
    That would make this plugin MASSIVE success !!!

    And AMAZING work with the sniff !!! I love it !!! I hate using MSQL and this is perfect !!! Im really liking your work !!! Keep it up !! Ima recommend this too others !!! Get back to me on my suggestions :D
    THANKS A MILLION !!!
  8. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    Glad ya like it. The /wundo with player option is coming soon, its actually mentioned in planned features in BukkitDev page. (Sorry, I've forgotten to update these forums a bit, seen as all the talk seems to happen at BukkitDev.)

    But yes, also I'm planning a paging system for sniffing, so you wont get a huge load of stuff, as well as indexing is just about ready. (Thats invisible for you, but it would speed up looking/undoing when you got several million entries in logs. Well, its recommended you clean the logs every once in a while.)
  9. Offline

    legoben1998

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any ETA when the player function will be available?

    Great work so far :D

    This post has been edited 1 time. It was last edited by legoben1998 Feb 26, 2012.
  10. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Just finished it around... 10 minutes ago? Must've been right before you posted :p
    legoben1998 likes this.
  11. Offline

    joshwenke

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So much easier than the alternatives, and it rolls back! Well done!
  12. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks, I am always working to make it better. :)
    joshwenke likes this.
  13. Offline

    awesomeman_74

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    how to use this?
  14. Offline

    awesomeman_74

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    im hoping to get this for my server, and 1 of my friends greif, and im hoping to undo what he did
  15. Offline

    awesomeman_74

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    o and also, is this updated to v1.1 of mc?
  16. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  17. Offline

    awesomeman_74

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  18. Offline

    Claryn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it possible to get the download for R.1?
  19. Offline

    TheLavaGuy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it /rollback <name> <time>??? :p
  20. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Depending on what you want to rollback, and in what kind of area, its:

    /wundo (for undoing broken blocks)
    /wredo (for re-creating placed blocks)
    /wclean (for removing griefs, like obsidian here and there.)

    The command would be:
    /wundo (p:playername) (b:blocktype) radius height hour minute [day month year]

    () = optional
    [] = optional, but must be in the mentioned order

    The parameters are same for /wredo and /wclean
  21. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    And sorry, it seems I have misplaced the older files. So it doesn't exist anymore. It didn't have half the features the current one has, either. So you're better off with just updating your bukkit, if anyhow possible. :)
  22. Offline

    Claryn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No,
    No, that's not possible.

    All I need is to find out who destroyed the blocks.
  23. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Uhm... well, I am not sure, but you could try and see if this works, its just about the earliest I can find.

    Type in /watchdog in chat to see if it loads up.

    SWatchdogOld.zip

    This post has been edited 1 time. It was last edited by Sanzennin Feb 29, 2012.
  24. Offline

    homeyboy913

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    thanks for the awesome anti-griefing plugin! I am having troubles installing the plugin on my craftbukkit server
    can you give me any tips?
  25. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That is odd, you basically just put it in the plugins folder. What version of SWatchdog are you trying to instal, and what is your craftbukkit version?
  26. Offline

    homeyboy913

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    verison 1.0 swatchdog to bukkit 1.0.1 R1
  27. Offline

    homeyboy913

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    actually nevermind i downloaded craftbukkit 1.1 R4 and it works! thanks for the AWESOME plugin!!! :)
  28. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ah yes, since 1.0 is for R4.

    Glad you like it :)
  29. Offline

    Jaronoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is this already updated for 1.2 via the preview?
    It'd be supernice to know. :)
  30. Offline

    Sanzennin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I haven't tested with 1.2, but its more likely that its upto bukkit, not MC version for my plugin to be incompatible.

    However, as soon as 1.2 hits, I'll update within a day. Or thats my goal anyways, can't help it if I get ran over by a truck or something. :oops:

Share This Page