add minecraft server
This commit is contained in:
parent
ac7378ddc7
commit
98f99499ba
2 changed files with 21 additions and 0 deletions
|
@ -42,4 +42,24 @@
|
|||
PASSPHRASE = "VerySecurePassword69123";
|
||||
};
|
||||
};
|
||||
services.minecraft-server = {
|
||||
enable = true;
|
||||
eula = true;
|
||||
declarative = true;
|
||||
openFirewall = true;
|
||||
serverProperties = {
|
||||
accepts-transfers = true;
|
||||
difficulty = 3;
|
||||
enable-command-block = true;
|
||||
enable-rcon = true;
|
||||
enable-status = true;
|
||||
enable-query = true;
|
||||
enforce-secure-profile = false;
|
||||
max-players = 10;
|
||||
motd = "IT3Bili Minecraft server!";
|
||||
snooper-enabled = false;
|
||||
spawn-protection = 0;
|
||||
"rcon.password" = "AcceseGranted";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue