Use motd from config
This commit is contained in:
parent
08139a2ec7
commit
9b760eb58f
@ -1,4 +1,4 @@
|
|||||||
favicon = "server-icon.png"
|
favicon = "server-icon.png"
|
||||||
max_players = 20
|
max_players = 20
|
||||||
motd = "Composition MOTD"
|
motd = "Hello world!"
|
||||||
port = 25565
|
port = 25565
|
||||||
|
@ -120,7 +120,7 @@ impl Server {
|
|||||||
max_players: CONFIG.max_players,
|
max_players: CONFIG.max_players,
|
||||||
current_players,
|
current_players,
|
||||||
description: json!({
|
description: json!({
|
||||||
"text": "Hello world!"
|
"text": CONFIG.motd
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
.await;
|
.await;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user