feat(config): add validated persistent state
This commit is contained in:
1 parent
152cac0740
commit
e646d12863
19 files changed
+639
-12
No files matched your search
@@ -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