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.
@blackwolf12333
Just tested the latest dev build and no errors. Thanks for the fix XD
---------------I spoke too soon. no more error on start up but when I did a Schem load and went to paste this is what I got
(I had to cut it down, but it was just the same thing over and over)
http://pastie.org/private/pmhek3yoityypbbl2oa
@Blacksmithkazuma
Should be easy enough to fix, I'll update when I'm done :)
Edit: latest development build should work with worldedit 5.6.2. You might want to check the md5 sum to make sure it is the right one: ae0f226370f3cec54827daed08330c0f
Get this at server startup using World Edit 5.6.2 and Spigot .7.9 R.03 Snapshot
http://pastie.org/9372971
haven't tried doing any commands yet with it, as im still in the process of setting up everything. Just figured I would pass it along in case its a rather severe issue.
@hooners
Latest development build shouldn't throw errors, could you paste them here? Or create a ticket?
just grabbed the latest dev version and it throws exceptions with any glog command. latest not out there yet? let us know. thanks.
@blackwolf12333
Yup, that would be the version I had. Thank you for the update!
@raviax
I guess you downloaded version 5.2.0. I'll remove that file now because it indeed has a bug in it that causes this error to happen. I have fixed it in 5.2.1 but that still needs approval by the moderators.
Hi there, I just installed GriefLog onto my server and get the following error in game anytime I type a glog command:
An internal error occurred while attempting to perform this command
This is what shows up in my console:
Thank you for your help.
@hooners
I think I do have it fixed locally, I'm not sure if I uploaded it to github yet so I don't know if there is a development build already. I went on camp with school the past 2 days so I'm kinda unsure what I did last time :/
Edit: I think it's fixed though.
thanks! any luck on that last fix? :) i'm holding out.
@raulness
What version of GriefLog are you using? The line numbers in the error don't match with the latest update.
@hooners
I fixed your problem in the latest development build. There is another issue however, I am working on that now, will update when I'm done with that.
ahhh! still having issues. glog search from command line gives this below. Also, I noticed i'm getting all the updates from blog IN the console now? where i didn't see them before - perhaps there's just a config setting to make it quiet in console? let me know on error below. Had to roll back.
glog search
[01:34:35 WARN]: Unexpected exception while parsing console command "glog search" org.bukkit.command.CommandException: Unhandled exception executing command 'glog' in plugin GriefLog v5.2.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1518] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1518] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:769) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1518] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchServerCommand(CraftServer.java:755) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1518] at net.minecraft.server.v1_7_R3.DedicatedServer.aB(DedicatedServer.java:319) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1518] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:284) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1518] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:583) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1518] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:489) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1518] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1518] Caused by: java.lang.NullPointerException at tk.blackwolf12333.grieflog.commands.GLogSearch.onCommand(GLogSearch.java:23) [?:?] at tk.blackwolf12333.grieflog.commands.GLog.onCommand(GLog.java:82) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1518] ... 8 more
I'm having some pretty weird issues with this plugin on 1.7.10. Can't seem to do rollbacks for some reason. Getting an "internal error" in game. Here's the console log:
@hooners
Fixed it already, uploading new file now and development build should be ready too now.
Can't get new version to run? Had to revert to previous. FYI - I completely removed old plugin, renamed old GriefLog folder and stopped server completely and started back up.
[22:22:14] [Server thread/ERROR]: Error occurred while enabling GriefLog v5.2.0 (Is it up to date?) java.lang.NullPointerException at tk.blackwolf12333.grieflog.GriefLog.setupLogging(GriefLog.java:167) [?:?] at tk.blackwolf12333.grieflog.GriefLog.onEnable(GriefLog.java:109) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:465) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:383) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:359) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:333) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:289) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:193) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:457) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1502]
@blackwolf12333
I am using the latest Development build.
@Scienziatogm
Thanks, and I understand now why you are getting these errors. Let me see if I can fix that for you :)
What version of GriefLog were you using though?
@blackwolf12333
I sent you a PM.
@Scienziatogm
In your server directory, go to plugin/GriefLog/logs take the files from the world you were searching in and pm me a download link.