GriefLog
We are discussing plans for Sponge and GlowStone support. Please be patient :)
If you are using WorldEdit 6.0 or later please use the 5.2.2 version. If you are using WorldEdit 5.x.y please use version 5.2.3-worldedit, thank you.
| Wiki | The GriefLog wiki is filled with information about GriefLog. We have some information below, but the wiki is much more descriptive. |
| Download | Latest build that is approved by bukkit. |
| Development Downloads | This build is not approved by bukkit, but it is the most recent, development build. If bukkit updates and GriefLog is not compatible, this is a good place to look for an update. ![]() |
| GriefLog Source | You can find the latest GriefLog source code here at GitHub. However, if you would rather not just compile it, we recommend downloading the latest Dev Download. (Information Above) |
| Permissions | You can use these permission nodes to allow other users to do certain things. |
Description
How many times has someone on your server told you that someone griefed there house, but they don't know who did it? Well, this is a great way to fix that. GriefLog will log every event that happens within your server. It will also separate the log files into worlds. So now you can prove that it was in fact a griefer. Now, you don't need to actually go into the log files, you can take out your GriefLog tool and left click on a block, it will bring up the information. You can also simply use a command to roll back the grief. More information is below.
Usage
So what exactly does GriefLog log? What can it do to help me? Well, GriefLog will log just about anything. It then saves it to a file called GriefLog.txt which can be found in "<YourServerDirectory>/logs/<world>/grieflog.txt." It is the same on every operating system. Here is a list of exactly GriefLog will log:
- When a player joins the server
- When a player breaks a block
- When a player places a block
- When a player uses a command
- When a player changes the world they are in (e.g. Entering the nether)
- When a player leaves the server
- If a player's game mode changes
- If a block is ignited
- If a bucket is emptied
- If an Enderman takes or places a block
- If a Zombie breaks down a door
- If there is any kind of explosion
All of this is logged to a very simple layout. You can choose a block with the GriefLog tool, Use the Search command, or look through the GriefLog.txt files.
Commands
We have many different commands to try and make the plugin as simple as possible to use.
- /glog - This will show you the version of GriefLog you are running.
- /glog tool - This will provide you with the GriefLog tool. You can set the tool in the config.yml
- /glog rollback <options> - to use roll backs, please read the section on our wiki here.
- /glog search <options> - You can search certain events. The options are the same used on the rollbacks.
- /glog page <page_number> - This will let you go through the other pages of your most recent search.
- /glog help - This will bring up the same information you see right here but within your Minecraft Client.
- /glog undo <id> - This will undo the rollback associated with the ID. Do not provide an ID to undo the most recent rollback.
- /glog report - This will report a grief. It will alert the admins of a report when they log in.
- /glog report view - Admins can view information of a grief report. It shows the location of the report, and the reporter.
Need Help?
We are here for you! Feel free to leave a comment, or better leave a ticket. **IMPORTANT**If you are willing to leave the IP address of your server within your ticket, pm, or comment, BlackWolf will be able to enter your server and will have the permission to use the /glog command to see what version you are running. You can disable this feature in the config.yml.
Did you find a bug?
If you find bugs in my plugin feel free to post a comment on this page, send us a pm, or add a ticket. Important: Check your inbox regularly to see if I replied!
Donate
If you want to donate some money because of my awesome work (:P) you can click the donate button on the right on the top of this page. Anything would be appreciated, but you don't have to if you don't want to or can't :)
Metrics
GriefLog creates debug logs, since 5.2.0, in the plugin directory in case there is a problem. You can disable this in the configuration file with the option debug-logging. When you set this to false it will not log any debug information. This information is only used by me to find out more about a bug you might encounter. It will log things like how long it takes to search a file, what is being searched for and if there are any problems when searching, for instance a data type that has been corrupted that can cause the search to fail.
External connections
Since version 5.2.3 GriefLog uses an external service to get the UUID from his name. This has to be done because the search tries to find the UUID of the player you search for in the logs instead of his name. This is because when 1.8 gets here you can change your name, but you can't change your UUID. But to make sure that searching doesn't get more complicated I needed a way to let you guys search for a players name while GriefLog searches for his UUID. For that I currently use an external service until Bukkit will provide one for me, or if they don't I'll keep using this one.

