[ADMN/SEC] iWatch - Log/Block item usage - Prevent fire and greifing [740]

Discussion in 'Inactive/Unsupported Plugins' started by DeathCradle, Feb 10, 2011.

  1. Offline

    DeathCradle

    iWatch - Log/Block item usage - Prevent fire and greifing.
    Version: 0.6
    Tested Bukkit Version: 740

    iWatch is a plugin that can help prevent certain item usages & their effect, Such as fire, Lava flooding, Stopping Tnt (Even placement), whilst also logging each time these occur.
    iWatch can help you catch people mis-treating your server (greifing) or even prevent some of it in the first place.

    Usage:
    Simply download and run it once, it will generate it's nessisary files.
    It comes standard with blocked items of:
    • 51,259,11,10,46,327
    And Logs 7 (Adminium)


    (Blocked items are also logged).

    To use the Alert System, configure 'Playerstomessage' in the properties file to have the player names you wish, E.g:
    Playerstomessage=DeathCradle,Sovereign79
    or For all players
    Playerstomessage=*

    Config Locations:
    • plugins/iWatch/iWatch.properties (config)
    • plugins/iWatch/iWatch.log (Log)
    • plugins/iWatch/PlayerLogs/<playername>.log
    How does iWatch Log?


    iWatch Stores player information such as their name, Item they were holding , the block they placed, the block they placed it on to even the exact location it happened! All stored at 'plugins/iWatch/iWatch.log' or 'plugins/iWatch/PlayerLogs/<playername>.log'.

    Want to see this Plugin in Action?
    Since this plugin was made for Olympus Minecraft you can come over and join the community and check out this plugin!
    IP Address: login.olympus-mc.net

    Features:
    • Ability to prevent fires started by item usage.
    • Ability to prevent block placeage.
    • Ability to prevent some item usage/placage.
    • Logs each infraction to the log file so the OP can tae nessisary actions!
    • Ability Alert players upon Blocking or Logging (or Both).
    Download?


    Code:
    http://downloads.craftmin.com/iWatch.jar
    Changelog:
    Code:
    Version 0.5
        Updated to newest Bukkit changes
    
    Version 0.4
        Updated to newest Bukkit changes
        Found a bug upon inistalization, Fixed :D
    
    Version 0.3
        Made logging toggable
        Logging/Blocking of Block destruction (Still some TO-DO's)
        Added in IgnoreOps' until i add in permissions support.
    
    Version 0.2
        Added Alerts
        Added Ability to use singe or multiple logs (player names)
        Added BlockedMessage, WatchedMessage, SeparateLogs, removebucketlava, Playerstomessage for properties.
    
    Version 0.1
        Initial Release!
    
     
    Steve Cole likes this.
  2. Offline

    Phantom Index

    Hopefully This will be better then BigBrother. That plugin hasn't been updated in forever.
     
  3. Offline

    DeathCradle

    Well if you have any request (or anyone else) i'll see what i can do! :)
     
  4. Offline

    Kane

    Think this is more like GriefAlert then Blocklog/bigbrother but nice plugin will have to try it out in the near future.
     
  5. Offline

    Phantom Index

    Can it make separate logs for each player? That would make browsing easy.
    --- merged: Feb 13, 2011 6:12 PM ---
    What would help is when you were to use a block item for example a Lava bucket. The alva will disapear and be replaced back into the bucket.
    Can you make it so it deletes the lava and leaves the bucket empty?

    Also a message saying that the item is blocked will help.
     
  6. Offline

    DeathCradle

    Yeh sure. Ill start work on it tonight ;)
    --- merged: Feb 15, 2011 12:21 PM ---
    Done,

    Code:
    Changelog:
    Version 0.2
    
        Added Alerts
        Added Ability to use singe or multiple logs (player names)
        Added BlockedMessage, WatchedMessage, SeparateLogs, removebucketlava, Playerstomessage for properties.
    
     
  7. Offline

    jaybud4

    Does this track block destruction, not just creation?
     
  8. Offline

    DeathCradle

    I can add that in if you like?
     
  9. Offline

    zergilng

    thank you!!
    1. doesn't have only alert, log mode?
     
  10. Offline

    DeathCradle

    I can add that in? Maybe will be done in 30 mins, if not less?
     
  11. Offline

    zergilng

    please~~ i want ban griefers like assasin
     
  12. Offline

    DeathCradle

    Ok, What ive added in 0.3 is:

    logging - boolean (alerts are already like that)
    Block Destruction - Logging (boolean) & disabling altogether (boolean)

    BUT with destruction, i wouldnt suggest using the disable yet until i get permissions plugin integration, And i am planning on doing more with the logging side, becasue atm, it logs all broken.

    Also what i mean by boolean, is toggling on/off in config.
     
  13. Offline

    Insers

    i downloaded and implemented but it didin't store block destruction, why?

    My config:
    Code:
    BlockedMessage=true
    WatchedItems=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92
    SeparateLogs=true
    BlockedItems=51,259,11,10,46,327
    messageOnBreakage=false
    LogBlockBreaks=true
    Logging=true
    removebucketlava=true
    Playerstomessage=false
    WatchedMessage=true
    Disabletntexplosion=true
    StopBlockBreaks=false
    IgnoreOps=true
     
  14. Offline

    DeathCradle

    Are you an OP?

    'IgnoreOps=true'
     
  15. Offline

    Insers

    yes im an OP, but i don't have other player logs. only when they placing something. but not with breaking.

    Sry about my bad English
    --- merged: Feb 18, 2011 1:57 PM ---
    nvm its working now.
     
  16. Offline

    ToxisHikaro

    for some reason i get this :O could not pass bloced item iwatch
     
  17. Offline

    DeathCradle

    I Shalt have a look into it ;)
     
  18. Offline

    Deatlev

    I got visualAdmin :D And i just need to get LWC and GriefAlertr i dont know how to prevent ppl to use flint and steel, and this sounds good if its easier to prevent flint and steel to be used
     
  19. Offline

    DeathCradle

    I hope you like it!, And Yes iWatch should be able to prevent that ;), just add '259' to the blocked list.
     
  20. Offline

    Courtney

    Would it be possible to get a feature like LogBlock has? Make it so your able to Right/Left click a block and see who placed it? It would be awesome if you could add that
     
  21. Offline

    DeathCradle

    Thats possible yeh, Depedning on the size of players (at a guess) i may have to use databases, as text files may get a tad big and/or slow for in-game (if it is large?).
     
  22. Offline

    Guard1an

    Okay so if someone's building got deleted, I could find out who deleted the brick, correct?

    Thanks alot for this plugin.
     
  23. Offline

    DeathCradle

    Thats if you added it to the list/s, Then yes.

    Cheers ;)
     
  24. Offline

    MaverickHunter

    I'm running the latest build of craftbukkit with no other plugins. I got this error when I placed a tnt block.

    And here is what my config file currently looks like
    I was able to get it to log properly before but when I removed stuff from the blocked list and only had it on watched it started doing this for me. Is there something wrong with my config or is it a bug of some sort?
     
  25. Offline

    Sooks

    Which build... dont' say latest they change often.
     
  26. Offline

    MaverickHunter

    I feel dumb for forgetting to add that. I was all "Yeah! I'm being helpful by including all the info in my post!"

    So I guess that is 428?

    Edit: And I guess that means I'm using a version that this plugin can't work with. Didn't read the top saying -->326
    Guess that answers that.
     
  27. Offline

    DeathCradle

    ill try to get around to updating this tonight, I have my wrapper to update with the new protocol packets, (just gotta upload) :p
     
  28. Offline

    McLrn227

    any luck yet?
     
  29. Offline

    Latros


    Does this prevent fire spread? (not the STARTING of fires... I mean, can it prevent fire spreading period)
     
  30. Offline

    dubca7

    Using 450
    Code:
    [SEVERE] Could not load plugins\iWatch.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: org.visualadmin.DeathCradle.iWatch.iWatch.<init>()
            at java.lang.Class.getConstructor0(Unknown Source)
            at java.lang.Class.getConstructor(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
            ... 8 more
     

Share This Page