MINECRAFT-SERVER-JAVA(1)

NAME
minecraft-server-java - run a Minecraft Java server

SYNOPSIS
minecraft-server-java [Minecraft options]

DESCRIPTION
This program is a wrapper around the Minecraft Bedrock server. Executing it will start a Minecraft server instance. Learn more at <https://gitlab.com/kaidelorenzo/minecraft-server-rs>.

EXAMPLES

minecraft-server-java --nogui --help
    Launches without a gui and displays the available Minecraft Java server options.

ENVIRONMENT

CURRENT_DIR
    Set to a relative or absolute path that will be used to set the current directory context for the Minecraft server executable. This specifies the Minecraft configuration directory. To emulate the default behavior of the Mojang Minecraft executables set to "." to use the current directory as the Minecraft configuration directory.

JAVA_HOME
    Should have the standard behavior for specifying the Java version to use.

JVM_SETTINGS_FILEPATH
    Specifies an alternative location to read JVM settings from. This is a path to the actual file.

FILES

$XDG_CONFIG_HOME/net.minecraft.JavaServer/jvm-settings.txt
    Enter a string of arguments that would go after java and before -jar (e.g. -Xmx4G -Xms1G which will be equivalent to java -Xmx4G -Xms1G -jar ...)

$XDG_CONFIG_HOME/net.minecraft.JavaServer/minecraft
    The default config directory for Minecraft settings and data

$XDG_CONFIG_HOME/net.minecraft.JavaServer/additional-arguments.txt
    Enter a string of arguments that would go after server.jar these will be appended to any arguments passed directly to the executable (e.g. --nogui which will be equivalent to java -Xmx4G -Xms1G -jar <server.jar> ... --nogui)

$XDG_DATA_HOME/net.minecraft.JavaServer
    Location of Mojang executable files

$XDG_RUNTIME_DIR/minecraft-server-java.stdin
    systemd user service standard input. Write to this file to send commands to the Minecraft server. (e.g. echo "help" > $XDG_RUNTIME_DIR/minecraft-server-java.stdin)

SEE ALSO
minecraft-server-bedrock(1)

<https://gitlab.com/kaidelorenzo/minecraft-server-rs>