add minecraft server
This commit is contained in:
parent
ac7378ddc7
commit
98f99499ba
2 changed files with 21 additions and 0 deletions
|
@ -106,6 +106,7 @@
|
||||||
"192.168.88.253" = [
|
"192.168.88.253" = [
|
||||||
self.nixosConfigurations.flora-mate.config.networking.hostName
|
self.nixosConfigurations.flora-mate.config.networking.hostName
|
||||||
"ap"
|
"ap"
|
||||||
|
"minecraft"
|
||||||
];
|
];
|
||||||
"192.168.88.1" = [
|
"192.168.88.1" = [
|
||||||
"router"
|
"router"
|
||||||
|
|
|
@ -42,4 +42,24 @@
|
||||||
PASSPHRASE = "VerySecurePassword69123";
|
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
Reference in a new issue