block-quote On this pagechevron-down
GitBook Assistant Ask chevron-down Configuration database ZelBounty supports three database types: SQLite, MySQL, and MongoDB.
SQLite (Default)
SQLite is the default database and requires no setup. Data is stored in plugins/ZelBounty/bounties.db.
Copy database :
type : SQLite
table-prefix : bounty_ Pros:
Cons:
Not suitable for networks/BungeeCord
Limited concurrent connections
MySQL is recommended for larger servers or networks.
Alternative: Full JDBC URL
For advanced configurations, use a full JDBC URL:
Pros:
Supports BungeeCord/Velocity networks
Better performance under load
MongoDB is ideal for large-scale servers or those already using MongoDB.
Install MongoDB on your server
With Authentication
Pros:
Document-based (flexible)
Database Schema
ZelBounty creates the following tables/collections:
Player UUID (Primary Key)
Bounties placed by player
Bounties claimed by player
ADD, REMOVE, RESET, CLAIM
Migrating Between Database Types
Create a backup first
Run the built-in backup command:
Change database type in config
Update your config.yml to the desired database type and connection settings.
Importing External Data
Import data from a separate database file:
Create timestamped backups:
Backups are saved to plugins/ZelBounty/backups/.
Table Prefix Warning
The table-prefix setting should not be changed after data has been created. If you need to change it:
Migrate your data using the migrate command
Use MySQL/MongoDB for servers with 50+ concurrent players
Use local database when possible (lower latency)
Regular backups are recommended
Monitor disk space for SQLite databases