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:
  • Text file block logging.
  • Expandable logging methods.
  • Logging of creation or deletion of blocks. Until the API is a bit better, this is pretty much all I can manage.

  • Make rollbacks possible.
  • Get a database block log storage engine.
  • Fix bugs

How to download/use?

There is a git repo for development work here:

Main Zip, use if you want more stability: here.
Dev 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).
Thanks given by: NiLSPACE
wow thanks, i was hoping someone would start making a copy of coreprotectBig Grin
is it possible already to see who destroyd or placed a block?
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
Thanks given by:
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)
Thanks given by:
Yeah a SQLite API would be great!

STR, mind updating to the latest version from github and telling me the error message you receive?
Thanks given by:
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
it should work exept that it doesn't log what block you placed. so you get this kind of log:
Thanks given by:
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.
Thanks given by:
i tried allot of things but i can't let it work, sorry Sad
Thanks given by:
I must be misunderstanding the API, or else it is broken Sad
Thanks given by:
wil it also be able to log fire?
Thanks given by:
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.
Thanks given by:

Users browsing this thread: 1 Guest(s)