Windows Configuration#
Obtaining a server binary#
The regular Windows builds provided on the download page work fine, running it as luanti.exe --server to access the server portion of it.
Running the Server#
Warning
As of 5.8.0, Luanti no longer ships with a default game, meaning you will have to provide your own game to use with the server. You can browse the games on ContentDB and download one to put in the games/ folder for your server.
- Open command prompt by going in the Luanti installation folder. Then in the “bin” folder, click the blue “File” icon in the top left of the screen. In the drop down menu click “Open Windows Powershell here”.
- Type this:
.\luanti.exe --server.- If you get the error “Multiple worlds are available.”, use
.\luanti.exe --server --worldnameworld_nameinstead, whereworld_nameis the name of the world.
- If you get the error “Multiple worlds are available.”, use
- If your server crashes, then look at the
debug.txtin/Luanti/bin/ - Make sure you make your server safe from damage.
If you don’t like to start the crashed server, simply start the server out of a batch file which contains the following code:
@echo off
:crash
luanti.exe --server --worldname <world_name>
goto crashFirewall#
The Windows Defender firewall will prompt you whether Luanti should be allowed access. This may even pop up the first time you play singleplayer in the client, and if you did not grant it permission you will need to open the Windows Defender Firewall with Advanced Security and accept it from there.

Next Steps#
Continue on to next steps.