Cuberite Forum
PreciousBlocks - Rollback - 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: PreciousBlocks - Rollback (/thread-825.html)

Pages: 1 2 3


RE: PreciousBlocks - ThuGie - 03-23-2013

Yeah sounds nice, for multiple things.
ChatLog into sqliteBig Grin would allow easy searching for words etc.
Login/Logout saving seeing how long people are average online aka statics on webadmin ?


RE: PreciousBlocks - NiLSPACE - 09-28-2013

I'm currently working on a update where I don't use cIniFile anymore. I also don't use sqlite(simply because I don't know how to work with it.) I'm now saving everything in a .txt file. Whenever the plugin loads it reads everything in a table and when it shuts down it saves everything to the txt file. Right now it is already allot faster then the previous plugin. Smile


RE: PreciousBlocks - xoft - 09-29-2013

Say, even my tutorial with ProtectionAreas didn't help you with sqlite? Pity, I was hoping it would.


RE: PreciousBlocks - ThuGie - 09-29-2013

That is weird, as its quite detailed on how to use it.
But perhaps for somebody that has never used sql, it might be confusing as how to use it.


RE: PreciousBlocks - NiLSPACE - 10-12-2013

I uploaded the new version. If you find any bugs please report them Wink


RE: PreciousBlocks - NiLSPACE - 08-02-2015

I uploaded a new version that uses sqlite. It can also log things other than a player like vine's or fire (though the hook isn't as advanced as I hoped it would be). This is disabled by default though, because the database was getting allot bigger really fast. This is probably because I'm still using a Cuberite that is a month old with the bug where grass turns into dirt in low skylight.

I also have to write an article about the (small) configuration file.


RE: PreciousBlocks - Jammet - 09-05-2015

I'm wondering, how much rollback information does this actually store? And is the horizon defined by file size or age? Or filesize per player or age per player?


RE: PreciousBlocks - NiLSPACE - 09-05-2015

The plugin will store the world, cause(playername or #<natural action>), position, time, blocktype, blockmeta and the action(broken, placed etc).

It will always continue collecting the data. It won't stop unless there is no storage space left.


RE: PreciousBlocks - Rollback - NiLSPACE - 01-10-2016

I've updated the SQL handling again. It's now comparable to the way I did it in my Login plugin.


RE: PreciousBlocks - Rollback - Jammet - 01-10-2016

I wonder if it was possible to implement a "horizon". Like ... the last 1000 blocks per player. Or real time based, or play-time based.