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.
This is a whole new one lmao think it has to do with mcmmo possibly?
http://pastie.org/9432993
dont think it can handle the influx of the blocks all breaking at once.
@blackwolf1233 I downloaded the file linked and installed got the same message:
http://pastie.org/9433021
Also it's showing version 5.2.1, where the link indicates 5.2.3.
version 5.2.2 is also giving me the message:
http://pastie.org/9433019
Sorry to bother while your on vacation.
@Blacksmithkazuma
Are you sure you got the right one? Anyway, you can download the one that worked for me here. If that doesn't work that would be weird.
My vacation is pretty great, Wales is beautiful :)
You will hate me in the end haha Everything works fine it seems so no big issues just giving you this is you haven't seen it yet.
http://pastie.org/9431874
this is using your latest one
Hows the vacation going?
@blackwolf12333
In response to signature (somewhat unrelated to post):
The internet is a network of networks, The WWW is a series of hyperlinks going between pages on a web site, and other websites, a web-browser is a computer program parsing many file formats, mainly HTML, into a visible form from a Uniform Resource Locator (URL), And a search engine is a web server responding to requests of sites with certain content by using an index of sites to retrieve from, such as Google.
-famous1622
P.S. I'm a web developer
@Blacksmithkazuma
Latest development build should have your issue fixed. md5: 7b1517230e408512acb34d5ba8513f2d
@blackwolf12333
No hurries man enjoy your vacation, we all need a little RnR from time to time, lord knows I could use some myself hahaha!
@Blacksmithkazuma
I know how to fix that, it's not hard. Problem is that I am on vacation and have limited access to internet. I will see if I can fix it, but can't guarantee I will be able to get you a fix before the end of this vacation. It's not bad that there are still problems, I finally get something to do with my free time :P
@JaackMC
If there is nothing back one hour in the logs, because the last grief the player did was before that hour there is nothing to roll back because the grief took place before that. I guess you thought it would only roll back for one hour of the players play time. But it works so that it goes back in the logs for only the amount of time you specify and only rolls back events it found in that timeframe. I hope that helps :)
If the player who you're rolling back is offline, it doesn't rollback. Once you get to the timeframe part of the rollback process it doesn't do the rollback after typing something such as "1h"
LOl I'm back haven't tested anything yet and will update as soon as I do, but updated to Spigot 1.7.10 T_T and have the latest Dev build of World Edit 6.0.0 Build #3259
This is what I get for start up. hope this helps. I feel so bad for you man haha it never ends.
http://pastie.org/9415537
@hooners
Should be fixed in the latest development build, but I must warn you that build only works with WorldEdit 6.0 and up. So WorldEdit 5.x.y won't work if you use that. I will update that build as well in a minute.
edit: The latest development build can be used with WorldEdit 5.x.y and has all the fixes, md5: 75ad80c10664bfa39d66dc0b39789d04
it was me i searched for after breaking a couple blocks myself and verifying it registered. the glog tool worked so i know it registered, then search blew up as did rollback. if those two tools dont work this tool is really impaired :) so i hope you test those two pieces which are critical for i would think most users. thx
@hooners
Hmm, I haven't touched the conversations part of my plugin for ages, I am not surprised it is broken :P Let me fix that for you..
Seems as though you tried to search for a player that has never been on your server. It would be nice if you could check that.
grabbed latest, moved all other stuff outside folder to start clean. started up ok and no errors. logged into MC, broke a couple blocks, then did a simple glog search and got the following error.
[11:01:54] [Server thread/INFO]: hooners123 issued server command: /glog tool [11:02:24] [Server thread/INFO]: hooners123 issued server command: /glog tool [11:02:58] [Server thread/INFO]: hooners123 issued server command: /glog search [11:03:18] [Server thread/ERROR]: Error handling conversation prompt java.lang.NullPointerException at tk.blackwolf12333.grieflog.conversations.SearchConversation.fillParser(SearchConversation.java:82) [?:?] at tk.blackwolf12333.grieflog.conversations.SearchConversation.conversationAbandoned(SearchConversation.java:54) [?:?] at org.bukkit.conversations.Conversation.abandon(Conversation.java:278) [spigot.jar:git-Spigot-1494] at org.bukkit.conversations.Conversation.outputNextPrompt(Conversation.java:289) [spigot.jar:git-Spigot-1494] at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:230) [spigot.jar:git-Spigot-1494] at org.bukkit.craftbukkit.v1_7_R3.conversations.ConversationTracker.acceptConversationInput(ConversationTracker.java:58) [spigot.jar:git-Spigot-1494] at org.bukkit.craftbukkit.v1_7_R3.entity.CraftPlayer.acceptConversationInput(CraftPlayer.java:1030) [spigot.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.PlayerConnection$2.evaluate(PlayerConnection.java:842) [spigot.jar:git-Spigot-1494] at org.bukkit.craftbukkit.v1_7_R3.util.Waitable.run(Waitable.java:24) [spigot.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:639) [spigot.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [spigot.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:583) [spigot.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:489) [spigot.jar:git-Spigot-1494] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1494]
@Blacksmithkazuma
Great :) I'll put it up as a new download tomorrow.
@blackwolf12333
And we are golden, tested out a few of the glog commands and multiple world edit commands. Not a single error. Great job, I vote stable build XD Thanks for the hard work man, and keep up the great work.
@Blacksmithkazuma
I think I already fixed that problem but on the wrong code base, let me check.
Edit: Jup, I already fixed that on the main code base, but I made a separate one for WorldEdit 5.6 which didn't have that fix yet. Updated it and the latest development build should again have your problem fixed. MD5: b4264fa4a6ff4a7f59a2e59be230fb76
I really need to get this thing stable :/
@blackwolf12333
Your gunna hate me after all this lol - Still throwing up errors
http://pastie.org/9404282
I also went and created a test server, again using the same setup as my main server. This go around only had Glog installed. Both servers threw up the same error.
Nothing at startup, didn't try do to anything with World edit, if ya like I still can run a quick test with that if needed and if any errors pop up I can send them to you. Also MD5 did match so I am using the most recent.
@Blacksmithkazuma
Should be fixed in the latest development build, check the checksum though: MD5 e952af7adf531fecfbf514595086e818 Just to be sure it's the right one. Otherwise you would download the main development jar which won't work with worldedit 5.6.
@Blacksmithkazuma
Hmm, WorldEdit isn't making things easy for other developers :/
I'll get on it :)