Solved Logging of looting

Discussion in 'Plugin Requests' started by Spiritwind, Mar 8, 2015.

  1. That's quite helpful indeed. But only for when stuff gets stolen from a crate by someone who's not supposed to have access to it. Problem is, within a clan everyone has access to all the boxes, so it's quite hard to find out who stole all the wood from a big wood crate if everyone has access to it in order to put in the wood in the first place. I'm guessing BoxLooters doesn't track that?

    I know a bit about C#, but I don't know remotely enough to log all that in an efficient way, which is why I hope someone has already made such a plugin. The CoreProtect plugin actually uses an SQLite Database to store that, I have no idea how to even use SQLite in general
     
  2. If you logged every item deposit and withdrawal from every storage container on a server your log would be unbelievably big. Say you had 100 players playing your server and for this example lets say they accessed a box and changed its contents 30 times per hour that's 3000 log entries right there, within half a day your log would be so big your server would lag just trying to write to it, even if you broke it down into hour slots I think you would have trouble finding the information you require, not to mention finding the specific box your looking for in a sea of log entries

    If it was feasible I would've added it to BoxLooters
     
  3. CoreProtect for Minecraft does it though, I just have to live with it generating a database of up to 5gb, until it deletes older logs again. It doesn't slow down either because of the way it stores it. Might lag though if I try to look at the log for a certain chest, but I can live with that to be honest.

    CoreProtect - Bukkit

    Here is what it does and some info how it does that.

    We had that running on a 240 player Minecraft Server with 0 issues, and in Minecraft it even logs who mined what block and stuff like that, so the log would be even bigger. It even allows rollbacks to older "versions" of a block, chest, area or even a part of the map.

    It would be really reaaaally awesome to have just that in Rust too! I don't even talk about the building part, although having that would be even greater! It is the best tool for admins I've ever used.

    I would actually attempt that too, but I don't have the time to learn C# and how to use SQLite just for a plugin
     
  4. That's absolutely awesome, thank you very much! I just tested it and though some people might not like that they have to go read through a file, I actually prefer it this way since you have every single action ever logged including a timestamp. That's great for administrating. Thanks!