feat(servers): update mc-sv to 1.21
All checks were successful
Discord / discord commits (push) Successful in 38s
All checks were successful
Discord / discord commits (push) Successful in 38s
This commit is contained in:
parent
917e5ae3fc
commit
3efa0d6230
1 changed files with 3 additions and 2 deletions
|
@ -28,6 +28,7 @@ in {
|
||||||
instances = let
|
instances = let
|
||||||
jre17 = pkgs.temurin-bin-17;
|
jre17 = pkgs.temurin-bin-17;
|
||||||
jre18 = pkgs.temurin-bin-18;
|
jre18 = pkgs.temurin-bin-18;
|
||||||
|
jre21 = pkgs.temurin-bin-21;
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
spawn-protection = 0;
|
spawn-protection = 0;
|
||||||
|
@ -41,13 +42,13 @@ in {
|
||||||
|
|
||||||
jvmMaxAllocation = "10G";
|
jvmMaxAllocation = "10G";
|
||||||
jvmInitialAllocation = "2G";
|
jvmInitialAllocation = "2G";
|
||||||
jvmPackage = jre18;
|
jvmPackage = jre21;
|
||||||
jvmOpts = "";
|
jvmOpts = "";
|
||||||
|
|
||||||
serverConfig =
|
serverConfig =
|
||||||
{
|
{
|
||||||
server-port = 25569;
|
server-port = 25569;
|
||||||
motd = "1.20.4 gaming";
|
motd = "1.21 gaming";
|
||||||
|
|
||||||
extra-options = {
|
extra-options = {
|
||||||
difficulty = "hard";
|
difficulty = "hard";
|
||||||
|
|
Loading…
Reference in a new issue