Skip to content

Commit 6dc8edf

Browse files
authored
nixos/minecraft-server: update outdated links (#405554)
2 parents cc9b935 + e03123d commit 6dc8edf

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

nixos/modules/services/games/minecraft-server.nix

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ let
4545

4646
# To be able to open the firewall, we need to read out port values in the
4747
# server properties, but fall back to the defaults when those don't exist.
48-
# These defaults are from https://minecraft.gamepedia.com/Server.properties#Java_Edition_3
48+
# These defaults are from https://minecraft.wiki/w/Server.properties#Java_Edition
4949
defaultServerPort = 25565;
5050

5151
serverPort = cfg.serverProperties.server-port or defaultServerPort;
@@ -93,10 +93,8 @@ in
9393
type = lib.types.bool;
9494
default = false;
9595
description = ''
96-
Whether you agree to
97-
[
98-
Mojangs EULA](https://account.mojang.com/documents/minecraft_eula). This option must be set to
99-
`true` to run Minecraft server.
96+
Whether you agree to [Mojangs EULA](https://www.minecraft.net/eula).
97+
This option must be set to `true` to run Minecraft server.
10098
'';
10199
};
102100

@@ -167,10 +165,10 @@ in
167165
}
168166
'';
169167
description = ''
170-
Minecraft server properties for the server.properties file. Only has
168+
Minecraft server properties forthe server.properties file. Only has
171169
an effect when {option}`services.minecraft-server.declarative`
172170
is set to `true`. See
173-
<https://minecraft.gamepedia.com/Server.properties#Java_Edition_3>
171+
<https://minecraft.wiki/w/Server.properties#Java_Edition>
174172
for documentation on these values.
175173
'';
176174
};
@@ -182,7 +180,7 @@ in
182180
jvmOpts = lib.mkOption {
183181
type = lib.types.separatedString " ";
184182
default = "-Xmx2048M -Xms2048M";
185-
# Example options from https://minecraft.gamepedia.com/Tutorials/Server_startup_script
183+
# Example options from https://minecraft.wiki/w/Tutorial:Server_startup_script
186184
example =
187185
"-Xms4092M -Xmx4092M -XX:+UseG1GC -XX:+CMSIncrementalPacing "
188186
+ "-XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 "

0 commit comments

Comments
 (0)