promotional bannermobile promotional banner

ChestDataBase

In game data base system using chest arrays
<p>default icon for project</p>

default icon for project

Description

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.

The ChestDataBase Team

profile avatar
  • 4
    Projects
  • 11.1K
    Downloads

More from _ForgeUser8662071

  • Grieper project image

    Grieper

    • 1.5K
    • Bukkit Plugins

    Stop players from luring creepers onto protected regions

    • 1.5K
    • January 13, 2013
    • Bukkit Plugins
  • AntiPort project image

    AntiPort

    • 2.5K
    • Bukkit Plugins

    Keep players from teleporting in/out of WorldGuarded regions

    • 2.5K
    • August 5, 2012
    • Bukkit Plugins
    • +1
  • ChestBuilder project image

    ChestBuilder

    • 3.2K
    • Bukkit Plugins

    Build machines using blueprints in chests.

    • 3.2K
    • July 15, 2012
    • Bukkit Plugins
    • +2
  • Grieper project image

    Grieper

    • 1.5K
    • Bukkit Plugins

    Stop players from luring creepers onto protected regions

    • 1.5K
    • January 13, 2013
    • Bukkit Plugins
  • AntiPort project image

    AntiPort

    • 2.5K
    • Bukkit Plugins

    Keep players from teleporting in/out of WorldGuarded regions

    • 2.5K
    • August 5, 2012
    • Bukkit Plugins
    • +1
  • ChestBuilder project image

    ChestBuilder

    • 3.2K
    • Bukkit Plugins

    Build machines using blueprints in chests.

    • 3.2K
    • July 15, 2012
    • Bukkit Plugins
    • +2