

# description "start and stop the minecraft-server"Įxec /usr/bin/java -Xms1536M -Xmx2048M -jar server.jar -noguiĪbove Explained (Note, this script isn't usable.): Don't forget to change the directory after "chdir" to your installation. Sudo nano /etc/init/nfĪnd pasting the following into it. d) ) make sure that you save the file as nf Create and edit the start/stop script creating a new file under /etc/init/minecraft-server ( NOT /etc/init.d but /etc/init (without the.Sudo chown -R minecraft.minecraft /srv/minecraft-server Hand your server-installation over to your new user, for example, in /srv/minecraft-server.Sudo adduser minecraft minecraft # this adds user "minecraft" to the group "minecraft" Sudo adduser -system -home /srv/minecraft-server minecraft Set up a user and group for minecraft so that it doesn't run as root.Additionally, by invoking mincraft this way you allowcate the default amount of memory to the server, this may or may not be enough. The most imporant of these is the "server.properties" file, it is here that your daughter can change how this game behaves. jar file is placed, I would recommend creating a new directory and moving the. Minecraft will create a bunch of files in the directory in which the. As you can see I have it set to "Mac App Store" and I will choose on a case by case basis this is safest. You can also change this behavior by twiddling with the radio buttons above to select "Mac App Store" or "Mac App Store and Identified developers" or "Anywhere". jar file will now always open with no prompting. Hit the button "Open Anyway" to open theMinecraft server jar (a dialog will come up, hit "open"). Then go into "System Preferences." by hitting the Apple logo in the upper right of the screen, and then go into "Security & Privacy". In order to launch the Minecraft Server, try and launch it and get the error dialog above, and click the "OK" button. The security built into your Mac is preventing you from doing this.
