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 Jun 3, 2013@blackwolf12333
Always forget that...
-
View User Profile
-
Send Message
Posted May 31, 2013@doglover129 @soysuva
doglover129 meant /glog rb not /rb :)
-
View User Profile
-
Send Message
Posted May 31, 2013@soysuva
Well, it rolls back to the player of what you tell it to do. For example, if you use a command such as, /rb p:Player e:block_break it will just go back to the first time "Player" broke a block. If you have world edit, you can select an area in which case you would use: /rb we p:Player e:Block_break and it would only rollback the region you selected with world edit. So to answer your question, yes, it would go back to the beginning of the server log WITH the matching values that you put in.
-
View User Profile
-
Send Message
Posted May 25, 2013@soysuva
Hmm, I removed that not long ago because I didn't think anyone would use it. But I can add it again if you really want it.
-
View User Profile
-
Send Message
Posted May 25, 2013Can you add a command like: "/gl report" for players to report a grief if their are no admins or OP online and it will send a message to an admin/OP when they log in so they can check the grief at the specific position please?
Also, when using the rollback command, does it roll back to a specific date or time? Or does it roll back completely to when the server was first created?
-
View User Profile
-
Send Message
Posted May 20, 2013@KrazyRocker567
The grieflog logs will be in your server root. (Where you have the craftbukkit.jar saved, there is bukkit.yml, server.properties, etc...) you will find a folder named "logs" within that folder, you will find the names of your worlds. Inside the folder for the world you want, you will find the grieflog.txt files.
-
View User Profile
-
Send Message
Posted May 20, 2013nice work :)
-
View User Profile
-
Send Message
Posted May 20, 2013I can't find the grieflog.txt
-
View User Profile
-
Send Message
Posted May 17, 2013@A_Mills
If there are no errors in the console the only thing I can think of is that you have like 50 files per world, if you have more than 10 log files you might want to remove some. That is the only thing that can slow searching down.
-
View User Profile
-
Send Message
Posted May 16, 2013hi ever since the 1.5.2 update to minecraft whenever i use the glog tool it takes over 30 seconds to get the results, when before it was almost instant, and if i try to do a rollback it just kicks me from the game. do you know why this might be happening?
-
View User Profile
-
Send Message
Posted May 15, 2013@Skyshayde
That would probably be it yeah.
-
View User Profile
-
Send Message
Posted May 15, 2013If I recall correctly, MCPC+ does not fully implement the bukkit api. Which would be why it doesnt work.
-
View User Profile
-
Send Message
Posted May 4, 2013@PROdotes
CraftBukkit isn't vanilla remember :P
-
View User Profile
-
Send Message
Posted May 4, 2013technically speaking, item use is a vanilla function... food, potions, bows :P
-
View User Profile
-
Send Message
Posted May 4, 2013@PROdotes
I can't add things for non-bukkit because I never intended this plugin to be used in other software than Craftbukkit. If you want it to work, you may take my code and add everything you need to it, but it won't be in this plugin.
-
View User Profile
-
Send Message
Posted May 4, 2013it's weird behavior tho... block placement is block placement... don't really understand what mcpc does different then any of the vanilla blocks... the only way to explain it is that mcpc+ doesn't really place the blocks, instead it spawns them... and that would be really weird... but again... neither grieflog nor coreprotect log the placement of the blocks... also... is there an option to log item use? stuff like the dig spell from arsmagica and the wand of excavation bypass protection plugins due to the way they are coded... so it's either disabling them with disablecraft or a way to log if someone used them in the vicinity... sigh... forge/bukkit servers are a huge PITA :)
-
View User Profile
-
Send Message
Posted May 4, 2013@PROdotes
MCPC+ is a mod of CraftBukkit, that means that it is different than CraftBukkit itself. GriefLog is designed and written for CraftBukkit, so when a mod of CraftBukkit doesn't work, I am sorry I can't help you with that :/
-
View User Profile
-
Send Message
Posted May 4, 2013Anyone know why with mcpc+ this plugin doesn't log modded block placements? I understand why stuff like quarrys wouldn't log... since they don't use fake users... but placing a block should show up... placed down a ic2 rubber wood and then brok it twice, and it just shows BLOCK_BREAK X243:0
-
View User Profile
-
Send Message
Posted May 3, 2013@HaniiPuppy
Ok, you have a point there. It is implemented, but not in the 4.9.6 release yet.
-
View User Profile
-
Send Message
Posted May 2, 2013It's because saving to a CSV file gives me the ability to easily view and manipulate data from Grieflog in other applications (ie spreadsheet and database programs like Filemaker or Excel).
At the minute (or, at least, before you implemented it just there), the only way to manipulate the data Grieflog produces is in a text editor or by writing my own script to parse it into a filetype I can use in a spreadsheet or database app.