Download and install the Epic Games Launcher for your PC or Mac and start playing some of the best games, apps and more. With a free Minecraft download for Mac, you can enjoy retro-style. While a lot of people aim to survive alone in this huge pixelated world, you can choose to play the game with several friends online. Minecraft is a popular sandbox game with the perfect blend of creativity, imagination, and strategy. A classic sandbox video game for Mac 1/8.Even if its graphics and sounds are not awesome, Minecraft sits on top of the most played games because of its story mode and the big number of possible achievements.Minecraft logo PNG with transparent background you can download for free, just click on. Finally I show how to backup the worlds you create.Minecraft Mac OS X Download FREE Now available on Mac OS X, Minecraft is a survival video game that will make you use your imagination. 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.
Get Minecraft On Download And InstallThis will assure that no one can change the jar file without root access. I put mine in /optSudo -s -mkdir -p /opt/minecraft_server/stateNow if your user name is bob then move the minecraft jar into place:Mv /User/bob/Downloads/minecraft_server.1.6.2.jar /opt/minecraftAnd make sure the top level folder and executable are owned by root. 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.1) 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. Microsoft project for mac bookYou must change these paths if you set this up in a different place.2) testing it.first make sure you have java installed./usr/bin/java -versionif java is installed then this will reply with the java version at that path. And it will start the server when the Daemon is loaded, which happens either at boot time or if you explicitly tell the daemon to load.The key thing here is that the paths to the âstateâ folder and the executable are hardcoded. It also tells it to run the job as the username nobody. You can adjust the values for your system if that turns out to be too much. Label net.minecraft RunAtLoad WorkingDirectory /opt/minecraft_server/state UserName nobody ProgramArguments /usr/bin/java -Xmx1024M -Xms1024M -jar /opt/minecraft_server/minecraft_server.1.6.2.jar nogui The above is plist speak to tell it that it should change into the working directory where we want it to store its data, then launch the java jar with a memory size of 1G. You need to create this as root or otherwise assure itâs owned by root:wheel and can be read. If you are nervous, disconnect your ethernet cable for a moment.You may see some java exceptions printed in the process, but if the program stays running then itâs working. This is reasonably safe, assuming you trust mojang, to do for a moment just to eliminate the permission issues. Cd /opt/minecraftserver/state/usr/bin/java -Xmx1024M -Xms1024M -jar /opt/minecraftserver/minecraft_server.1.6.2.jar note, at this point you are running the server as root. To help diagnose this try running the command right from the command line. Youâll need to find the error you made. So now you know the program and the paths are right. List the current directory (state) and you will see a whole bunch of files and folders have been created. /state | sudo cpio -dpl date "+%y%m%d-%H%M-minecraft"This command will create a snapshot backup of the state of your system. Otherwise it will ignore your edits till next reboot.3) backing up the state.from time to time you may want to back up the state of your minecraft world and the server configuration (banned-IP, whitelist, configâ¦)To do that: sudo -s -cd /opt/minecraft_serverfind. This command stops the server but it doesnât remove the autostart Daemonânext boot it will start again.To restart it after stopping: sudo launchctl start net.minecraftTo unload the daemon (so it wonât autostart at boot) sudo launchctl unload /Library/LaunchDaemons/net.minecraft.plistIf you edit the plist file, you need to stop the server and unload the daemon then (re)load the daemon. Normally you want to make these the same for sanity sake. The name is one given in the plist file not the actual file name. ![]()
0 Comments
Leave a Reply. |
AuthorDavid ArchivesCategories |