switched to papermc and added port for squaremap
This commit is contained in:
parent
b48d76d32f
commit
7323a2256b
1 changed files with 5 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
|
||||
services.minecraft-server = {
|
||||
package = pkgs.papermc;
|
||||
enable = true;
|
||||
eula = true;
|
||||
openFirewall = true; # Opens the port the server is running on (by default 25565 but in this case 43000)
|
||||
|
|
@ -32,4 +33,8 @@
|
|||
};
|
||||
jvmOpts = "-Xms2048M -Xmx2048M";
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 8080 ];
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue