config.yml
plugins/FastWorldLoader/config.yml.
yaml
# Where templates are kept: FILE (this server's templates/ folder) or MYSQL (a shared database).
storage:
type: FILE
mysql:
host: 127.0.0.1
port: 3306
database: fastworldloader
username: root
password: ""
table-prefix: fwl_
poll-seconds: 5
properties:
allowPublicKeyRetrieval: true
# Read every stored template into memory at startup, so the first open of each doesn't wait for the disk.
preload-templates: true
# Keep the spawn area of open worlds loaded, as Minecraft does before 1.21.9. Off: opening a world loads no chunks
# first; chunks load as players come.
keep-spawn-loaded: false
# Upgrade templates older than the server once, in the background (see "Old maps").
upgrade-templates: true
# Most milliseconds of a server tick an upgrade spends loading chunks; less while the server is behind.
upgrade-tick-budget: 20
# Threads that encode and decode the chunks of open worlds. Default: half the processors, at least 2.
# chunk-threads: 2| Key | Default | Meaning |
|---|---|---|
storage.type | FILE | FILE or MYSQL. See Storage and networks. |
storage.mysql.* | Connection for MYSQL. The database must exist; the plugin makes its tables. | |
storage.mysql.poll-seconds | 5 | How often other servers' changes are picked up. |
preload-templates | true | Load all templates into memory at startup. |
keep-spawn-loaded | false | Keep open worlds' spawn chunks loaded. |
upgrade-templates | true | Upgrade old maps once in the background. |
upgrade-tick-budget | 20 | Max ms of a tick an upgrade uses. |
chunk-threads | half the CPUs | Threads encoding/decoding open worlds' chunks. |