How To Setup A Minecraft: Java Edition Server
Note: This guide shows you how to set up and configure a Minecraft Server. However, doing this requires changing your home network’s configuration and is not recommended unless you know what you are doing. If you wish to purchase a small private server for friends, check out Minecraft Realms. If you still wish to set up your own private server, do so at your own risk as we cannot offer support for home networks or privately made servers.
Here is a guide to help you create a server so your friends can join and play together!
As a prerequisite, you should make sure you have Java installed and up to date on the computer that will host the server so it can run .jar files.
Create Your First World
Afterwards, youll create your first world on the realm! Youll be given the following choices:
- New world: making a Minecraft world from scratch the old-fashioned way
- Upload world: taking another Minecraft world that you have on your computer and uploading it to your server
- World templates: use one of Minecrafts pre-made world
- Adventures: pre-made adventure games made by other Minecraft creators
- Experiences: games and experiences, also made by Minecraft creators
- Inspiration: pre-made structures, placed in the realm to help you and your friends figure out what your next build is going to be!
Download The Minecraft Server Files
Within the Minecraft directory, run the wget command to download the Minecraft server files:
wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar
Next, well need to install and run screen, so that your server continues to run even when youre not connected:
yum install screen
You May Like: Texture Pack Minecraft Maker
How To Make A Public Minecraft Server For Free
You can create a public Minecraft server for free using this simple process.
- Open a new text file
- Copy the command java -Xmx1024M -Xms1024M -jar minecraft_server.1.16.4.jar nogui.
- Replace the line minecraft_server.1.16.4 with the server version you downloaded
- Save the text file as run.bat and run it
- Open the file eula.txt
- Open Minecraft, click multiplayer, and enter localhost in the server address field
- Find your internal and external IP addresses
- Port forward and open Minecraft port 25565
How To Whitelist Someone On Minecraft Java
Image credit: koopjeserver
Assuming you would like tips on how to allow certain players access to a Minecraft server: One way to do this is by utilizing a whitelist. A whitelist is essentially a list of approved players who are allowed to join a server. To whitelist a player on a Minecraft server, the server owner must first enable the whitelist option in the server.properties file. Once the whitelist is enabled, the owner can then add players to the whitelist.txt file, which is located in the servers root directory. The owner can add as many players to the whitelist as they want. When a player tries to join a server that has the whitelist enabled, their username will be checked against the whitelist. If their name is not on the list, they will be unable to join the server.
The steps below will walk you through how to add a whitelist and enable certain players to join your server on Java and Bedrock Minecraft servers. In this course, we will go over how to use Multicraft on SeekaHost to do this for both Bedrock and Java servers. Your server will be operational as soon as you set it up only those on the Whitelist will be able to join. To enable Whitelisting on Java, go to the Whitelisting tab. Once youve completed this step, you can add yourself and other players to the whitelist. A player can be removed from the whitelist if you select it as a type, such as removing . Remove players from a whitelisted server by following these instructions.
Read Also: How To Put A Map On The Wall In Minecraft
How To Make A Minecraft Server To Play With Friends
The easiest way to create private multiplayer servers is through Minecraft Realms. Minecraft Realms is a subscription service offered by Minecraft where you and up to ten of your friends can join a private server and play together. It also works for every type of Minecraft, including Java Edition, Bedrock Edition, and even Pocket Edition!
Because it is a subscription service, it unfortunately costs money. However, you can sign up for a 30-day free trial if you and your friends want to test it out. You can find more information about Realms and their subscriptions here.
How To Set Up A Minecraft: Java Edition Server
Minecraft has become one of the most popular games worldwide, which allows the players to express their creativity in building online. The game is exciting on its own, but it would be even better if you could learn how to set up Minecraft server 2022 on your Windows computer at home. Lets elaborate further!
Recommended Reading: What Does Fortune Do On An Axe In Minecraft
How To Make Your Own Minecraft Server: 5 Things You Need To Know
Do you want to host Minecraft privately for you and your friends? Here we explain what to consider when setting up a server.
You’ve probably heard of this little indie game called Minecraft. You know, it’s just a platform that has a little over 100 million users worldwide. Minecraft is huge, not just because of its community but because the game itself is infinite.
Thanks to its servers, there’s nothing you can’t do in Minecraft. The sky is the limit, and you, too, can craft anything you can imagine by creating your server. If you don’t know where to start, though, here’s how to add a server on Minecraft.
Make Minecraft Server For Free
The method we are covering in this guide gives direct competition to the developers official Minecraft Realm servers. You can use any of the services listed below at your convenience. Realms only have a paid plan, while its competitors offer both free and paid services.
Also Check: How Much Is One Chunk In Minecraft
Start Your Online Minecraft Server With Friends
With that, your long and tiring journey of creating a Minecraft server has come to a close. Its time for you to relax, and for that, these best 1.18 mountain seeds might give you the best spot. But if you are not ready to stop yet, you can start exploring the best Minecraft modpacks. Many of them hold the potential to take your servers to the next level. Alternatively, there is also an option to use one of the best Minecraft house ideas to build structures from scratch in your first server. However you choose to go about it, our team is ready to help you with all your need for your server. If you face any errors, you can head to our error section or simply reach out through the comments. Someone from our team will be there to help. With that said, its now your turn to create your Minecraft Java server right away.
Keeping The Server Running
Now that you have your server up, you want it to remain running even after you disconnect from your SSH session. Since you used screen earlier, you can detach from this session by pressing Ctrl + A + D. You should see that youâre back in your original shell:
Run this command to see all of your screen sessions:
Youâll get an output with the ID of your session, which youâll need to resume that session:
OutputThere is a screen on:3626.pts-0.minecraft-22041 Socket in /run/screen/S-root.
To resume your session, pass the -r flag to the screen command and then enter your session ID:
When you are ready to log out of the terminal again, be sure to detach from the session with Ctrl + A + D and then log out.
Read Also: What Is The Bad Omen Effect In Minecraft
Creating Your Own Minecraft Mods
If you enjoy Minecraft Mods and want to create your own custom mods for use in your own servers, CodaKid has a series of courses that can teach you how to make your own custom creatures, biomes, dimensions, insane explosions and special effects, and more!
Minecraft coding is fun and creative, and teaches you real Java programming with the Eclipse IDE.
Our courses even include messaging and screen share support from live engineers if you ever get stuck, and our courses even come with a two-week free trial!
We hope you enjoyed How to make your own Minecraft Server, the Ultimate Guide. If you enjoyed our Minecraft server tutorial, wed love it if you could share it with friends.
Also for fans of modding, check out this free tutorial called How to install Minecraft Forge. Hope you find it helpful!
If you have any questions or comments, please leave them below! If your server configuration is not working, please make sure to follow this tutorial again and double check your work. You can also write us and ask questions however please keep in mind that we are extremely busy serving customers and we may take a few days to respond.
How To Make A Minecraft Server For Free In Tlauncher
TLauncher is one of the most popular versions of cracked Minecraft, with more than one million downloads. Unfortunately, gamers who use it cant play on regular Minecraft servers. The workaround for this issue is to create a cracked server.
- Go to Aternos website and click the Play button at the bottom right of the screen
- Create an account
- Scroll down and click Configure your server
- Enable the crack feature
- Go back to your Minecraft launcher and paste the IP into the server address
Don’t Miss: How To Make A Sofa In Minecraft
Minecraft Server Without Gui
Arguably, this is a more powerful option of the two and makes more sense for the power users.
In this method, we wont be running the server.jar file directly. Instead, well create one start.bat file to run the server in the command prompt.
First, open the folder containing the server.jar and create a start.txt file. Now open the file in Notepad and copy-paste the following code into the text file, and save the changes:
java -Xmx1024M -Xms1024M -jar server.jar nogui
Next, rename the file from start.txt to start.bat.
Now, double-click this start.bat file to run the server the first time. This will create multiple files with the command prompt closing moments after running the bat file.
Proceeding further requires modifying the eula.txt file, similar to what we did in the GUI method.
Once you do that and rerun the bat file, this will be the output:
The Done at the end signifies the server is running perfectly.
No GUI in Ubuntu means adding a nogui in the script file that we earlier made in the Ubuntu GUI method. So the new script will be:java -Xmx1024M -Xms1024M -jar server.jar nogui
Subsequently, save the changes and run the script to open the Minecraft server in the terminal:
You can type help to get the list of valid commands, or you can check the Minecraft WiKi.
Finally, we are done with the server creation part.
This will list the server in the multiplayer menu. Now select the server and click Join Server at the bottom.
How To Start The Raspberry Pi Minecraft Server At Boot
1. Create a new file called mcstart.sh in the same folder as the server files . You can create and open the file with nano.
2. Enter the following code to your bash script.
#!/bin/bashcd ~/mcserverwhile truedo java -Xmx1024M -Xms1024M -jar server.jar sleep 10done
What we’re doing here is changing to the directory where the server is and then running an endless loop that starts the server and then, if it ever stops, waits 10 seconds and starts it again. If the server never crashes, it will never get to the “sleep 10” part of the loop.
If the path to your Minecraft server is something other than /mcserver on your Raspberry Pi, make sure to change that part of the script.
3. Save and exit the file by hitting CTRL + X.
4. Set the mcstart.sh file to be executable by all users.
chmod a+x mcstart.sh
So now you can just the mcstart command from the command line, but that won’t do you much good unless the system runs it automatically at boot.
5. Open the crontab editor.
If this is the first time you’ve opened crontab on this Raspberry Pi, you’ll be asked to select an editor. Select nano if given a choice.
6. Enter @reboot and the path to mcstart.sh at the bottom of the crontab file and save it by hitting CTRL + X. In our case, the line looked like this but yours may vary based on the path to your home directory and what you named your server directory.
7. Reboot your raspberry pi and see if it works.
Don’t Miss: How To Get Turtle Shells In Minecraft
Making Your Server Public
If you followed the steps above, you shouldve created a server successfully. If you want to make your server accessible to other players around the world, you will need to enable port forwarding on your router.
Keep in mind some Internet Service Providers may block port 25565 by default. If thats the case, you can try configuring your server to use another port in the server.properties file. If those ports are still blocked, your best choice is going to be paid hosting.
Running A Minecraft Server From Home
You dont need a top-of-the-line system to run a Minecraft server a desktop computer is ideal.
While you can run a Minecraft server and play on the same machine, youll need a more powerful system to do it.
And lastly, use a wired ethernet connection for your server instead of wireless. A wired connection is more reliable.
You May Like: Vanilla Survival Servers Minecraft
Finding Your Ip Address
Now your server is ready to run, you may be wondering how to actually start playing/ connect to your new server. Dont worry, its pretty simple.
Do you want people outside your house to join?
- If you arent interested in people, outside your house, joining your Minecraft server you can skip the rest of this tutorial. Simply connect with your IPv4 address you noted earlier and start having fun!
- If you do want others to connect, follow the steps below.
Pros And Cons Of Hosting Your Own Minecraft Server
Hosting your Minecraft server has its own pros and cons. Lets start with the cons.
Most importantly, youll need a lot of bandwidth and RAM on your computer. If you dont know much about networking, youll need to set up additional security to protect your computer. Additionally, routers tend to behave strangely and occasionally disconnect users.
As for the pros, its entirely free, and it allows you to have total control over everything that happens on your server. Well mention more about this below.
Recommended Reading: How To Tame A Wolf In Minecraft
Setting Up A Server For Bedrock Edition