-
View User Profile
-
Send Message
Posted Jul 12, 2013@WASasquatch
It shouldn't take long, I have fixed some stuff that will allow me to put out 5.0.3 so I guess that one will be up soon.
Also, the DroneIO builds are compatible with 1.6.2 and contain all these fixes. Just remember that that code hasn't been reviewed by bukkit moderators.
EDIT: I uploaded version 5.0.3 I guess it will be available for download in 24 houres.
-
View User Profile
-
Send Message
Posted Jul 12, 2013When can we expect an official for 1.6.2?
-
View User Profile
-
Send Message
Posted Jul 9, 2013@WASasquatch
You need all the libraries that are included in the "libs" folder in the repository. Or you could just clone the repo from github and run "make" in the terminal.
If that doesn't work I would say you could try using Java6 instead of Java7 if you use that. Otherwise I don't know what could be wrong...
-
View User Profile
-
Send Message
Posted Jul 9, 2013@blackwolf12333
I'm not a kid, fortunately, and built my own mcOS which snapshots the OS and Server every 10 minutes. :) So if it did, it's an easy rollback.
-
View User Profile
-
Send Message
Posted Jul 9, 2013I can't seem to get it to compile! Oracle is freaking out with errors.
-
View User Profile
-
Send Message
Posted Jul 9, 2013@Soccer4322
Do you have the right permissions?
-
View User Profile
-
Send Message
Posted Jul 8, 2013Won't let me use /glog tool
-
View User Profile
-
Send Message
Posted Jul 7, 2013@antichip
The issue is outside of grieflog, it would be Citizens at http://dev.bukkit.org/bukkit-plugins/citizens/ causing the issue.
-
View User Profile
-
Send Message
Posted Jul 7, 2013any ideas on what I can do here?
I also get a out of mem error that shuts dow server all to gether
I'll grab it and put it up next time it happens
5:09:17 PM [SEVERE] Could not pass event InventoryCloseEvent to GriefLog v5.0.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:676) at net.minecraft.server.v1_5_R3.PlayerList.disconnect(PlayerList.java:253) at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:697) at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:297) at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:115) at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassCastException: net.dandielo.citizens.traders_v3.traders.stock.StockTrader cannot be cast to org.bukkit.block.Chest at tk.blackwolf12333.grieflog.listeners.InventoryListener.onInventoryClose(InventoryListener.java:50) at sun.reflect.GeneratedMethodAccessor561.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more
-
View User Profile
-
Send Message
Posted Jul 6, 2013@WASasquatch
Just a side note, the development builds are not official and can contain bugs that might ruin your server. Just saying before you get mad at us :P
-
View User Profile
-
Send Message
Posted Jul 6, 2013@george90000
Are you sure plugins are not conflicting and erroring out? From what I see it doesn't utilize much at all.
-
View User Profile
-
Send Message
Posted Jul 6, 2013@doglover129
Thanks for the information. I am now trying your logging method. From what I gather it looks lighter then all the others I've used. I hope that's the case. There is no reason for resource intensive logging.
3rd party logging is enabled for you, you are welcome to check it out at pyrexiacraft.net
-
View User Profile
-
Send Message
Posted Jul 5, 2013Everyone, if you are truly looking for the latest, you should really connect to our builds at Drone.IO. It updates whenever we update something on GitHub. It will also tell you whether or not the syntax is correct. So there is no more downloading the Java Docs, putting it into eclipse, then clicking export just to see that something could be out of sync with the file system then having to start over. Trust me, not fun. This compiles the latest Dev jar for you. From now on, we will only put out our release builds, not development builds.
-
View User Profile
-
Send Message
Posted Jul 4, 2013Alright guys, we have the new update. GriefLog version 5.0.1 is available for download :)
New things:
-
View User Profile
-
Send Message
Posted Jul 1, 2013Hello! So who is excited for the 1.6.1 update? I know I am! So here is the deal, Bukkit has not yet released a development build for the public. However, I managed to get a first look and I am already working with the updated GriefLog jar. Blackwolf has taken his time to make it simple for him and I to be able to update to a new version and add new features while keeping it compatible with previous versions. When we release 4.9.8 (or maybe even 5.0) it will begin to be compatible all the way back to MC 1.4.7. This is a good thing. If people want to have servers from previous versions, they can! So there is the update. GriefLog is doing good.
-
View User Profile
-
Send Message
Posted Jun 14, 2013@george90000
How can you tell it is my plugin that uses much RAM? That would certainly something I would need to fix...
-
View User Profile
-
Send Message
Posted Jun 14, 2013Very good plugin but it use much Ram :/
-
View User Profile
-
Send Message
Posted Jun 4, 2013@blackwolf12333
Awesome, very much appreciated. Thanks!
-
View User Profile
-
Send Message
Posted Jun 4, 2013@Nuinethir
You can get the source from that github link now. But you'll probably need this: https://github.com/blackwolf12333/GriefLog/tree/24a97757bdc9131e00285bf294de6257269804d9
Everything is possible, so specific blocks is possible. You have to go into the BlockListener.java and edit that so that it only logs those blocks you want it to log.
-
View User Profile
-
Send Message
Posted Jun 4, 2013Hey, I really like this plugin but I would like to tweak the formatting of the output so I can dump it to an Excel file. Any chance I could get the source from Github for the 1.4.7 release? (The link at the bottom is 404'ed.) Reason is that I am running a Tekkit Lite server.
Also, I just want to log specific blocks, not all blocks. Is there a way to set this up?
Thanks!