feat(config): add validated persistent state
This commit is contained in:
@@ -17,6 +17,17 @@ The behavior under development is specified in the [OKF design bundle](design/in
|
||||
|
||||
The plugin JAR is written to `build/libs/`.
|
||||
|
||||
On first startup, the plugin creates `plugins/TriggerSpawn/config.yml`. Its cooldown defaults are:
|
||||
|
||||
```yaml
|
||||
cooldowns:
|
||||
one-kill-seconds: 28800
|
||||
two-kill-seconds: 14400
|
||||
three-kill-seconds: 3600
|
||||
```
|
||||
|
||||
Durable player and per-world state is stored in `plugins/TriggerSpawn/state.yml`.
|
||||
|
||||
For a local versioned build:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user