1. System Requirements
Before starting, make sure you have:- A computer with at least 4 GB of RAM (8 GB recommended for larger servers).
- A stable internet connection.
- Java installed (required to run the server). Make sure to have the correct version for the Minecraft version you want to use (e.g., Java 17 for 1.18+, Java 21 for 1.20.5+).
2. Download Server Software
- Go to the official Minecraft website and download the server file. Download here Recommended alternative: Use PaperMC or Purpur for better performance compared to the vanilla server.
-
Save the
server.jarfile in a dedicated folder (e.g.,C:\MinecraftServer).
3. Configure the Server
-
Open the folder where you saved
server.jar. -
Create a text file named
start.bat(on Windows) orstart.sh(on macOS/Linux) in the same folder. -
Insert the following code in the file:
(Replace “server.jar” with the exact name of your file if different).
- RECOMMENDED: Use an optimized script created directly by me: OptimizedServerMC.bat
4. Start the Server for the First Time
-
Run the
start.batfile (orstart.shon macOS/Linux). -
The server will generate some files and folders and close. Look for the
eula.txtfile. -
Open
eula.txtand change the lineeula=falsetoeula=true. This confirms that you accept the Minecraft EULA. -
Restart the server by running
start.batagain.
5. Configure the server.properties File
-
Open the
server.propertiesfile with a text editor. -
Modify the main settings according to your needs:
server-port=25565: Server port.max-players=20: Maximum number of players.online-mode=true: Set tofalseif you want to allow access to those without a premium account (SP).difficulty=easy: Game difficulty.
- Save changes and restart the server.
6. Connect Players to the Server
- Start Minecraft on your computer.
- Go to Multiplayer > Add Server.
-
Enter the IP address:
- For you (Host): use
localhostor127.0.0.1. - For those on your same Wi-Fi network: use your local IP address (e.g.,
192.168.1.x). - For online friends: You will need to open router ports (Port Forwarding) or use services like Playit.gg or Ngrok if you cannot access the router.
- For you (Host): use
7. Advanced Configurations
A. Add Mods
- Download Forge or Fabric instead of vanilla server.
- Install the loader and copy mods into the
modsfolder generated in the server.
Guide created by HighMark - All information and contacts on my official website: Highmark.it

