diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index debacb5..49909fc 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -19,7 +19,11 @@ I like to have the minecraft server jar in `/opt/minecraft` (`/opt` is for non-u ```sh # Make a new folder named `minecraft` in `/opt` sudo mkdir /opt/minecraft - +# Create a new group named `minecraft` +sudo groupadd minecraft +# Add your user to it +sudo usermod -aG minecraft your-username-here +# Make it so that the *minecraft* group owns ``` This enables minecraft to run in the background, restart if it crashes, etc etc.