The Mindustry Wiki page on servers provides essential information for hosting Mindustry servers, focusing on two main types: dedicated servers and local LAN servers.
**Dedicated Servers** are standalone versions of the game that run independently, allowing for more robust multiplayer experiences. They can support more players and offer extensive administrative controls. To set up a dedicated server, follow these steps:
1. Install Java.
2. Download the server file (server.jar) from
itch.io or
GitHub.
3. Move the server file to a designated folder.
4. Open a terminal (CMD for Windows) and navigate to the folder containing the server file.
5. Run the server using the command `java -jar [server].jar`.
6. Host a map with the command `host <mapname> [mode]`.
7. Ensure your firewall allows TCP and UDP traffic on port 6567.
8. To close the server, exit the terminal or use Ctrl+C.
For global access, you need to configure port forwarding, but be cautious about sharing your public IP address, as it can expose your network to risks. Always consider using a VPN or web host for added security.
For more detailed instructions, visit the
Mindustry Wiki on servers.