File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
nixos/modules/services/games Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 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 ;
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
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 } ;
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 "
You can’t perform that action at this time.
0 commit comments