MINECRAFT-SERVER-FABRIC(1)

NAME
minecraft-server-fabric - run a Minecraft Fabric server

SYNOPSIS
java [JVM options] -jar /usr/lib/java/minecraft-server-fabric.jar [Minecraft options]

DESCRIPTION
This runnable jar captures the JVM and Minecraft arguments, then replaces itself with the native Rust systemd supervisor. The supervisor provides lifecycle and signal handling and launches minecraft-fabric-server-wrapper.jar, which downloads and verifies the version-locked Fabric server jar and replaces itself with the final Java process. Executing it will start a Minecraft server instance. Learn more at <https://gitlab.com/kaidelorenzo/minecraft-server-rs>.

EXAMPLES

java -Xmx8G -jar /usr/lib/java/minecraft-server-fabric.jar --nogui --help
    Launches without a gui and displays the available Minecraft Fabric server options.

ENVIRONMENT

MINECRAFT_SERVER_WORKING_DIRECTORY
    Sets the working directory used by the Minecraft server executable. Relative paths are resolved from the wrapper's current directory. When unset, the package uses its XDG configuration directory. Set it to "." to use the directory from which the wrapper was launched.

FILES

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

$XDG_DATA_HOME/net.fabricmc.FabricServer
    Location of Fabric executable files

$XDG_RUNTIME_DIR/minecraft-server-fabric.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-fabric.stdin)

SEE ALSO
minecraft-server-java(1), minecraft-server-bedrock(1)

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