Download the server software from the download page (scroll all the way down).
Install Java JDK 25 (or later) for your operating system from oracle: https://www.oracle.com/java/technologies/downloads/
Extract the folder zip file to wherever you want to keep it, it should look like this:
On windows, simply run Mazified_Server_Launcher.bat.
On linux, open terminal to the root folder of the server and run this command: java MazifiedServer
The server does not update as often as the game does, but the latest server version is always compatible with the latest game version. The game uses a separate serverCompatVersion value to the normal game version for checking for server compatibility. If the server does not receive an update when the game does, just continue to use the latest server version.
All the config for your server is changed in config.mzset (open it with any text editor). After changing any settings, you must close and restart the server for them to take effect.
Settings:
port: the network port your server listens on.
password: if you change this, players will need to enter this password to connect to your server. The game client only has support for entering a limited number of characters into the server password field, so only use lowercase letters, uppercase letters, numbers, underscore, dash, and spaces. Keep your server password as exactly default if you want anyone to be able to connect with any password.
maxMatches: the max concurrent matches that can be running at once. If you want unlimited matches, just leave this as a really high number, like the default is.
maxMatchLength: not currently used by the server (I might change this later). Just leave this field blank.
If you want to expose your server to the public internet so that your friends can join, you must somehow expose port 49922 (or whatever you set it to) on your network.
There are 2 main ways of doing this, tunneling or port forwarding:
Tunneling is safer than port forwarding, and usually easier. I recommend using the service playit.gg for tunneling your server. Install playit on your pc, and set up a TCP tunnel pointing to your server port in config.mzset. Playit will provide a ip and port for you to connect to (it will be different from your port in config.mzset).
Port forwarding is it's own whole ordeal and will require you to give your home wifi ip address to anyone who connects to your server. I'm not gonna provide a full guide to port forwarding here, so look it up. You need to forward the port you set in config.mzset, and then players will set the address as your home ip and the port as your config.mzset port.
The server listens on whatever port you have set in your config (default 49922). To connect from the same machine, you can use the default server option here:
To connect from another computer on your network, find the local LAN ip of the pc the server is running on, and add it through the server adding gui in the game client. This can be done by opening cmd in windows and running ipconfig. This will show a lot of local ips, the correct one is usually something like 10.0.0.XXX, just try them all. Make sure to input the port after in the next stage of server adding in the game.