promotional bannermobile promotional banner

RedDataBase

RedDataBase is a program which makes the implementation of DataBases easier.

RedDataBase

Languages

What is this plugin

RedDataBase is a plugin which can't do anything ingame. It will only give you the chance to implement a DataBase easier. It has only one DataBase-file in his own directory. Therefor it is easier to backup your DataBase. To learn how you use it please read the following text.

Usage

How to create your Tables

Everything is also explaned in examples.

  1. Make a new objekt of the RedDataBase.class in RedDataBase.RedDataBase.class.
  2. Make as many objekts from Table.class in RedDataBase.Table.class as your plugin need.
  3. Configure your Table-objekts with addcolumn(name of the column,which type of data you want to have in it).
  • The type of data can you configure with DataValue.class in RedDataBase.DataValue.class as you can see in the examples

How to insert data

  1. To insert data in your table you have to create a new Objekt of the Entry.class in RedDataBase.Entry.class.
  2. Configure the Entry by using the add<datatype>(name of column, data to put in) methods. (Make sure that all columns from the table are included by the Entry and in the right type)
  3. To insert your Entry in your table you use the add(table to insert in, entry which has to be inserted) from the RedDataBase.class.

How to read data

  1. Call the method get(table to get from) in the RedDataBase.class to get an ArrayList with all Entrys in your table.
  2. Get every Entry and get the data you want with the get<datatype>(name of column) from the Entrys.

How to drop your tables

There are two methods to drop your tables in RedDataBase.class:

  1. dropDB(table to drop) to drop your table and recreate it.
  2. onlyDropDB(table to drop) to drop your table. Note this won't recreate your table.

Appendix

I can release this plugin with authorization from the administration of Redstoneworld. Redstoneworld And please give me some feedback.

The RedDataBase Team

profile avatar
  • 3
    Projects
  • 5.1K
    Downloads

More from _ForgeUser9228009

  • MaterialIdLib project image

    MaterialIdLib

    • 643
    • Bukkit Plugins

    This is a libary to get Materials by IDs or IDs by Materials

    • 643
    • December 1, 2013
    • Bukkit Plugins
    • +1
  • DotA project image

    DotA

    • 2.2K
    • Bukkit Plugins

    DotA in Minecraft.

    • 2.2K
    • April 18, 2013
    • Bukkit Plugins
    • +2
  • BlockManager project image

    BlockManager

    • 2.0K
    • Bukkit Plugins

    A BlockManager Plugin which works with groups.

    • 2.0K
    • March 14, 2013
    • Bukkit Plugins
    • +1
  • MaterialIdLib project image

    MaterialIdLib

    • 643
    • Bukkit Plugins

    This is a libary to get Materials by IDs or IDs by Materials

    • 643
    • December 1, 2013
    • Bukkit Plugins
    • +1
  • DotA project image

    DotA

    • 2.2K
    • Bukkit Plugins

    DotA in Minecraft.

    • 2.2K
    • April 18, 2013
    • Bukkit Plugins
    • +2
  • BlockManager project image

    BlockManager

    • 2.0K
    • Bukkit Plugins

    A BlockManager Plugin which works with groups.

    • 2.0K
    • March 14, 2013
    • Bukkit Plugins
    • +1