Minecraft Server: Difference between revisions

mNo edit summary
m clarified flags --> jvm flags
Line 37: Line 37:
     allow-cheats = true;
     allow-cheats = true;
   };
   };
   jvmOpts = "-Xms2048M -Xmx2048M";
   jvmOpts = "-Xms2048M -Xmx2048M";  
};
};
</nowiki>}}
</nowiki>}}
You might want to view the [https://minecraft.wiki/w/Server.properties#Keys list of all available server properties for the vanilla server].
You might want to view the [https://minecraft.wiki/w/Server.properties#Keys list of all available server properties for the vanilla server].


See [[#See also]] for recommended flags for the <code>jvmOpts</code> option.
See [[#See also]] for recommended JVM flags for the <code>jvmOpts</code> option.
== Tips and tricks ==
== Tips and tricks ==


Line 94: Line 94:


* [https://github.com/Infinidoge/nix-minecraft nix-minecraft], a [[flake]] based attempt to better support Minecraft related content for the Nix ecosystem. It can be used for more complex server setups, including mods and plugins.
* [https://github.com/Infinidoge/nix-minecraft nix-minecraft], a [[flake]] based attempt to better support Minecraft related content for the Nix ecosystem. It can be used for more complex server setups, including mods and plugins.
* https://exa.y2k.diy/garden/jvm-args for setting additional JVM options in the <code>jvmOpts</code> option. Some server-related software—like the Velocity proxy—have their own recommended flags list.
* https://exa.y2k.diy/garden/jvm-args for setting additional JVM flags in the <code>jvmOpts</code> option. Some server-related software—like the Velocity proxy—have their own recommended JVM flags list.
* https://mcuuid.net to get a player's UUID from their current username or vice versa.
* https://mcuuid.net to get a player's UUID from their current username or vice versa.
[[Category: Applications]]
[[Category: Applications]]
[[Category: Gaming]]
[[Category: Gaming]]