TOLISTN

How to Set Up a Minecraft Server

1. Preparations

Prepare a server core. CatServer or Mohist are recommended.

2. Initial Setup

Create a new folder and move the server core file into it.

Make a new text document and paste this line inside:

java -Xmx1024M -Xms3024M -jar XXX

Replace XXX with the full filename of your core (including the .jar extension).

Save the file, then change its file extension from .txt to .bat.

Double-click the bat file to launch the server — it will start up partially at this stage.

3. Agree to the EULA

Open the eula file and change eula=false to eula=true.

This fully enables the server. Wait for all files to finish loading, then you may type commands in the console.

Enter stop to shut down the server.

4. LAN Port Forwarding via Intranet Penetration

Your server only works on a local area network for now. You need intranet penetration for external players.

We use Natapp here; official website: https://natapp.cn

  1. Select TCP protocol in tunnel settings.
  2. The port can be the auto-assigned one. You can check or edit the port value in server.properties under the line server-port= (example custom port: 11451).
  3. Fill this port number into the Natapp client.
  4. Copy the public IP generated by the penetration tool.
  5. In Minecraft, go to Multiplayer → Add Server, paste the public IP as the server address, and set any server name you like.

    Share this public IP with your friends to let them join.

5. Extra Configurations

Open server.properties and switch online-mode=true to online-mode=false to disable paid account authentication, allowing offline accounts to connect.

In the server console (the bat window), run op YourUsername to grant yourself operator permissions.

This basic server setup guide comes to an end. It only covers fundamental setup, which is fully sufficient for playing with friends.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top