Inactive [ADMN/SEC] SuperLog v2.4 - A very simple and effective logging plugin [1597]

Discussion in 'Inactive/Unsupported Plugins' started by thescreem, Aug 4, 2011.

  1. Offline

    thescreem

    Now on BukkitDev!
    [​IMG]

    [​IMG]

    <font color="rgb(51, 102, 255)">SuperLog - Make logging better and easier.</font>

    Current Version: 2.4
    Craftbukkit version: RB 1597 [Minecraft version 1.0]

    SuperLog is a very easy to set up logging plugin that can effectively catch greifers without the hassle of setting up any database.

    Features:
    * Easy to set up, no need to go through the hassle of setting up MySQL or any other database.
    * You may choose what you would like to log in a config file.
    * Ability to log block breaking, block placement, chest openings, and commands used by who, at what time, and at what coordinates.
    * If chosen in the config file, you can receive a message when Flint and Steel is used, TNT is placed, or TNT is ignited.
    * SuperPerms support!

    Future Features:
    * Lookup players.
    * Edit the config file in-game.
    * Setting for configurable date format.
    * Rollback.
    * Suggest!

    [​IMG]
    How to set up SuperLog:

    Show Spoiler
    In the config file, you will see something like this:
    Code:
    log-block-placement: true
    log-block-breaking: true
    log-chest-openings: true
    log-bucket-emptying-and-filling: true
    log-commands: true
    send-message-when-TNT-is-placed: false
    send-message-when-TNT-is-ignited: false
    send-message-when-Flint_and_Steel-is-used: false
    create-individual-player-logs: false
    memory-in-MB-until-new-block-logs-file-is-created: 50
    memory-in-MB-until-new-chest-logs-file-is-created: 50
    memory-in-MB-until-new-command-logs-file-is-created: 50
    memory-in-MB-until-new-[player]-logs-file-is-created: 50
    
    Most of it is self-explanatory, but I will go through it anyways.

    Code:
    log-block-placement: true
    
    True by default. If set to true, then this will log when a user places down a block.

    Code:
    log-block-breaking: true
    
    True by default. If set to true, then this will log when a user breaks a block.

    Code:
    log-chest-openings: true
    
    True by default. If set to true, then this will log when a user opens a chest.

    Code:
    log-commands: true
    
    True by default. If set to true, then this will log whenever someone types a command.

    Code:
    log-bucket-emptying-and-filling: true
    
    True by default. If set to true, then this will log when a user spills or fills a bucket of lava or water.

    Code:
    send-message-when-TNT-is-placed: false
    
    False by default. If set to true then whoever has the permission node stated under this spoiler will receive a message when a player placed down TNT.

    Code:
    send-message-when-TNT-is-ignited: false
    
    False by default. If set to true then whoever has the permission node stated under this spoiler will receive a message when a player sets off TNT with Flint and Steel. Currently, it doesn't work when TNT is set off with redstone.

    Code:
    send-message-when-Flint_and_Steel-is-used: false
    
    False by default. If set to true then whoever has the permission node stated under this spoiler will receive a message when a player uses Flint and Steel.

    Code:
    create-individual-player-logs: false
    
    False by default. If true, a log file will be created for every player.

    Code:
    memory-in-MB-until-new-block-logs-file-is-created: 50
    
    How big the block.logs file can reach until automatically creating a new block.logs file. (The old one is still kept)

    Code:
    memory-in-MB-until-new-chest-logs-file-is-created: 50
    
    How big the chest.logs file can reach until automatically creating a new chest.logs file. (The old one is still kept)

    Code:
    memory-in-MB-until-new-command-logs-file-is-created: 50
    
    How big the command.logs file can reach until automatically creating a new command.logs file. (The old one is still kept)

    Code:
    memory-in-MB-until-new-[player]-logs-file-is-created: 50
    
    How big a [player].logs file can reach until automatically creating a new [player].logs file. (The old one is still kept)




    Show Spoiler
    CommandWhat it does
    /sw or /superwandActivates/deactivates the SuperWand. To use the SuperWand, place a web block (item ID #30) where you would like to see block changes. To see chest changes, left-click a chest with a stick.
    /sl config or /superlog configShows you your config file options.




    Show Spoiler
    Permission nodeWhat it does
    superlog.notify.tnt.placementNotify's you when a player places TNT.
    superlog.notify.tnt.ignitionNotify's you when TNT is ignited by a player (Currently doesn't work when TNT is ignited with redstone).
    superlog.notify.flintandsteelNotify's you when a player uses Flint and Steel
    superlog.superwandLets you use the SuperWand
    superlog.configLets you see the config in-game


    [​IMG]
    <Edit by Moderator: Redacted mediafire url>
    [​IMG]
    [​IMG]
    Changelog:

    * v2.4 - Updated to MC version 1.0 and fixed a permissions bug.

    * v2.3 - Changed the MagicStick around.


    Show Spoiler
    * The MagicStick is now called the SuperWand.
    * The new command is /sw or /superwand.
    * The new permission node is superlog.superwand.
    * To see block changes, place a web block (item ID# 30). To see chest changes, left-click a block with a stick.




    Show Spoiler
    Show Spoiler
    v2.2.1 - Fixed the MagicStick permissions nodes.




    Show Spoiler
    * Fixed the MagicStick from causing lots of lag.




    Show Spoiler
    Fixed two bugs;
    * MagicStick not reading from all the split log files.
    * Player logs not being created for everyone when the plugin first runs. (Causes errors spamming the console until the player logs out and back in)




    Show Spoiler
    * Added the MagicStick
    * Optional command logging
    * Optional individual player logs
    * Log files split when reach a certain size set in the config file (Big thanks to @oz_revulsion for help with this!)
    * Ability to see your config options in-game. (Editing the config file in-game will come in the next version)
    * Added SuperPerms support? Not sure on this, don't have time to test if it works, so I'm not 100% sure it works.

    Bugs fixed:
    * Fixed air getting logged. (WTF?!)
    * Fixed paintings so they log.




    Show Spoiler
    * Fixed a bug with the dates.




    Show Spoiler
    * Fixed a few bugs with TNT/F&S notifications
    * Fixed a spelling error in the config file. (The "s" in "steel" in the option 'send-message-when-Flint_and_steel-is-used' needs to be capitalized)




    Show Spoiler
    * Initial Release
     
    Last edited by a moderator: Nov 13, 2016
    Olivki, Karlkorv, MrMag518 and 4 others like this.
  2. Offline

    thescreem

    I found the cause of this problem and will have it fixed in the next update. It was a pretty stupid mistake on my part, I added some extra steps to the MagicStick in the code which doesn't do much at all, and causes lots of lag. :confused:
     
  3. Offline

    Dayshade

    So, what's the status of completion for a version that supports 1.8? I'm looking forward to using this on my server because I don't want to make a MySQL server. Also, if you could implement rollbacking after the 1.8 update, that would be awesome, as right now I don't know of any logging plugins that don't require MySQL that have rollbacking.
     
  4. Offline

    thescreem

    Hopefully tomorrow. :)

    As for roll-backing, I've said in earlier posts, I have no idea where to start with that. So... Yeah. Sorry. :(
     
  5. Offline

    Dayshade

    Okay, thanks for the information. You have to start somewhere with the rollbacking. . . I'd love to see it sometime in the future. :)
     
  6. Offline

    jflecool2

    Does it support BukkitPermission, the built-in permission system inside Bukkit ?
    Thank ! (Ps: its an awesome plugin !)
     
  7. Offline

    thescreem

    Yes, it should.

    (BTW, the built-in permissions system in Bukkit is called SuperPerms, BukkitPermissions is just the plugin to utilize the built-in permissions :p)
     
  8. it says its for 1060, any 1 tried it on 1185?
     
  9. Offline

    Tha_Wolf

    Anxiously awaiting 1185 stable release of this plugin!
     
  10. Offline

    Cloudbringer

    i've been using this since 1060 till the current CB dev build and it seems to work just fine :D
     
  11. Offline

    Makatiel

    With the exception of the insane lag when you use the magicstick this plug-in works great on the latest version of CB. Anxiously awaiting the v2.2 release.
     
  12. Offline

    Makatiel

    Any news on the new version of this one? It causes so much lag when I use it now that it kicks everybody off the server. I have to go into the log file and search for the location manually if I want to look anything up.
     
  13. Offline

    zekurt

    Wow man, amazing plugin. I will definitely be using this plugin! (Already am ;D)
     
  14. Offline

    subram

    please update / fix
     
  15. Offline

    Kaaji

    Yeah since the new version of the others protect plugin, I couldn't make them run.
    Thanks you, your plugin run effectively :)
     
  16. Offline

    fury

    eeeeehhhhhh testing fail:
    Code:text
    1.  
    2. 2011-10-22 19:12:29 [SEVERE] Could not pass event BLOCK_BREAK to SuperLog
    3. java.lang.NullPointerException
    4. at com.thescreem.util.API.logToPlayerLog(API.java:141)
    5. at com.thescreem.listeners.SLBlockListener.onBlockBreak(SLBlockListener.java:66)
    6. at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:534)
    7. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    8. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    9. at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:201)
    10. at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:98)
    11. at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    12. at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    13. at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    14. at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    15. at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    16. at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    17. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    18. at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    19. 2011-10-22 19:12:30 [SEVERE] Could not pass event BLOCK_PLACE to SuperLog
    20. java.lang.NullPointerException
    21. at com.thescreem.util.API.logToPlayerLog(API.java:141)
    22. at com.thescreem.listeners.SLBlockListener.onBlockPlace(SLBlockListener.java:34)
    23. at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:478)
    24. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    25. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    26. at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:93)
    27. at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:77)
    28. at net.minecraft.server.ItemBlock.a(ItemBlock.java:94)
    29. at net.minecraft.server.ItemStack.placeItem(ItemStack.java:62)
    30. at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:281)
    31. at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
    32. at net.minecraft.server.Packet15Place.a(SourceFile:57)
    33. at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    34. at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    35. at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    36. at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    37. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    38. at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    39. 2011-10-22 19:12:37 [INFO] CONSOLE: Stopping the server..
    40. 2011-10-22 19:12:37
    41. [syntax]
     
  17. Offline

    Makatiel

    I think this one has been abandoned. Author promised a fix at the beginning of Oct and it's been 3 weeks without any response. It's completely broken for me now and crashes the server every time I try to use it. Time to find a replacement :(
     
  18. Offline

    fury

    dude, I unsinstalled this. Found AdvLog. Bye.
     
  19. Offline

    Jaker232

    I had a huge case of griefing, and with this, I caught the griefer. Thank you, thescreem.
     
  20. Offline

    thescreem

    Well, I was going to release SuperLog with a bunch of new features, but decided to release it with just the MagicStick fix, as it seems to be what most people really want.

    Version 2.2
    • The MagicStick is now 5-10x faster, doesn't cause lag and server no longer crash when used.
    Upcoming in v3.0:*
    • Multi-world support
    • Ability to edit the configuration file in-game
    • Configurable item for the MagicStick (to be re-named to SuperWand because of this)
    • Configurable date format
    • /superwand [player] - When using the SuperWand, only results for [player] are shown.
    *None of these features are to be added for certain, I may not have time or they may be too complicated.

    I am really sorry for how long this took. I really hope that something like this will never happen again, and that you'll enjoy this fix and upcoming features.

    I forgot we're I saw this, but I've added a notifications list. If you are on this list, you will be notified when SuperLog gets an update. To be added to this list post or message me that you would like to be added.
    Notify list:
    @fury
    @Jaker232
     
  21. Offline

    AFakeman

    What about rollback? Is it possible to undo someone's actions that happened for last
    [period of time here]?
     
  22. Offline

    Spiritwind

    Looks awesome, going to at least try it out until I can manage to get Hawkeye working on my servers again.
    One suggestion /revert playername feature :p.
     
  23. Offline

    DaNksta

    My server is currently running 2 worlds, Plus there is the nether.
    Will it only log the main world, or will my creative world screw things up ?

    I have been in need of a lightweight logger for catching greifers!

    Also I would like to make a feature request... I will beg if I must.

    Is there any way u can log the IP changes came from so you can optionally look that up, without it somehow taking too much room in the log?
    In fact, I care more about the IP than the player's name!
    Please add a config option to make it log ip address instead of OR in addition to player names.
    I would REALLY appreciate this!
    I run an offline mode server - sometimes people spoof names and then greif so usually I search log and see if it was a different IP that greifed- If I could just see the IP I would usually ban that - this would make my life much, much easier.

    Please add this if you can.
    Thank You
    & Keep up the great work.

    Also, please add me to notify list. TY!

    Liam
     
  24. Offline

    thescreem

    @AFakeman
    It's been asked before, and sadly I can't add a rollback feature. I will try however, seeing how the demand for it is huge.

    @Spiritwind
    What is /revert [playername] supposed to do?

    @DaNksta
    As of right now, it will log from all worlds into a (or many) log file(s). The problem with that someone could've opened and stolen from chest A in world A, then another guy opened chest B from world B which was his, and the coordinates of the chest could be the same, since they are in different worlds. The probability of something like this happening is slim to none, though.

    Adding an IP logging feature shouldn't be too hard, I could even add a command: /sl ip [playername] (sl stands for SuperLog, just in case it wans't obvious :p)
     
  25. Offline

    AFakeman

    It's just... You know, it's good to know, who griefed, but if briefing is HUUUUGE OMG LOL, it's not quite enough.
     
  26. Offline

    Jaker232

    I'll update this soon.
     
  27. Offline

    Spiritwind

    @AFakeman
    /Revert playername is suppose to get rid of any block changes a player has made in an area or on the entire map.
     
  28. Offline

    G1R Productions

    Code:
    29.10 01:27:13 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    29.10 01:27:13 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
    29.10 01:27:13 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:477)
    29.10 01:27:13 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    29.10 01:27:13 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    29.10 01:27:13 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    29.10 01:27:13 [Server] INFO     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    29.10 01:27:13 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    29.10 01:27:13 [Server] INFO     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    29.10 01:27:13 [Server] INFO     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:750)
    29.10 01:27:13 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    29.10 01:27:13 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    29.10 01:27:13 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:288)
    29.10 01:27:13 [Server] INFO     at com.thescreem.listeners.SLPlayerListener.onPlayerCommandPreprocess(SLPlayerListener.java:244)
    29.10 01:27:13 [Server] INFO     at com.thescreem.util.API.logToPlayerLog(API.java:131)
    29.10 01:27:13 [Server] INFO java.lang.NullPointerException
    29.10 01:27:13 [Server] SEVERE Could not pass event PLAYER_COMMAND_PREPROCESS to SuperLog
     
  29. Offline

    thescreem

  30. Offline

    a_sulaitiqa97

    Add commands /sl area so we don't have to use magicstick or whatever :)
     
  31. Offline

    thescreem

    The MagicStick is meant to select a single block or chest to see who broke, placed or opened it. I'm not sure what selecting an area has to do with the MagicStick...
     

Share This Page