An Introduction To Minecraft
With millions of units sold worldwide, Minecraft is widely regarded as one of the greatest video games of all time. The game was originally built by Stockholm-based software developers Mojang. In 2014, Microsoft purchased both the Minecraft intellectual property and Mojang for $2.5 billion:
This sandbox video game has a simple premise. When players log into Minecraft, they can explore a 3D world, extract raw materials, craft tools and items, and build structures:
There are also various modes, including a creative mode where gamers have unlimited resources. Players can also modify the gameplay mechanisms, items, and assets.
Minecraft has amassed a slew of awards, including the Best Debut Game, Best Downloadable Game, and Innovation titles at the Game Developers Choice Awards. It is also part of the World Video Game Hall of Fame.
However, this cultural phenomenon isnt just popular among gamers. Unusually for a mainstream video game, Minecraft is frequently used in educational settings. For example, one teacher recreated various historical landmarks for their students to explore.
Opening Your Server To Remote Players
If you want to play with people outside your local network you can set up port forwarding so players outside your home network can access the server. Most home broadband connections can easily support many players. Because the server doesnt have a password system, you may want to consider creating a whitelist on the server. Use the command and parameters /whitelist to adjust and view the whitelist.
To Install A Modpack Manually :
After you have completed steps 1-5 shown above, connect to your servers FTP using FileZilla or a third-party file manager of your choice.
Once you have connected to your servers FTP, delete the following folders: jar, mods, config, libraries
If your modpack server download is zipped, unzip it now.
Within the unzipped file, locate your JAR files and move them to a single jar folder. NOTE: If you don’t see a JAR file named minecraft-server.1.X.X.jar , you might need to run an install script to download the file. These files are usually named something along the lines of Install.bat or Install.sh , but it can vary based on where the modpack was downloaded.
Upload the contents of your modpacks folder onto your server .
Wait for the upload to fully complete. It is important that you do not attempt to modify/start/restart your server while you are uploading files.
Once the upload is fully complete, start your server.
Your server should have started successfully with the new modpack installed. Please note that it can sometimes take a few minutes for the modpack to install before your server will fully start and show as online. Be patient, youll be mining soon!
You May Like: How Many People Have Bought Minecraft
Get Minecraft Java Edition
These instructions require that you own the Minecraft Java Edition. If you own the pocket, console, or Windows 10 edition of Minecraft, you will not be able to host your own custom server. Minecraft Java Edition can be purchased and downloaded here.
If you already own Minecraft Java Edition, then you can proceed to Step 2.
Why Run A Minecraft Server
One of the most frustrating elements of the Minecraft local multiplayer experience 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. 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 isnt well suited for actually playing Minecraft .
Lets take a look at how to setup a basic local Minecraft server both with and without mods.
You May Like: How To Find Apples In Minecraft
Download The Minecraft Server
The first step in downloading a Minecraft server is to download the Server.jar file from the Minecraft website.
Optional: If you want an older version, you can find a list of Minecraft versions below. Be sure to click the Server jar on the version you want to make sure you have the Server.jar required for the next step.
Once on the page, click the Download Minecraft server jar link as shown.
Note: You may have a different version number than shown in the picture. This is okay as the latest version of Minecraft is constantly being updated.
Your computer may notify you that the file could be harmful to your computer. This is because any .jar file is treated as harmful when downloading in most browsers and computers. Just click Keep as this is an official Minecraft server .jar file we can trust.
Before we run this .jar file we want to create a folder for it that will hold all of the files. A common practice is to create the server folder on your desktop. To do this, go to your desktop and right click on an open space. Go to New > Folder and click to create a new empty folder.
Once it is clicked it will let you change the name of the folder, so name it something so you know it is your Minecraft Server.
Now return to your Downloads folder the same way we did earlier and right click on the Server.jar to copy it as we will paste it into the new folder we made in the next step.
Why Linux And Not A Fully Managed Solution
This is a valid question. A fully managed solution like one offered by the many dedicated Minecraft hosting companies out there can make sense. There is no need to secure the underlying Linux OS, this is all done for you.You get a nice graphical front end to manage your server, automated backups, DNS management to access your server, FTP access. They provide a GUI for managing your mods.
However, if you decide to go with a dedicated setup you can get a credit towards your server with DigitalOcean if you sign up through this referral link. Sizing of your server will depend on how many mods and users you intend to have.
Here are some of the reasons you may want to build your own;
1 – Maximum control right down to the OS level.2 – Prefer working from the command line than from a Web browser to manage your server.3 – High memory and cpu needs for your server and a VPS or dedicated server is cheaper than a higher end fully hosted solution.4 – Have a server available which isn’t costing you anything and a good internet link.5 – Want to learn how to do it yourself from start to finish.6 – Finally, the most important reason of all…..Because You Can!
Don’t Miss: How To Build A Huge Mansion In Minecraft
Get The Latest Version Of Java
The first step in setting up a Minecraft server is making sure you have the latest version of Java installed. Minecraft requires Java to run the game and having the latest version will help us run our server without issues.
You can install the latest version of Java here. Once there, click the red Java Download button as you can see below:
Then, read and accept the terms by clicking the red Agree and Start Free Download button.
The Java setup run file should now be in the download folder of your computer. If you need help with finding the download folder, type in downloads into your computer search bar and open the Downloads folder.
Once in the downloads folder find the JavaSetup executable file and run this application. A popup window may appear asking if the application can make changes to your computer. Click to allow access, you may be asked to provide a password for these permissions.
Once the application loads click to install Java.
You may be asked to uninstall a previous Java version, do so as keeping an older version does not help with our server setup.
Once any previous versions are removed continue through the window prompts until Java is downloaded and up to date.
The first step in setting up a Minecraft server should now be complete. The following step we must take is downloading and setting up the actual Minecraft server folder.
How To Setup A Modded Minecraft Server
Minecraft is a fun game to play with friends, and modding the game can add many more possibilities. Server hosting websites or Minecraft Realms cost a monthly subscription to use. If you don’t have the money to have a separate website host the server for you, setting up your own server for free will be your best option. Here’s how to setup a modded Minecraft server in 1.12.2 .
Recommended Reading: How To See Minecraft Coordinates On Mac
How To Setup Minecraft Server On Linux
Add the new minecraft user to the sudo group.
- Create a new user for the Minecraft server and add it to the sudo group with following
sudo usermod -aG sudo Minecraft user
- install the wget package
- Install Java with these steps
sudo apt install openjdk-8-jdk -y
sudo java version
- Creating a new directory as a repository for Minecraft server files
sudo mkdir minecraftdir
- For moving to the Minecraft directory
- You will now need to download the Minecraft server.
sudo wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.11.2/minecraft_server.1.11.2.jar
- Allocate required permission to make the downloaded Minecraft t server executables
sudo chmod +x minecraft_server.jar
sudo vi eula.txt and add Eula=true to agree to the license agreement conditions
Start Minecraft server
- Start Minecraft server with the following command
sudo java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
Note: 1024 M refers to the allocated memory you can change with your preferred value)
- Stop command will stop the currently running Minecraft server)
- For running Java command sudo java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
- For exiting screen window press
- For returning to the screen
sudo screen -r
- Voila the Minecraft server has been successfully installed on your Ubuntu.
Update Package Repository And Install Java
You will need to install Java. First, ensure that your package repository is updated using the following command.
Next, install Java using the following commands.
You can check that it was installed successfully by confirming the Java version.
You will see the following output.
In order to install Java 16, you need to ensure the server is aware the package is available by updating the epel repository. You will update it with the command below.
yum install -y epel-release
If it is not already installed, you will see the following output.
Next, you will install the latest version of Java, which is currently Java 16. Use the following command to install the latest version of Java.
yum install -y java-latest-openjdk
While Java 16 is installed, you still need to set it as the default in order for the server to run applications using the latest version. You can accomplish this by using the following command.
alternatives --config java
You will be presented with the versions of Java installed on your server, each with a corresponding number. Choose the appropriate number and press Enter.
If you run java -version again, it will show the version number you selected.
Recommended Reading: How To Make A Bathroom In Minecraft
Install Forge Or Cauldron
Depending on how you are setting up your mods, you may need to install a Minecraft server that can load mods. If you are installing mods into a pre-existing modded server, continue to the next section, as it should have Forge or Cauldron. If youre building a server from scratch, decide if youd like to use Forge or Cauldron. Forge is the original Minecraft server that can only load Forge mods. Cauldron its a server optimized brand of Forge that also works with Bukkit plugins and has Spigot patches. Cauldron is a more feature rich and powerful system.
Do one of the following:
Set Up Your Minecraft Server On Linux
Start by switching users and creating a directory for your Minecraft files. You can call your directory mineserver.
su - mcusermkdir mineserver
You will move to that directory with the following command.
Next, you will download the needed configuration files for Minecraft. Visit the Minecraft Java Edition server page, right-click on the Minecraft server .jar link, and copy the link address.
To download the files, you need to use the wget command along with the link to the files. It should look like this.
After running the command, the output will let you know the files were saved.
Don’t Miss: How To Make Hardened Clay In Minecraft
Notes For Installing Mods To An Existing Mod Pack
Keep in mind that installing new mods into pre-existing mod packs can be tricky. You may wish to backup your mod pack before making changes so you can restore it if something goes wrong and you dont know how to fix it. You can backup your server by downloading its files from the server FTP. Dont be surprised if the mods you install dont work. It sometimes takes a lot of trial and error. We also recommend adding one mod at a time so troubleshooting will be easier.
To install mods onto an existing mod pack, you only need to follow the directions in the Install the mods section. Make sure the mods match the version of Minecraft that the mod pack is based on. You can check the version by starting your mod pack. The version number is on the the main Minecraft screen on the lower left corner. Common version numbers are 1.4.7, 1.5.2, 1.6.4, and 1.7.4.
How To Set Up Minecraft Server On A Local Pc
- For setting up your Minecraft server you would require to download essential files that you can get from Minecraft:
- Open https://minecraft.net/en/download/server in Safari and download the JAR file
- Copy the JAR file you just downloaded and paste it into a new folder.
- Give a relevant name to the file like minecraft_server.jar. To easily run the server commands you can remove the versions numbers.
- Open Applications folder from your Go menu and start TextEdit application.
- Select Plain Text from Format Menu for opening the plain text document.
- In the text file that opens, copy-paste the following commands for starting the server.
exec java -Xms1G -Xmx1G -jar minecraft_server.jar
Note: -Xms1G -Xmx1G denotes the RAM you can increase it by replacing 1 with 2 while rest will remain the same.;
Eula=false should be replaced with Eula=true. Close the file after saving it.
You May Like: Can You Eat Pumpkins In Minecraft
Connecting To The Server On Lan On Mac
- In another networked computer open Minecraft. If server computer and other computers share the same local network then you dont need to change settings provided the server computer has a high caliber to run Minecraft on it at the same time which is generally not the case
- On the second computer select Multiplayer to scan the games.
- Now lick direct connect button
- In the window that displays type the local IP address of your server and connect directly for loading the same. Make sure that both computers should share the same network/?
- You can connect several computers to your server provided that they all share the same IP address.;
How To Host A Minecraft Server
This article was written by Travis Boylls. Travis Boylls is a Technology Writer and Editor for wikiHow. Travis has experience writing technology-related articles, providing software customer service, and in graphic design. He specializes in Windows, macOS, Android, iOS, and Linux platforms. He studied graphic design at Pikes Peak Community College.There are 9 references cited in this article, which can be found at the bottom of the page. This article has been viewed 288,191 times.
Minecraft is one of the most popular games worldwide. While the block-building and survival game is fun to play by yourself, it’s even more fun to play with other people. Minecraft: Java Edition allows you to host your own server using your own computer. It does require some basic computer knowledge and networking skills. This wikiHow teaches you how to setup and host your own server on your computer.
Don’t Miss: What Age Is Appropriate For Minecraft
To Install Individual Mods:
After you have completed steps 1-5 shown above and your server is running the appropriate version of Forge for the mods you wish to add, navigate to your File Manager within Prisma .
Open your mods folder.
Either drag and drop each individual mod file to the folder OR use the Upload feature towards the top-right of the panel. 4. Once you have uploaded each of the mods youd like to the server, you should be good to go! ;