Home›Java›Mods›Database API
This api will the use of a database simple as what!

How to use it:

Code (Text):
DbAPI.Connect("Host", "Port", "Database", "Username", "Password"); With this code you can connect to the database

DbAPI.AddTable("Tablename", "Row names"): With this code you can create a new table.

Example: DbAPI.AddTable("NewTable", "UUID varchar(100), Player varchar(100)"):

DbAPI.AddRow("Tablename", "Row name"); this will add a new row in your table

example: DbAPI.AddRow("NewTable", "Coins varchar(100)");

DbAPI.DelRow("Tablename", "Rowname") ;

example: DbAPI.DelRow("NewTable", "Coins varchar(100)") ;

DbAPI.CheckRowExist("Tablename", "Rowname") ; this one will return a true or false.

example: DbAPI.CheckRowExist("NewTable", "Coins varchar(100)") ;
 
More will coming soon.

Coming features:
- Receive data from the database
- Set data in the database
- More.....
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Database API is a free Minecraft Java mod. Downloaded 325 times (via Spigot). Download it and open it directly in the game.

Explore more