Thursday, September 29, 2022
HomeServerHow To Setup Minecraft Server

How To Setup Minecraft Server

Opening Your Server To Remote Players

How to Set Up Your Minecraft Server for the First Time

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.

How To Make A Minecraft Bedrock Server

Cutting right to the chase, Minecraft servers are one of the most fun ways to play the game. And unless the topic is Minecraft Realms, the Java players get the majority of the good stuff. But not anymore. We are here to cover how to make a Minecraft Bedrock server along with the best features you can implement to take it to the next level. You, along with your friends, can hop onto the server to explore Minecraft biomes, try speedrunning seeds, or spend some quality time together. Moreover, the Bedrock server can even be used to play with players on the Minecraft Preview. So, whether you are on PC, Android/ iOS, or console, setting up a Minecraft Bedrock multiplayer server is easy. With that said, lets dive in!

Firewalling Nats And External Ip Addresses

  • You must open a TCP/UDP port on the firewall.
  • If the server in question is not reachable via a globally routable IP address, you will need to add appropriate address and/or port number translation rules to the gateway usually your router has the global IP address.
  • For help with address translation, opening the firewall and routing , portforward.com is a good source. Select your router from that list, skip the ad that comes after selecting the device, and you will see instructions for setting up port forwarding. Alternatively, you can read the documentation supplied with your router, modem, or other ISP related hardware.
  • Verify the port is open, and note your external IP by using a port checker tool, such as You Get Signal. The default port you should test is 25565, unless you specified something else. Have the Minecraft server running when you test the port.
  • You can obtain your external IP address from YouGetSignal.
  • Local network dedicated servers

    This only applies to Classic servers.

    To correct this, you must add a function to the end of your URL, bookmarks, or whatever else you connect by. The function is: ?override=trueExample:

    Note: This situation does not effect Beta servers, and you should be able to connect via an internal or external IP.

    The SRV record

    To manually verify the SRV record, use :

    Also Check: How To Tame A Fox In Minecraft Bedrock

    Allow The Port On Your Firewall

    To ensure that the server works correctly, you will need to allow the Minecraft port number via your firewall. In this section, we will go over the process on three operating systems Windows, macOS, and Linux.

    Firewall Management on Windows

  • Open Windows Defender Firewall with Advanced Security.
  • Click on Inbound Rules and select New Rule.
  • Choose Port and click Next.
  • Select TCP, and enter the Minecraft port number. In this case, its 25565. Once done, click Next.
  • Select Allow connection and click the Next button until the final step. Before clicking Finish, give your rule a name, like in this example:
  • After you have created the rule, make a new one with the same configuration, just for UDP.
  • Firewall Management on macOS

  • Go to System Preferences and select Security & Privacy.
  • Choose Firewall and click on the Firewall Options button.
  • If the option is grayed out, select the lock icon on the lower-left corner to unlock Firewall Options.

  • Click Add, find the installed Java application, and confirm the selection. Make sure that the Allow incoming connections option is checked.
  • Firewall Management on Linux

    Unlike Windows or Mac, Linux comes with a more complex firewall. We recommend checking out our tutorial on how to configure your Ubuntu firewall.

    Start The Minecraft Server

    How to Setup a Modded Minecraft Server (1.12.2) : 6 Steps

    To start the Minecraft server, open the Windows command prompt.

    Navigate to the file path where the Minecraft server file was installed.

    Start the server with the following command:

    java -Xmx1024M -Xms1024M -jar nogui

    If youd rather use the servers UI, exclude the nogui parameter:

    java -Xmx1024M -Xms1024M -jar

    You can also create a .bat file to batch the commands together.

    Once the server is running, you can invite others to connect to your server via your local IP address if theyre on your home network, or via your external/public IP address if theyre not on your home network.

    Read Also: What Is The Blast Radius Of Tnt In Minecraft

    Download The Minecraft Server Software

    Open TextEdit. Set the format to plain text. Enter the following:

    #!/bin/bash

    exec java -Xms1G -Xmx1G -jar nogui

    Save the file as start.command in the same folder where the servers .jar file is located.

    Open the Terminal and grant permissions for the new start.command file so it can be run. Type chmod a+x with a space after the command. Drag and drop the start.command file into the terminal window. Press Enter.

    Setting Up A Server For Bedrock Edition

  • 1Create a server folder on your computer. This is the folder that will contain the server software and all the files. You can name it anything you want. It’s recommended that you name it something recognizable like “Minecraft Server” or similar. You can create it anywhere that is accessible on your computer. Use the following steps to create a new folder:
  • Navigate to the location you want to create the folder in File Explorer.
  • Right-click any blank area and click New
  • Click Folder.
  • Type a name for the folder.
  • 2 The server software is available for Windows and Ubuntu. Use the following steps to download the Minecraft server software:
  • Go to .
  • Click.
  • 3Extract the downloaded file into your Server folder. The server software is downloaded as a zip file. You need to into the Minecraft server folder you just created. You need a program like Winzip, WinRAR, or 7-Zip to extract a zip file. By default, downloaded files can be found in your Downloads folder, or in your web browser. Use the following steps to extract the contents of the zip file to your Minecraft server folder.
  • Double-click the “bedrock-server-1.14.32.1.zip” file.
  • Select everything in the zip file.
  • Click Extract to, Extract all, or something similar.
  • Click Browse .
  • Navigate to your Minecraft server file and select it.
  • Click Extract, Ok or something similar.
  • server-name=Dedicated server: Change “Dedicated server” to any name you want to name your server.
  • Leave all other settings as is, unless you are an advanced user.
  • You May Like: How To Stream Minecraft On Discord

    How To Create A Minecraft Server On Linux

    First you need to download the Minecraft server file, to do this you just need to follow the steps explained in the section . After downloading it, create a new folder for example server_minecraft and move the file server.jar inside it.

    At this point we need to prepare the system to run the server by installing the latest Java libraries.

    A Brief Overview Of The Three Ionos Server Options

    How To Make A Minecraft Server in Minecraft 1.18

    A Dedicated Server with specially allocated hardware in our data center is an excellent solution for hosting individual applications. As a basis for server applications like a Minecraft server, this server model is ideal. Billing takes place per-minute with this package.

    We guarantee an external broadband connection of the server with up to 400 Mbit/s regardless of the chosen server model.

    However, to make a Minecraft server, the virtualized resources you rent with a vServer or Cloud Server are also perfectly suitable. Even if you dont get dedicated hardware components here, the selected performance is guaranteed at all times. When deciding between vServer and Cloud Server, the payment model might make a difference:

    If you are unsure when and how often you want to run your Minecraft server, a Cloud Server Package is the perfect choice, as here we only charge for the resources you actually need and use.

    If you rent a vServer, you pay a fixed monthly amount, regardless of whether your Minecraft server is running or not. However, if youre planning on continuous operation, you will get significantly lower costs than with a cloud server.

    You May Like: How To Open Iron Door 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 also offer private online coding lessons that teach Minecraft Modding, Roblox Game Development, Python, Scratch 3.0, JavaScript, Unity, Unreal Engine, and more.

    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.

    Configure The Minecraft Server

    After installing Java, Screen, and wget, you can set up the Minecraft server by following these steps:

  • Create a new folder to store all your Minecraft configuration files by running this command:
  • mkdir minecraft
  • Move to the newly created Minecraft server folder by entering:
  • cd minecraft
    wget
  • Run the Minecraft server properties file by entering the command below. If you want to use the graphical user interface, omit nogui.
  • java -Xmx1024M -Xms1024M -jar minecraft_server.1.18.jar nogui
  • The server program will create a EULA file. To accept Minecrafts EULA, open the eula.txt file with the Nano text editor by entering:
  • sudo nano eula.txt

    Modify the eula value from false to true and save the changes.

  • Activate Screen so the server can run in the background. Feel free to change the server name based on your preference.
  • screen -S "Minecraft server 1"

    Important! As of writing this tutorial, the latest Minecraft server version is 1.18. Be sure to use the correct version number in your commands by cross-checking it against the official Minecraft website.

    Don’t Miss: How Many Players Does Minecraft Have

    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.

    Choose A Location For Your Minecraft Server Files

    How to Set Up a Minecraft Server 1.8.1 : 7 Steps

    Before you download the Minecraft server software, choose a location on your PC where youd like to run the server from.

    When you first run the server, itll create a few configuration files. Its best to have all these files stored in a dedicated folder.

    You could place this folder on your Desktop, in your Documents folder, in your Programs folder, or anywhere else youd like. Its entirely up to you.

    Don’t Miss: What Is My Minecraft Server Address

    How To Setup Minecraft On Windows

    If you dont want to set up a remote Minecraft server, you can do so locally on your computer. The process of setting up a dedicated Minecraft server will depend on your operating system. It can be done if your computer meets the hardware and system requirements.

    The following steps will guide you through setting up a Minecraft server on Windows:

  • Open the command prompt by pressing Win + R and entering cmd. Then, check the version of Java installed on your computer using the following command:
  • java -version
  • Minecraft and its servers require Java SE Development Kit 17.0.1 or higher. If you have it, proceed to the next step. Otherwise, download the Java installer from an official source.
  • Download the Minecraft Java edition server software from the official Minecraft page.
  • Important! A warning message may pop up when you download the server .jar file. This is normal and safe as long as youve obtained the file from a credible source.

  • Create a new Minecraft server folder and move the .jar file there.
  • Double-click the file to generate the End User License Agreement within the same folder.
  • Open eula.txt using a text editor like Notepad and change the eula value from false to true. All Minecraft servers require users to agree to the Minecraft EULA before running the game.
  • In that same folder, create a new text document
  • 
    
  • From the text editor, choose Save As and change the file name to run.bat. Make sure to keep the type as All types.
  • cd Documents/Minecraft

    Pro Tip

    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.

    Recommended Reading: What Can You Enchant In Minecraft

    Requirements To Host A Minecraft Server

    If you are already running Minecraft 1.18 on your PC, the requirements might not seem too demanding. Based on the latest edition of the game, we recommend the following specifications for hosting a server with 4-6 players:

    • Windows 10 or 11
    • 2 GBs of RAM or more
    • A reliable internet connection with 5 MB/sec or faster internet speed
    • Enough power supply to keep the PC running as long as the server is online

    Please note that usually Minecraft only transfers around 100-150 MB of data on a non-modded server per hour. Therefore, you can host it on PCs with lower specs and slower internet speeds. But thats only the case for vanilla Minecraft worlds with low server activity. You can dive deeper into the specs by exploring the Minecraft Wiki. Alternatively, you can also ask your friends to host a server if they have better specs. But if you want to do it all by yourself, read on to learn how to make a Minecraft server.

    Free Minecraft Server: How To Make A Private Server

    How To Make A Minecraft Server in 2022

    How to make a free Minecraft server on Java Edition using Minecraft’s server software, and the best and easiest way to set up free Minecraft server hosting

    Want to make a free Minecraft server? You can create your own private server on Minecraft Java edition using free server software provided by Mojang. You can download this through the Minecraft website, but the initial process and how to run your server needs some more explaining.

    To get started, make sure you have the latest version of Java edition installed. To check whether you have this, simply use the control panel in Windows and update or install the latest version. Once youve set up a free Minecraft server, you can invite your friends online and even create your own rules, gameplay, and community within your own blocky creation.

    Heres how to get started on making a free Minecraft server, as well as the options for hosting a server for free. For a thorough breakdown of common questions and answers, be sure to check out the Microsoft help article and Minecrafts recommended hosting guide. Follow the steps below or check out the video for a walkthrough on how to set up a Minecraft server.

    Recommended Reading: How To Make Quicksand In Minecraft

    Making A Minecraft Server: Which Ionos Solution Would Suit Me

    The search for the right hardware base for your own Minecraft server is not only a question of finding the right provider: You also have to filter out the right server model from the wide range of offers. At IONOS, for example, you have the choice between

    • a vServer ,
    • a cloud server
    • and a dedicated server.

    With the latter model, you can also choose whether you take over the administration of the dedicated hardware yourself or whether you go for the managed solution, where we take care of the installation and administration of software for you.

    For more information on what advantages a dedicated hosting solution offers, see our article on.

    Setting Your Server Port And Other Values

    After accepting the EULA by editing the eula.txt, start your server again with the .bat file. This will create a number of files and folders that are required to use your server, among others the server.properties file. Find the following line:

    server-port=25565

    This is the server-port value. If you change this to something different, you will have to type the port after your IP when you join the server in the Minecraft client. For example, you’d have to type :25569 if you changed the port to 25569. If you leave it the default value of 25565, Minecraft will recognize that automatically. Another option would be to use a DNS SRV record and have a registered domain name.

    If there’s no obvious reason to change the port, I recommend leaving it on 25565. The most common reason for changing the server port is to run multiple Minecraft servers on one VPS.

    Don’t Miss: How Long Is A Minecraft Year

    RELATED ARTICLES

    Most Popular