Resource icon

Database Extendability 1.0

Denic

Supporter
Denic submitted a new resource:

Database Extendability - Send and grab data from MySQL and SQLite Databases with ease

DatabaseExtendability is an advanced but easily usable sql query API for NukkitX 2.0

Usage for SQLite:
Java:
class PlayerDatabase extends SQLiteDatabase {
    public PlayerDatabase(File file) {
        super(file);
        super.connect();
    }

    @Override
    public void initiate() {
        try {
            executeUpdate("CREATE TABLE IF NOT EXISTS players (player TEXT, rank TEXT, level INTEGER, kills INTEGER, deaths INTEGER);");
        } catch (Exception e) {...
Read more about this resource...
 
Top