No_Grief Block Logger
No_Grief Block Logger[BETA]
No_Grief Logger - Effective No Database Logging for the small building servers
Fork of SuperLog. Will recommend that you use that if you do not care of the extra features this plugin has to offer.
Features of My Logger and SuperLog
- No Database other than flat-file...EVER
- Logs all data in readable .log files (formatted in a way that we can read it.)
- Logs commands.
- Ability to create log files for each individual player.
- Configurable in what blocks to log and what to log.
- If the log file gets too large(configurable amount of MB) then the plugin renames it and creates a new one. (No more lag-spikes/crashes)
- Display the configuration In-Game
- Logs dates
Now for the awesome stuff I added
Features
- LAG FREE NO DATABASE ROLLBACK (currently you can only rollback players, but ill add more methods ;) )
- Advanced Chest searches(see commands for more info)
- 1.2.5 R-4 Bukkit Support
- [Survival]Ability to return the number of mined blocks as a percentage(see commands for more info)
How to use?
It is actually very simple to use. There are two tools used to show you the log, the stick and the bedrock. Use the commands /wand or /w to get these tools.
BedRock :
- Left Click on any block to check for modifications
- Place the block of bedrock to check for any modifications to where you placed it.
- Checks only for broken/placed blocks to reduce lag
Stick :
- Left Click on any block to check for modifications
- Checks all the logs for changes(Checks who opened the chest left-clicked etc,)
Commands and Info
- Basic Commands :
- /wand || /w - Gives you logging tools || Toggles logging mode.
- The Advanced Chest Info :
- When you enter the search command, if any chests are found containing the item specified, it will display a list of chests containing the item and who placed it.
- The plugin then assigns an ID number to each chest found and stores the location of these chests until you call the search command again
- Using this ID, you can then TP to the chest and observe it. (You open it to view contents and use the Stick tool to see who opened it)
- The Advanced Chest Commands :
- /ch search item <Block or Item name> - Search command
- /ch tp <Chest ID> - Teleport to Chest ID
- /ch tp list - List all chest IDs and their Info
- RollBack : They see me rollin' they hatin'
Currently there is only one method but I will add more soon!
- /rollback player||p <Player Name>
- ViewLog :
Allows you to view the individual player log in-game in the format of the .log file. WARNING : Spams your chat and may not display all of the log if entered as a player and not the console
- /viewlog player||p <Player Name>
Permissions
- ng.wand - Allows /w or /wand
- ng.rollback - Allows rollbacking
- ng.chestsearch - Allows searching for chest
- ng.chesttp - Allows for TPing to the chest ID
- ng.viewlog - Allows for Cheaking the logs In-game
Remember the old days of the BigBrother using H2? I use logblock with a large DB but a lot of my friends servers are local or do not provide MySQL. Maby you could do flatfile logging for rollbacks. Yes, its a lot but help those people out you know.
Please update it to be multiworld compatible...
[2/1/2012 14:46.32] GRASS placed by: Gimlao at [X: -32 Y: 64 Z: 292 W:WorldNameHere]
I need that feature.
Is there a way to rollback by player?
This is cool but it would be even more epic if it had the rollback feature!
There is one bug: I'm running Bukkit on a Linux (Ubuntu) server, and it creates folders named "plugins\No_Grief\NGLogger\" and so on. But I can noot acces them, because Linux requires the / instead of the \.
Can you please fix this so I can use the plugin?
any way you can do something like a "only-ops use /wand: true/false" because i need my mods to see it but i don't want to give them game mode and all the other commands.
@UbuntuFreak
yay another ubuntu user, although i code this and test on windows i will fix this bug.
and @everyone else
Attempted rollback...failed. if you are dev and curious to know how I approach this then check out this pastie.
Another thing: Can you please add permissions für the block logger tool? I don't like to op all players, likewise I don't want to check who griefed ;)
And is it normal that by typing /wand the items that I hae in the hand is replaceed with a stick? I tried it holding a diamdond sword in my hand :/
@UbuntuFreak
i did in the dev build
http://dev.bukkit.org/server-mods/no_grief-collection/pages/dev-builds/
its ng.wand
EDIT: Does No_Grief Block Logger require No_Grief Main?
@sayaad
Thanks very much!
Woohoo! Been waiting for SuperLog to update when I found this - excellent! I only run a small server with about 15 players and just need simple flatfile logging. However, I use Multiverse.... any way to add the World they are in along with the coordinates?
There is one bug: On Linux systems, the log files are not stored in plugins > No_Grief > NGLogger, but in plugins
No_Grief
NGLogger
. This is really unpractical to open, because most linux system don't suppuer a
in the filename.
Could you also please not create one log file "blocks.log", but rather more log files like "world.log", "mining.log", "world_nether.log"? This would reduce the massive server lag (10+ seconds, because I didn't clean up the log files) a lot. Thx
@UbuntuFreak
1) Fixed file bug.
2) That will cause more lag lol.
Have been having a few problems which u may have fixed since i last downloaded this, but here they are.
1. After around 2 or 3 weeks of use the log file fills up and spams the console with an error which will stop if i delete the contents of the file. (noted u said "fixed file bug", is this the same 1?
2. /xray seems to show all blocks mined as coal, everything else shows as 0
3. i tested spy a while back and had some isues with it, so removed it straight away. I think ppl were getting stuck in spy mode and it was causing huge amounts of lag.
Can u confirm if all or any of these are known/fixed.
@the_merciless
Spectate
Thanks a lot for these bug reports. The more I get is the better I can make the plugin.
Logger No longer in BETA!
Official release is now out and is looking pretty bug free.
If you do in fact come across any bugs feel free to pm me, post a comment here or file a ticket if it contains an error in the console.
If you wish you can also pm me your server IP and I will try to join so I can help with the prob if there are any.
Please note, The reason I added a Download Button is that this is a currently very stable Development build and you do NOT get this version by clicking the download button from bukkit dev.
Also, the reason I did not wait for me to add more features to the other plugins before I updated this version in the collection of the rest is that I am really excited for this version of the logger ^.^
Gonna give it a try!
assuming this still works in 1.3?