Minecraft server properties for the server.properties file. Only has an effect when services.minecraft-server.declarative is set to true
. See https://minecraft.gamepedia.com/Server.properties#Java_Edition_3 for documentation on these values.
Declarations
Type
attribute set of (boolean or signed integer or string)
Default
{ }
Example
{
server-port = 43000;
difficulty = 3;
gamemode = 1;
max-players = 5;
motd = "NixOS Minecraft server!";
white-list = true;
enable-rcon = true;
"rcon.password" = "hunter2";
}