How do I create a Minecraft server?

Create a free Minecraft server in 2 different ways:

Summary:

Why create a Minecraft server?

Do you dream of playing with your friends without the fuss? To be the master of a server? Then this tutorial is for you. These 2 ways to create a server are different and it will vary depending on your needs. It's very simple to set up and it will allow you to play with your friends or create a small server.

How to create a Minecraft server via a free host?

For this tutorial, we will use Aternos but fromother hosts of the same type exist.

  • First of all, go to Aternos. You must then create an account, and a page will appear:

Create your account.

Orange : Choose a username for your account Aternos. This will not be visible on your Minecraft server.

Yellow : This is theyour server's connection address that you'll give to your friends. Click on the pencil on the right to change your server ip header, here it's: Alucare122. Note: You cannot modify the 'aternos.me'.

Violet : This function to insert a message which will be displayed below your server. You can visit you can change it also by clicking on the pencil on the right. Here's what it looks like:

Message from server.

Green : This function allows you to select whether you want your server either 'Java Edition', i.e. create a server for PC players. Or 'Bedrock Edition', which means a version for Windows 10 gaming or for telephone players.

  • And don't forget toaccept conditionsthen you can click on 'Create an account'.

 

Once done, you are directed to your server configuration. Here is the main menu for your configuration :

Setup menu.

Yellow : This makes it possible to start your serverquite simply.

Red : This makes it possible to choose your server version (Ex: 1.11.2), whether you want it in Spigot or Bukkit, then the versions of your Forge mods and plugins, the Modpacks, and also the 'Glowstone' versions for your plugins. On the Bedrock Edition, you can choose the Bedrock version as well as the Pocketmine.

Violet : This function is used to envoyer un monde. For example, you can send a map you've made on your multiplayer server.

Green : This part regroups several functions :

  1. the maximum number of players your server can accommodate, the game mode (Survival, Creative, etc.) and the difficulty of your world.
  2. Of the more advanced functionalities such as the 'White List', if you activate it, it will will prohibit players from logging on unless they're on that famous white site. You can also activate or deactivate animals, pnj's, command blocks, cracked versions (non-premium), progress, theft, monster, and nether. Spawn protection is useful if you want to keep, say, 10 radius protected at the world's main spawn.

 

  • You can now switch on yourStart your server' then 'Start'.. You'll be put in a queue. So you'll have to wait (which may vary depending on the number of people). All you have to do is share ip with your friends !

 

How to create a Minecraft server via your pc?

Sometimes Minecraft hosts are not sufficient or do not suit you. You can therefore host your own server on your PC. And 'Ngrok' steps in to let your friends join the server. Please note that every time you switch off the 'Ngrok' command prompt and start it up again, the server ip will change.

Tip: If you have a bad connection, this technique is not recommended. 

  • First, you'll need to download a blank Minecraft world as well as the Ngrok mechanism:

Blank Minecraft world: Select the version you want and download it.

NgrokYou need to create an account, then download Ngrok .

  • Next, create a folder for your server, here: Server Minecraft. Rename world Minecraft 'spigot-version' in 'spigot' quite simply.
  • Next, make a text document named 'start' and copy/paste this: (remove the spaces between the lines if there are any)

java -Xms1024M -Xmx1024M -jar spigot.jar -o false

PAUSE

  • Then say: 'Files' -> 'Save as' -> File name: start.bat -> 'Save'

  • You can therefore delete the .txt document ;

Here is what it gives:

 

Render file.

  • Now that that's done, Iance the file 'start.bat'. A command prompt appears, wait for it to load completely and then click on any key to close it.
  • You must then click on the file created named 'eula' and replace 'eula=false' with 'eula=true'. (These are the general conditions). Save and close the file.
  • Then restart the server (the start.bat file). Wait for the server to be created, which may take several minutes. The start.bat is your server, so if you close the start.bat command prompt, then your server will shut down. And that's it, your server is ready! To see if it works, start Minecraft, then add a server by adding in 'Server address': localhost

  • If all goes well, you can connect to your server. (And if your start.bat is running, of course).
  • You can modify your server settings in the 'server' text document.
  • Now all that's left to do is open an ip address so that your friends can reach your server and play with you. To do this, run the ngrok file installed at the beginning. You'll see a command prompt, which is normal. Go to the Ngrok website to copy your 'authtoken', which can be found here: (Copy this without the ./ It's no use)

  • Then return to ngrok command prompt, and glue the authtoken:

Ngrok

  • Let her touch you Enter to execute the command. If you have done this correctly, you should be able to see above 'Authtoken saved to configuration fil:...', like this:

Authtoken success

  • Once you've done that, there's only one thing left to write and execute: ngrok tcp 25565 -region eu
  • Copy/Paste and press enter, it should appear:

IP Ngrok

Where I put a green line, It is your server ip which you must share with your friends so that they can join. If you switch off the command prompt and restart it, the ip will change (you'll need to enter the authtoken again, and the tcp ngrok).

You can now simply play with your friends and bug-free.

 

See the rest of the guides on Minecraft:

Like it? Share it!

This content has been a French native (For details about the author, please see below.). It has been translated into different languages with Deepl and/or the Google Translate API to offer help in as many countries as possible, and then proofread. This translation costs us several thousand euros a month. If it's not 100 % perfect, leave us a comment so we can review it. If you're interested in proofreading and improving the quality of translated articles, don't hesitate to send us an e-mail via the contact form!
We greatly appreciate your feedback to improve our content. If you would like to suggest improvements, please use our contact form or leave a comment below. Your opinion contributes to the excellence of our website Alucare.fr!

Alucare is an independent media. Support us by adding us to your Google News favorites:

Publiez un commentaire