Database Configuration
AstralSync uses a MariaDB database to store player snapshots. The connection is configured in plugins/AstralSync/database.properties, which is generated on first start.
Default database.properties
Properties Reference
jdbcUrl
The full JDBC connection URL for your MariaDB instance.
Format:
Example with SSL disabled (typical for local/private networks):
Example with SSL enabled:
driverClassName
The JDBC driver class name. Do not change this unless you are switching database vendors.
dataSource.user
The MariaDB username used to authenticate.
dataSource.password
The MariaDB password for the configured user.
poolName
The name assigned to the HikariCP connection pool. Useful for identifying the pool in monitoring tools.
Database Schema
AstralSync creates and manages the snapshots table automatically on startup. No manual schema setup is required.
Column | Type | Description |
|---|---|---|
|
| Primary key — snapshot UUID |
|
| Player UUID this snapshot belongs to |
|
| Compressed, serialized snapshot data |
|
| Integrity checksum (SHA-256) |
|
|
|
|
| Unix timestamp of creation |
|
| Unix timestamp of last update |