BlockLogger - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html) +--- Thread: BlockLogger (/thread-670.html) |
BlockLogger - bearbin - 12-29-2012 This plugin aims to replicate LogBlock or CoreProtect (for bukkit) and make servers safer from griefers. This is HEAVILY a WIP, in fact only logging works at the moment. Current Features:
TODO:
How to download/use? There is a git repo for development work here: https://github.com/bearbin/BlockLogger Main Zip, use if you want more stability: here. Dev zip: http://ci.berboe.co.uk:8080/job/BlockLogger-Dev/lastSuccessfulBuild/artifact/BlockLogger.zip Just dump in your plugins folder and add to your settings.ini (Please, after all the other plugins or it will mess stuff up!) Note to people who might want to help: The things that really need work are more logging methods, if somebody could find a reliable MYSQL -> Lua interface it would be wonderful. If you need help, you can email me @ bearbin_AT_gmailDOTcom or use my skype (alexanderharkness). RE: BlockLogger - NiLSPACE - 12-29-2012 wow thanks, i was hoping someone would start making a copy of coreprotect is it possible already to see who destroyd or placed a block? EDIT: the plugin only stores the new logging after a reload. maybe that is a bug? and i get an error when i place blocks. there is an error in logger-textfile.lua at line 44 it says RE: BlockLogger - xoft - 12-29-2012 Would an SQLite API help? 'cause I was once pondering about adding it. MySQL is somewhat difficult to add, since it has different sources for each platform, if at all (RasPi / Android) RE: BlockLogger - bearbin - 12-29-2012 Yeah a SQLite API would be great! STR, mind updating to the latest version from github and telling me the error message you receive? RE: BlockLogger - NiLSPACE - 12-29-2012 it still doesn't work. the quality of the picture is bad for some reason but its readable. I have a (sort of) fix. if you change the code from onblockplace.lua to function OnBlockPlace( Player, X, Y, Z, blockface, status, newBlock ) _G[LOGFORMAT.."WriteBlockLog"](1, X, Y, Z, Player:GetName(), tostring(newBlock)) return false endit should work exept that it doesn't log what block you placed. so you get this kind of log: Quote:1356814248,1,275,67,89,STR_Warrior,nil RE: BlockLogger - bearbin - 12-29-2012 Hmm, strange. I shall have to look at the api or something. Anyway, I'm writing something to retrieve the logs. If you can find a fix I'll happily put it in. RE: BlockLogger - NiLSPACE - 12-29-2012 i tried allot of things but i can't let it work, sorry RE: BlockLogger - bearbin - 12-29-2012 I must be misunderstanding the API, or else it is broken RE: BlockLogger - NiLSPACE - 01-03-2013 wil it also be able to log fire? RE: BlockLogger - bearbin - 01-04-2013 I don't think it would be able to log fire, there isn't an API for it. I'll make a list of APIs I need and put them in the plugin discussion area. |