This version of Flare Mobcoins offers MySQL, SQL, Basic file.
Setup storage in config
The file-based option for storing tokens is not ideal as it can be time-consuming to search for an account within a large file containing numerous accounts. This can result in significant delays.
config.yml
storage: # This is used to not spam the connection with a lot of reads, but if you want to disable this feature set the cache_time to 0
cache_time:5# Choose (file|mysql|sqlite)type:file
MySQL is used if you want to connect multiple servers to the same database.
config.yml
storage: # This is used to not spam the connection with a lot of reads, but if you want to disable this feature set the cache_time to 0
cache_time:5# Choose (file|mysql|sqlite)type:MySQLmysql:host:"localhost"port:"3306"database:"test"username:"root"password:""table:"flaretokens"
SQLite is a good alternative from basic file storage, because is faster and optimizated.
config.yml
storage: # This is used to not spam the connection with a lot of reads, but if you want to disable this feature set the cache_time to 0
cache_time:5# Choose (file|mysql|sqlite)type:SQLitesqlite:file:"tokens.db"table:"flaretokens"