While it’s easy enough to share a Minecraft map with other local players on your network, it’s nice to be able to run a dedicated server so people can come and go without the original game host loading up Minecraft. Today we’re looking at how to run a simple local Minecraft server both with and without mods. Why Run a Minecraft Server? One of the most frustrating elements of the Minecraft local multiplayer experience (both for the PC and the PE edition) is that the original game host has to be active to access previous creations. If there are two parents and two kids playing Minecraft in a household for example, and they spend a few hours one weekend working on a big structure hosted by Kid #2, then anytime anyone wants to work on that world/structure again they need Kid #2 to fire up their game and share it with everyone else by opening it to the LAN. Factor in that each world resides on each separate computer and suddenly it becomes a real hassle for more than one person to work on a given map. A much more efficient way to go about doing things is to host a stand-alone server on the local network. Those are rich text format codes. The file needs to be in plain text. Reopen the file in TextEdit. Goto the Format Menu, and Select Make Plain Text. To log into your Mac on another Mac, execute the command: ssh -l username remote-address. Replace username with the username you'd use to log into OS X and remote-address with the IP address given to you in the Sharing pane. You can now control your Mac and execute Terminal commands remotely, a real plus. This way players can come and go as they please without any one person needing to log in and share their world. Even better, you can host a Minecraft server on a machine that isn’t well suited for actually playing Minecraft (we’ve run modest without a problem). Let’s take a look at how to setup a basic local Minecraft server both with and without mods. Setting Up a Simple Vanilla Minecraft Server There are two ways to approach installing the simple vanilla Mojang-supplied Minecraft server. One method is very Windows-centric as you simply download an.EXE file and run it, with a convenient little graphical user window. That method doesn’t necessarily help OS X and Linux users however, so we’re going to use the.JAR based method which will help expand the process across all the platforms with only very minor tweaks necessary to shift between operating systems. The first order of business is to download the official Minecraft server JAR file. As of this tutorial the version is 1.7.10. You can find it at the bottom of. Regardless of your operating system, you want the.JAR file. After the file has finished downloading, move the.JAR file to a more permanent location. We placed the file in a /HTG Test Server/. You can place it anywhere you want but label it clearly, place it somewhere safe, and be aware that once you run the.JAR file all the server-related stuff will be downloaded/unpacked in folder the.JAR is located in, so don’t place it somewhere like a drive root or a home folder. Nonton drama korea sub indonesia. Execute the server for the first time by running the following command at the command prompt from the directory the.JAR file is located in, of course: Windows: java -Xmx1024M -Xms1024M -jar minecraft_server.1.7.10.jar nogui OS X: java -Xms1G -Xmx1G -jar minecraft_server. 1.7.10.jar nogui Linux: java -Xms1G -Xmx1G -jar minecraft_server. 1.7.10.jar nogui The above commands will execute the Minecraft server JAR file. The command runs Java, assigns 1GB of memory/1GB max, indicates the file is a JAR, names the JAR, and indicates no GUI is needed. You can adjust the assigned/max memory values upwards if you find you need to do so for particularly large worlds or servers with many players (say, during a LAN party), but we don’t recommend lowering the memory values.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |