This article will show you how to create and host a pirate Minecraft server on a Windows or Mac OS X computer. People who use a pirated (hacked) version of Minecraft can connect to the pirate server. Keep in mind that the described process can only be applied on a computer - it will not work on Windows 10, mobile devices and game consoles.
Steps
Part 1 of 4: How to Prepare for Server Installation

Step 1. Assign a static (permanent) IP address to the computer
In this case, the IP address of the computer will not change. To assign a static IP address, open the router's configuration page, then:
- find the list of devices connected to the router;
The configuration page interface depends on the router model, so refer to the instructions (online or paper) for the router to find out how to assign IP addresses
- select your computer;
- change the computer number if necessary;
- click “Save” or “Apple”;
- wait for the router to reboot.

Step 2. Set up Minecraft port forwarding on your router
Once you've assigned your computer a permanent IP address, forward the Minecraft port (25565 by default):
- find the Port Forwarding section. To find it, refer to the instructions for your router. Create a new rule if needed;
- enter "Minecraft" as a description or title;
- enter the static IP address of your computer (usually 192.168.2.number) in the “IP” or “Address” line;
- select "TCP & UDP" from the "TCP" or "UDP" menu;
- enter 25565 in both text boxes for port data;
- enable the rule - check the box or click the “On” button;
- Save your changes - click Save or Apple.

Step 3. Create a new "Minecraft Server" folder on your computer
This process depends on the operating system of the computer:
- Windows: Right-click on the desktop, select New from the menu, click Folder, type Minecraft Server and press ↵ Enter;
- Mac: Click on your desktop, click File> New Folder, type Minecraft Server, and press ⏎ Return.

Step 4. Open your text editor
On Windows, open Notepad, and on Mac OS X, open TextEdit:
- Windows: Click Start
-
Windowsstart , enter notepad and click on "Notepad";
- Mac: Click Spotlight
-
Macspotlight , type textedit, double-click TextEdit, and then click New Document.

Step 5. Enter startup parameters
Enter java -Xmx3G -Xms1G -jar server.jar in the text file. If your server file name is different from "server.jar", change it.
- The strings "Xmx3G" and "Xms1G" refer to the amount of RAM used (no more than 3 GB; 1 GB to run). If your computer does not have this amount of RAM, reduce these numbers.
- You can also use the letter "M" instead of "G" to specify the amount of memory in megabytes instead of gigabytes.

Step 6. Save the file as a batch file in the Minecraft Server folder
This process is system dependent:
- Windows: Click File> Save As, type run.bat in the File Name text box, open the Save as type menu, click All Files, select the Minecraft Server folder, and click Save.
- Mac: Click Format> Convert to Plain Text, click OK, click File> Save, type run, click the down arrow (to the right of the Name row), uncheck Hide Extensions, change the file extension from.txt to.command, and then click Save> Use.command.
Part 2 of 4: How to install the server

Step 1. Make sure Java is up to date
If you don't update Java, you might run into problems when hosting the server:
- Windows: go to https://java.com/en/download/installed.jsp in Internet Explorer (other browsers will not work), then click “Confirm consent and continue” and follow the instructions on the screen;
- Mac: Go to https://java.com/en/download/, click Java Free Download, open the installer and follow the onscreen instructions.

Step 2. Install Java JDK (if needed)
The JDK is required to run Java commands:
- go to the JDK page;
- check the box next to “Accept License Agreement” under the heading “Java SE Development Kit 8u171”;
- click on the link to the right of your computer's operating system;
- double-click the installer, and then follow the instructions on the screen (on a Mac, drag the Java icon to the Applications folder).

Step 3. Download the server file (JAR file)
Go to https://minecraft.net/en-us/download/server in your computer's web browser, and then click on the "minecraft_server.1.13.jar" link in the middle of the page.

Step 4. Move the server file to the "Minecraft Server" folder
Drag the downloaded JAR file into the Minecraft Server folder.
Alternatively, you can click the server file, press Ctrl + C (Windows) or ⌘ Command + C (Mac), open the Minecraft Server folder, and then press Ctrl + V (Windows) or ⌘ Command + V (Mac)

