|
1 | 1 | --- |
| 2 | +# The host:port pair for the server to listen on. Required. |
2 | 3 | listen_on: 127.0.0.1:9753 |
| 4 | +# Path to the directory that contains minecraft worlds. Required. |
3 | 5 | worlds_path: /var/lib/minecraft/worlds |
4 | | -current_world_name: current_world |
5 | | -server_socket_path: /run/minecraft/minecraft.socket |
| 6 | +# A path to the YAML file that contains users database. Required. |
| 7 | +# Note: This file must be writeable for the program to work properly. |
6 | 8 | users_file_path: /var/lib/minecraft/users.yml |
| 9 | +# The base public URL for the web server. Required. |
| 10 | +# This is required to generate enrollment links. |
7 | 11 | base_url: http://127.0.0.1:9753/ |
| 12 | +# A minimum password length that the user can create when enrolling into the |
| 13 | +# system. Optional. Default is 10. |
8 | 14 | min_password_length: 10 |
| 15 | +# A maximum password lenght that the user can create when enrolling into the |
| 16 | +# system. Optional. Default is 128. |
9 | 17 | max_password_length: 128 |
| 18 | +# A master key that is used to derive a signing key for cookies. Optional. |
| 19 | +# By default a new key will be generated when the server starts. Note, that |
| 20 | +# omitting this key will mean all existing cookies will be invaidated after a |
| 21 | +# server restart. |
10 | 22 | cookie_key: NKZW9j1Q7ABNv01xF5NSI3gmyKDaTrVb |
| 23 | +# A path to the `server.properties` file from the Minecraft server. Required. |
| 24 | +# This is used to obtain information about the RCON socket location and |
| 25 | +# credentials used to connect. Required. |
| 26 | +server_properties_path: path::PathBuf, |
| 27 | +# A path to the private key for the TLS certificate to use for serving the web |
| 28 | +# interface using HTTPS protocol. Optional. Must be specified if the |
| 29 | +# `tls_chain` value is set. |
| 30 | +tls_key: Option<path::PathBuf>, |
| 31 | +# A path to the certificate chain for the TLS certificate to use for serving |
| 32 | +# the web interface using the HTTPS protocol. Optional. Must be specified if |
| 33 | +# the `tls_key` value is set. |
| 34 | +tls_chain: Option<path::PathBuf>, |
| 35 | +# A number of web workers to run. Optional. By default use a single worker per |
| 36 | +# core available on the system. |
| 37 | +worker_count: Option<num::NonZeroUsize>, |
0 commit comments