Skip to content

Storage

Justin_SGD edited this page Feb 1, 2026 · 6 revisions

Storage Setup

JuByteCase stores data in a database. Supported dialects:

  • H2Portable (default, file-based)
  • MySQL/MariaDB

All settings are located in database.yml.


database.yml (current)

Database:
  dialectName: 'H2Portable'   # H2Portable | MySQL | MariaDB (depends on driver)
  Host: 'localhost'
  Port: 3306
  User: 'root'
  Password: 'Test'
  useSSL: false
  databaseName: 'CaseOpening'

H2Portable

  • Keep dialectName: 'H2Portable'
  • No external database server needed
  • Data is stored in plugins/CaseOpening/datafolder/

MySQL / MariaDB

  • Set dialectName to a supported SQL dialect (usually MySQL)
  • Set host, port, user, password, and databaseName
  • Optional: set useSSL: true if your server requires SSL/TLS

What is stored?

  • player_case: UUID, case name, amount
  • case_location: all CaseBlocks placed in the world
  • case_log (optional): win history (only if CaseLog: true in config.yml)

JuByteCase Wiki

Plugin Usage

Setup

API

Clone this wiki locally