You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lightweight Rust implementation of a fake Minecraft server. It supports server list responses (status/ping) and connection attempts, useful for testing clients or as a placeholder server.
6
+
7
+
## Configuration
8
+
9
+
Server uses a YAML configuration file (`config.yml`). If no configuration is found, default values will be used.
10
+
11
+
You can specify a custom path to the configuration file by setting the `CONFIG_PATH` environment variable.
12
+
13
+
Example configuration file with comments is provided in [`config.example.yml`](https://github.com/OreQr/fake-minecraft-server/blob/master/config.example.yml).
14
+
15
+
### Default values:
16
+
17
+
```yaml
18
+
debug: false
19
+
20
+
host: 127.0.0.1
21
+
port: 25565
22
+
23
+
status:
24
+
version:
25
+
same: true
26
+
27
+
players:
28
+
max: 20
29
+
online: 0
30
+
31
+
motd: "§cFake Minecraft Server"
32
+
favicon: server-icon.png
33
+
34
+
kick_message: "§c§lThis is a fake server!\n§eIt only responds to ping requests."
0 commit comments