ChestDataBase
ChestDataBase
ChestDataBase is an in game implementation of an SQL database using chest arrays to store data. Out of the box this mod also works as a simple economy (able to store money for each player that logs in (default 50 starting cash, but can be set). Devs can include the ChestDataBase objects to edit default tables and create new tables. Within plugins, tables can be created on the fly and will store persistent data without the need for an external database. Queries can be made by ops with in game commands. This is meant to be used by other mods to build persistent data that will go with your world from server to server without worrying about copying databases over.
Additionally this has some extra methods for managing chest inventory slots and item stacks that you might find useful. In truth, it was shear novelty that drove me to build this, but it ended up working pretty well, enjoy :) I will be updating this as needed.
Meant to be used with WorldGuard/WorldEdit, but is not required. Since the database is represented by actual physical objects in game that can be edited under certain circumstances, WorldGuard (or another region protection mod) is highly recommended.
By default this mod registers 1 table called Players with an origin of 0, 0 ,0 and iterates indexes at x+3 for each table row and z+2 for each column. Players comes stock with the following fields:
Name (key) - String: 96bits (6 item slots)
Money - integer: 30bits (5 items slots)
Bits - bit array: 6bits (1 item slot)
Using ChestDataBase
http:dev.bukkit.org/server-mods/chestdatabase/pages/using-chest-data-base/
Commands
http:dev.bukkit.org/server-mods/chestdatabase/pages/commands/
Default Config File
http:dev.bukkit.org/server-mods/chestdatabase/pages/default-configuration/
Please post up questions on how to use this if interested, I am unsure of what all to put into the help here.
NOTE The upcoming Book update for minecraft will probably drastically change the way this mod works.
Plugins Using ChestDataBase
ChestBuilder Adds build-able structures that do a variety of things including teleporters and firework launchers.
-
View User Profile
-
Send Message
Posted Jul 11, 2013Great plugin, you should be more specific in the introduction on what the plugin actually stores in the database. From what I read, I see that it stores items that are in chests?
-
View User Profile
-
Send Message
Posted Jul 11, 2012@Darkeh57
Thanks! :) I've been running it for a few months on both of my MP servers and its been working perfectly. Best part is when you backup your world files your database comes with it!
-
View User Profile
-
Send Message
Posted Jul 11, 2012This looks pretty interesting. Nice job!
-
View User Profile
-
Send Message
Posted Jun 4, 2012@pandapipino
No problem, let me know if you need any help with it, it can be somewhat confusing at first (as with any database).
-
View User Profile
-
Send Message
Posted Jun 1, 2012I may need this plugin. Thank you for making it :)