Return to site

Minecraft server for mac

broken image
broken image
broken image

Since the system is going to invoke this file automatically you don’t want it changing with simple user level permissions.Ĭhown -R root:wheel /opt/minecraftserverchmod -R a+xr /opt/minecraftserver This will assure that no one can change the jar file without root access.

broken image

Mv /User/bob/Downloads/minecraft_server.1.6.2.jar /opt/minecraftĪnd make sure the top level folder and executable are owned by root. Now if your user name is bob then move the minecraft jar into place: Sudo -s -mkdir -p /opt/minecraft_server/state It doesn’t matter where this it, but the permissions on the folder do matter. And currently the jar filename is: minecraft_server.1.6.2.jar, but that will change too.ġ) Creating a place for it.When you run the jar the first time it’s going to create a lot of files and subdirectories the in the current working directory (CWD) so we want to create a nice place to do this. Currently that site is but that might change in the future. The first step is to download the minecraft server jar file from the Mojang website. Finally I show how to backup the worlds you create.ġ) creating the launchDaemon that starts the minecraft server. And I also want it to restart automatically when I reboot the computer. Since I don’t fully trust the server not to have some security hole, I want it to run as user nobody so it doesn’t have a lot of permissions. Here’s a recipe for setting up Minecraft server on OS X.