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.
@Hilliard20914
You can select areas with WorldEdit and use /glog rollback we + your arguments. And to roll back all events of a player you can just leave the event argument away and it will take all the players events.
I can add an option to limit the size of a rollback, but I don't see why anyone would want that. If you are talking about the amount of events being rolled back?
Would it be possible to add an area augment to the search.
EX: /glog rollback e:break p:PLAYERNAME w:world t:2d4h30m a:100
That would search in an area 100 sphere. Also add an option in the config to limit the size of a rollback, and an event to rollback all events of a player.
@blackwolf12333
Got it and it works like a charm! Thanks for all the your work you did in this plugin.
@BlackScorpionXX
It's there :)
@blackwolf12333
@Blackwolf1233
Thanks for the update.
@BlackScorpionXX
It's under review now :)
@blackwolf12333
Still Waiting..... How many days has it been 6 /7?
@Blacksmithkazuma
It's in days. If one of the log files is older than that amount of days it is removed.
@blackwolf12333
only if you search after having months and months of activity haha j/k
@Pelluco I have used this plugin for a long time, besides updates breakin it once in a while it is a great plugin. No lag for me what so ever, might take a min or two to pull up searches if you do have a lot of activity but that is why it is also good to set the purge setting in the config, which brings me to this.
How is that set lol is it per MB or days, etc?
@blackwolf12333
@blackwolf12333
No problem I'll just have to wait. Thanks for all your help and skills!
@Pelluco
I think your question is if this plugin will make your server lag. The answer to that is no, it will not.
Genera lag???
@BlackScorpionXX
I have it fixed, but can't link you there because the BukkitDev moderators don't like it, it doesn't comply with a policy. I'll have to upload the jar here and wait for one of the moderators to approve it before you can get it.
@blackwolf12333
@blackwolf12333
Ok will wait for the fix.. :)
@BlackScorpionXX
Hmm, no that's because I didn't give you a version that is compatible with 1.7.10. Let me fix that.
@blackwolf12333
@blackwolf12333
Must be something wrong on my end , even with that version I'm still getting the exact message. See below. I'll keep working on it and keep you updated.
http://pastebin.com/iw14zpPj
@BlackScorpionXX
Try this one: http://wiki.bukkit.org/BukkitDev:Project_Submission_Guidelines
@blackwolf12333
@blackwolf1233
@Blacksmithkazuma
How did you resolve it? Even with the 5.2.3 release, i'm getting the same message?
post removed
@Blacksmithkazuma
Okay, that one is easy. Thanks for reporting though.
@BlackScorpionXX
Your problems are pretty much the same as Blacksmithkazuma had. One is related to a WorldEdit update that breaks pretty much every plugin out there. And the other problem is related to the latest craftbukkit update. That should have been fixed in that 5.2.3 release, and yes, I forgot to updated the version in the plugin itself :P