Step 5. Run the server file
Double click on the downloaded JAR file (file "server.jar" or simply "server") in the "Minecraft Server" folder. Several files will appear in this folder.

Step 6. Accept the server terms of use
In the Minecraft Server folder find the text file "eula", double click on it, replace the line "eula = false" (at the bottom of the document) with eula = true. Now press Ctrl + S (Windows) or ⌘ Command + S (Mac) to save your changes and then close the eula file.

Step 7. Double-click the server file (downloaded JAR file)
It will continue to run in a pop-up window and additional files will appear in the Minecraft Server folder.

Step 8. Close the server when it shuts down
When "Done!" Is displayed at the bottom of the pop-up window (Done), click on the text box at the bottom of the popup, type stop and press ↵ Enter. The server will save the changes and exit.
This is the safest way to shut down a running server at any time
Part 3 of 4: How to set up your server

Step 1. Find the "server.properties" file
It is located in the Minecraft Server folder.

Step 2. Rename the file
To edit it, you need to delete the dot between "server" and "properties". To do this, right-click the server.properties file, click Rename, delete the period, press ↵ Enter, and then click Yes.
On a Mac, you can also click the file and then choose File> Rename

Step 3. Open the file
Do this when you rename the file:
- Windows: Double-click the file and then click Notepad> OK;
- Mac: Click the file, then click File> Open With> TextEdit.

Step 4. Set the server IP address
Enter the static IP address of your computer in the "server-ip =" line at the top of the file.
For example, if the static IP address of your computer is "192.168.2.30", the line will look like this: server-ip = 192.168.2.30

Step 5. Remove online verification
Find the line "online-mode = true" and then replace "true" with false. This will allow players with hacked versions of Minecraft to connect to your server.

Step 6. Save your changes
Press Ctrl + S (Windows) or ⌘ Command + S (Mac) and then close the document. The new server settings will take effect when you start it.
Part 4 of 4: How to Connect to the Server

Step 1. Find out the public IP address of your computer
Go to https://www.whatismyip.com/ in your computer's web browser; the address will be displayed in the "Your Public IPv4 is" line. You can also open Yandex and enter the search query IP address - the public address will be displayed at the top of the page.

Step 2. Start your server
Close the server (if running), double-click on the "run" file you created in the "Minecraft Server" folder, and wait for the server to start.
While the server is running, its window must remain open

Step 3. Start Minecraft
Double-click the Grass Ground Block icon and then click Play at the bottom of the Launcher window.
If you are prompted to log in (this happens when you do not open the game for a long time), enter your email address and password

Step 4. Click on Multiplayer
This option is on the Minecraft menu.

Step 5. Click Add Server
You will find this option in the lower right side of the window.

Step 6. Enter the server name
Do this in the "Server name" line at the top of the window.

Step 7. Enter the address of your computer
In the "Server Address" line, enter the static IP address of the computer.
In some cases, you can enter localhost on this line, but this will not work on all networks; therefore it is better to enter the IP address of the computer

Step 8. Click Finish
This button is at the bottom of the window. The server will be created.

Step 9. Select a server
Click on the server name at the top of the window.

Step 10. Click Connect
This button is at the bottom of the window. The game world of your server will open.

Step 11. Invite your friends to join the game
To do this, send 19 friends the public IP address of your computer and ask them to do the following:
- open Minecraft and click "Multiplayer";
- click "Direct Connection";
- enter the public IP address of the computer (not the static IP address, which is entered if friends are connected to the same network as you);
- click "Connect".

12 Turn off firewall computer (if necessary).
Do this if your friends are unable to join your game. Keep in mind that this will make your computer vulnerable to attack by malicious users, so turn off your firewall only if you are playing with trusted people.
Advice
- Up to 20 players (including you) can simultaneously connect to the Minecraft server.
- You can create a server with Hamachi if you can't do it with a server file.
Warnings
- Using a pirated (hacked) version of Minecraft can lead to fines and jail time (in some countries). Please be aware that using a jailbroken version of Minecraft is illegal.
- Remember to turn on your firewall when you're done playing.