This repository was archived by the owner on Jun 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
timsixth edited this page Aug 3, 2023
·
22 revisions
T-DataBasesApi is a library to manage database in your spigot plugin.
The library works on versions from 1.8.8 to 1.20.1.
The library supporting SQL databases MySql and SQLite.
- The plugin connects to database which you type in config.yml. You don't have to configure database connection.
- Sync executing query.
- Async executing query.
- Manage the connection to database like close, open, get.
- Table creator. You don't have to write sql code which creates e.g. MySql table.
- Migrations system (You can migrate table once and update again).
- Query Builder (You don't have to write SQL queries, queries are generated automatically by method).
Maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.timsixth</groupId>
<artifactId>T-DataBasesAPI</artifactId>
<version>Tag</version>
</dependency>Gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.timsixth:T-DataBasesAPI:Tag'
}config.yml
Note: Type must be written in uppercase e.g. SQLITE,MYSQL.
hostname: 'localhost'
username: 'root'
password: ''
database: 'servertestowy'
port: 3306
type: MYSQL