How To Get My Own Server On Minecraft

How To Create A Minecraft Server On Windows Mac Or Linux Systems

How To Join To Your Own Minecraft Server (Get Your Friends On Your Minecraft Server)

Lets start with the basics. Setting up the actual server will take a little technical know-how. You need to understand, at least at a fundamental level, how a server and a network function, and you ought to be comfortable with command lines as well as the hardware youre using.

Some questions people ask include:

Do I need a specific type of computer to run a Minecraft server?

No. You dont need a special computer, but youll likely do better setting it up on a desktop.

Can I run the server and play the game on the same computer?

Sure, with an explanation. Its possible to run the server and play the game on the same machine, but you need to have a pretty powerful system to get the best possible performance.

Can I run a Minecraft server over a wireless connection?

This is not recommended. A wired connection is far more reliable and preferable.

Do I need any specialized hardware?

You could purchase server hardware, but a virtual private server or a dedicated server is a much simpler way to go. You wont have the hassle of maintaining your hardware, and its a scalable solution, in case you need more server power. Also, having a hosted server means there is no risk of exposing your network to the world.

With these points in mind, here are the steps you will take in setting up your Minecraft server, in a broad sense:

  • Install the newest version of Java on your computer.
  • Configure your network and the server.
  • Run the server.
  • Make sure you can access the server.
  • Ultimate 2021 Step By Step Guide How To Make A Server In Minecraft

    In a Nutshell:

    To Make a server in Minecraft, you need to download Minecraft from the official site. Then you have to download the Server.Jar file. Paste this file into your personal server folder and accept the EULA agreement. Then, create a batch file we can use to launch our server and help it run smoother to prevent as much lag as possible.

    To set up your Minecraft server you first need the actual server files. These files can be downloaded from the official Minecraft website.

    The file will download as a single .jar file. Take this file and place it in a folder on its own. This folder will soon house every file you need to run your server.

    The next step is simple, just run the .jar file. This will create a bunch of other files in the folder, a logs folder, a eula text document, and a server properties file.

    The logs folder and server properties file doesnt matter right now, just ignore them and open the EULA document. This is an agreement to Minecraft’s End User License Agreement, which must be agreed to before starting your server.

    Change the eula= line from false to true and save and close the document.

    Now you can run your Minecraft server! It will generate a world and start itself up. However your friends cant join yet as it’s not public.

    To begin making your server public you need to gather some information on your computer first. Search cmd on your computer and press enter.

    Now you will need to enter the information for Minecraft.

    Find The Best Web Host For Your Minecraft Server

    There are many web hosts that offer Minecraft servers, including , Apex, Hostinger, and PebbleHost, so your first step should be to shop around. You’ll find various server requirements depending on your Minecraft world size, the number of players that’ll connect to your server, and whether you want to install mods. Naturally, youll pay more out of pocket if you purchase a larger plan, but many web hosts let you upgrade from a lower service tier to a higher service tier without too much fuss. So if youre just starting out, it may be safer to start with a smaller plan and upgrade later as your needs grow.

    The most important thing to consider is RAM and virtual CPU allocation. Your server quality and number of players hinge on the server’s memory. 2GB of RAM could support up to 10 players before lag creeps into the game. Virtual CPU allocation affects gameplay smoothness the more CPUs or higher quality CPUs powering your server, the better. As mentioned earlier, if you just want to play with a handful of friends, a basic plan should suffice. If youre hoping to grow a community, however, you must invest money into a high-end hosting subscription.

    The basic server creation steps are more or less the same, regardless of the service you choose. Here’s a quick walkthrough of what you should do:

  • Select the plan suitable for the RAM total that youll need to properly run Minecraft.

  • Configure your server, specifying the region, game version, and add-ons.

  • Also Check: How To Redeem Minecraft Code

    S To Setup Pocketmine

  • Run the following command to install PocketMine-MP using curl.~> curl -sL https://get.pmmp.io | bash -s –
  • If you dont have curl installed on the system then you can install it via wget by running the command: ~> wget -q -O – https://get.pmmp.io | bash -s –
  • Make sure youre running it as a normal user and not via the root user or sudo.
  • Once the above command succeeds then start the PocketMine-MP server using the start script provided ./start.sh (you might have to give execute permissions to the current user on the start.sh file using: chmod +x ./start.sh & & ./start.sh
  • The start script will guide you through the setup, if you want to change any variable then just enter it when prompted otherwise it will just pick the default value of the variable which is displayed in the parenthesis.
  • Great Job! Now we have a cloud virtual private server running our own Minecraft PE server. Now to be able to access it from anywhere we just need to do a couple of more things.

    • Make sure the cloud server is assigned a static.
    • Expose the Minecraft PE server port publicly so that anyone can connect to it. .

    Create A Minecraft Pe Server Using Your Own Cloud Server

    How To Host A Minecraft Server for FREE!

    There are a few advantages for creating your own Minecraft PE server on a cloud virtual private server. You dont have to be dependent on anybody else for server management meaning your worlds wont just disappear overnight if some third party website goes bankrupt. The uptime is guaranteed to be more than 99.99% unlike Raspberry Pi which can go offline during a local power outage in your area.

    Requirements:

    • Cloud account on either Google / AWS / Azure.
    • A little knowledge of terminal .
    • Were going to use the open source project: PocketMine-MP

    First of all youll need a VPS server, which you can easily get from Azure/ AWS / Google. All these cloud providers provide some free credits for a year which you can utilise in order to set up a virtual private server.

    Free trial credits valid for 1 year: Amazon AWS , Azure ,Google .

    A good VPS will cost you around 20~25$ per month which will be deducted from the free credits provided to you under trial period, and if your trial runs out, you can continue paying real money or you can always move on to some other cloud provider with a fresh trial account. But you must be thinking that I promised Minecraft PE server free forever above, youre right! Theres a way to get a forever free machine from Google cloud which will have a limited number of resources but nevertheless be able to support 20 players easily, checkout: .

    Once youre done with your VPS, ssh into it you can continue with the further setup of your Minecraft PE server.

    You May Like: How To Code Minecraft Java

    Connect To Your Server

    MultiplayerDirect ConnectIP addressOn the same computer127.0.0.1On another computer in the networkipconfigcommand prompt192.168.1.1Over the Internetwhatismyip.comsecurity reasonsportforward.comstatic local IP addresseswww.yougetsignal.com/tools/open-portsMinecraft server install wiki

    Writing A Script To Launch The Server

    It’s definitely boring to have to remember the command-line options for your server every time you launch it. Luckily, we can write it down in a file and just run that instead.

    On Windows

    The windows version of a script is called a batch file. Create a text file in the folder where you put the jar as “start.bat”, and then right click it to edit using notepad. Paste the following in:

    Double click the file to start your server. You may get a “Class_Not_Found” and ServerGuiConcole error, just ignore these errorsand you should see your “Server Thread/INFO” dialog start the server.

    The “pause” command is there to keep the window open so you can read what happened after the server stops.

    On macOS, Linux, and FreeBSD

    All these systems use a common scripting language called the “POSIX shell script” on the command line. Create a text file in the folder where you put the jar as “start.sh” and write the following in:

    #!/bin/shcd"$"exec java -Xms1G -Xmx1G -jar server.jar --nogui

    Now save the file. Run chmod a+x start.sh to make it executable. You can now run the file by double-clicking or by running ./start.sh in the folder .

    If you want to add a pausing part like the Windows example, remove the exec word, and add a line of read -n 1 -p “Waiting…” to the end. This is useful if you are running the script by double-clicking on the GUI.

    On Plan 9

    Also Check: Code Org Minecraft Hero’s Journey

    Installing Java And Screen

    Before we begin, keep in mind that the minimum operating system requirements for the following tutorial are Ubuntu 16.04 and CentOS 7.

    Connect to your server via SSH. Open the built-in terminal shell and type the following command:

    IMPORTANT: Dont forget to change both values with your real username and server IP address. When prompted, enter your username and password.

  • A Minecraft server requires Java. Therefore, check whether its installed on your system by executing this command:
  • java -version
  • Proceed to the second section of this tutorial if you already have Java installed. However, if Java is not found, follow the next step.
  • Run these two commands to download the latest software packages and install Java:
    • On Ubuntu:
    sudo apt-get updatesudo apt-get install default-jdk
    • On CentOS:
    sudo yum updatesudo yum install java -y
  • Once Java installation is complete, you can install Screen:
    • On Ubuntu:
    sudo yum install wget -y
  • Use wget command to download the Minecraft server properties file:
  • wget https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1892149ac3a215f6c636b07/server.jar
  • In this example, the latest server version is 1.15.2. You should visit this link to check if a newer version is available for download. If so, change the link for the command above.
  • Run the Minecraft server properties file by entering this command. If you want to use the graphical user interface, simply remove the nogui part from the command:
  • sudo nano eula.txt
  • Find the line that says:
  • eula=false

    A Brief Overview Of The Three Ionos Server Options

    How to Get Your Own Minecraft Server!

    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.

    Also Check: Minecraft Server Icon Maker Free

    Why You Should Make Your Own Minecraft Server

    With more than 68 million players, Minecraft remains one of the most popular video games in the world.

    Minecraft offers unlimited possibilities to create a virtual world, a place where you can let your imagination loose and build some incredible pieces of work. Whats great, you can take such experience to a whole new level by making your own Minecraft server.

    Owning a private server gives you more control over your gameplay. You can invite your friends or other users, create your own rules, install any mods, and much more.

    Unfortunately, many people think that building a private Minecraft server is difficult and expensive. However, the truth is, you only need a little bit of knowledge about the command-line interface. Whats more, you can set up the server on your Windows, Linux, or macOS computer, so theres no need to buy a new machine.

    If youre ready, its time to learn how to make a server for Minecraft.

    Why Should I Run My Own Minecraft Server

    When you play Minecraft out of the box, the extent of your play is limited.You are bound to the rules of the world you are playing in.

    The Minecraft server is a Java application and runs perfectly on Scaleway Elements Virtual Instances, allowing you to deploy your own Minecraft Instance in just a few minutes.

    Recommended Reading: Free Recording Software For Minecraft

    I Get An Error Message When I Try To Access A Server What Can I Do

    If youre getting an error when connecting, the first thing you should do is reset your router. As this relates to your IP Address, a simple restart should fix the error. u003cbru003eu003cbru003eNext, you can check your computers anti-virus settings to ensure that nothing is blocking you from accessing the server. Finally, try editing your servers settings.

    What Exactly Is Minecraft

    I Purged My Own Minecraft Server...

    Minecraft is not just another video game it is much more than that. It is an adventure game, also known as a sandbox video game, which is created by a Swedish developer Markus Persson and Mojan Studios. The video game was released in the year 2011, and since then its popularity is rising exponentially.

    Minecraft allows the players to mine several blocks that they can use to build 3D constructions the way they want. You get so many play modes combat mode, exploration mode, building mode, or a combination of different modes.

    You can demonstrate your creativity while exploring, gathering resources, crafting those cubes, and combating. Verge report says that Minecraft has already sold 200 million copies and has over 126 million active players.

    Enjoying Minecraft on your device requires a dedicated and secure server so you can get better control of the game and greater customization options. It also allows you to host multiplayer game modes without exhausting your computer resources.

    Hence, it is better to go for a specialized Minecraft server hosting platform instead of building by yourself.

    Dont just go by the words, read on to find why.

    Also Check: How To Redeem A Minecraft Windows 10 Code

    How Can I Connect To My Own Minecraft Server

    When your server is up and running, connect it to the Minecraft game client.

  • and launch the Minecraft client on your local computer.

  • After logging into your Minecraft account, click the Multiplayer button.

  • Click Add Server and enter a name for your server and the public IP address of your Virtual Instance.

  • Your server is now listed in the servers list. Click the server and then Join Server to connect to it.

  • Congratulations! You are now connected to your own Minecraft server:

  • Edit The Eula And Connect

  • Double click the startup.bat file, or whatever you choose to call it, to see what happens. Assuming everything is up to date and you entered everything correctly, you’ll see additional files in the server folder, such as the EULA, logs, and server properties. Close out of the command window.

  • Right click on the EULA and select Edit. In order to move forward, you need to agree to the EULA, which means you need to change the false portion of the last line to true. Do so, save and close the text document.

  • Rerun the batch file. Windows’ firewall will try to keep you safe by blocking access to your network. Network access is needed, so you can ignore the warning and click Allow Access.

  • Your command window should show the server being prepared. It can take some time, but the command windows will notify you when it is done. When it is, you should be able to connect to the server.

  • Launch Minecraft Java Edition.

  • Key in the hosting computer’s IP address or simply type “localhost” in the server address bar.

  • Like What You’re Reading?

    Sign up for Tips & Tricks newsletter for expert advice to get the most out of your technology.

    This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.

    Recommended Reading: Minecraft Sky Factory 4 Server

    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.

    Popular Articles

    Related Stories

    Stay on op - Ge the daily news in your inbox