Minecraft Server: Difference between revisions

Added a section about accessing the Minecraft server console. Moved resources about JVM options for Minecraft to the See Also section. Added resource about all available Minecraft server properties.
Line 78: Line 78:
Example minimal configuration:
Example minimal configuration:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.minecraft-server = {
services.minecraft-server.serverProperties = {
  ...
  serverProperties = {
     enable-rcon = true;
     enable-rcon = true;
     "rcon.password" = "your password";
     "rcon.password" = "your password";
  };
};
  ...
};
</nowiki>}}
</nowiki>}}