diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index b79da01..ebba5e0 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -21,7 +21,7 @@ I like to have the minecraft server jar in `/opt/minecraft` (`/opt` is for non-u sudo mkdir /opt/minecraft # Create a new group named `minecraft` sudo groupadd minecraft -# Add your user to it +# Add your user to it (You may need to reload your user session) sudo usermod -aG minecraft your-username-here # Make it so that the minecraft group owns that folder sudo chgrp minecraft /opt/minecraft @@ -29,7 +29,7 @@ sudo chgrp minecraft /opt/minecraft # The user that owns the folder has read, write, and execute perms # The group that owns the folder has read, write, and execute perms # Anyone not in the above categories can read, but not write or execute -sudo chmod 775 +sudo chmod 775 /opt/minecraft ``` This enables minecraft to run in the background, restart if it crashes, etc etc.