Configuration
The main configuration file is located at plugins/AstralSync/config.yml. It is generated on first start with the defaults shown below.
Default config.yml
Options
read-only
Field | Value |
|---|---|
Type |
|
Default |
|
When true, AstralSync enters read-only mode:
All save operations are skipped — no new snapshots are written.
Data is still loaded from the database on join.
Deserialization continues even if an adapter key is not registered (the chunk is silently skipped instead of throwing an error).
Rollback operations via the
/snapshotscommand are blocked.
Use this mode on maintenance servers or read-replica instances that share a database with the primary server but should never overwrite player data.
To reload this value without restarting, run /sync reload.
ignored-attributes
Field | Value |
|---|---|
Type |
|
Default |
|
A list of attribute modifier key patterns to exclude when saving player attributes. This prevents transient modifiers — applied by server-side systems like game modes, active potion effects, or tower mechanics — from being persisted in snapshots.
Wildcard syntax: Patterns support * as a wildcard character matching any sequence. The match is applied to the full namespaced key (e.g. minecraft:effect.speed).
Examples:
Pattern | Matches |
|---|---|
|
|
|
|
| Any modifier in the |
| Exactly |
To apply changes, run /sync reload.
Reloading
Reloads config.yml and messages.yml at runtime without restarting the server. Requires the sync.command.reload permission.