minecraft: updated whitelist

This commit is contained in:
Serĉanto de Scio 2021-05-25 16:07:37 +10:00
parent bd55f105dc
commit a21b2b1734
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -12,15 +12,23 @@
services.minecraft-server = { services.minecraft-server = {
enable = true; # Enable the Minecraft server. enable = true; # Enable the Minecraft server.
declarative = true;
eula = true; # Answer Miecraft's EULA eula = true; # Answer Miecraft's EULA
openFirewall = true; openFirewall = true;
serverProperties = { serverProperties = {
motd = "mcwhirter.io"; motd = "mcwhirter.io";
white-list = true; white-list = true;
enable-rcon = true;
"rcon.password" = "hunter2";
}; };
whitelist = { whitelist = {
hamish12345 = "cb280dd7-14af-4f5b-9855-7051c98e6860";
TongMaster = "765bbc7c-6a06-4f10-8bde-f15a8a779007"; TongMaster = "765bbc7c-6a06-4f10-8bde-f15a8a779007";
STWXander = "0a6dd5d3-25e8-4fc6-a601-2a1a6838e22a";
}; };
}; };
environment.systemPackages = with pkgs; [
mcron # Minecraft console client
];
} }