![]() This isn't necessary for LAN play, as you'll simply provide the internal IP of the server accessible within the local network. If you are self-hosting a server you will usually need to port forward the server in your router for it to be accessible to the outside internet. 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 and accept it from there. On Windows, the firewall will prompt you whether Minetest should be allowed access. Be sure to allow the Minetest server to communicate over UDP on the specified port. On Linux, you most likely know if you have a firewall installed. Minetest.exe -server -worldname world_nameĪllowing external players to connect Firewall If you don't like to start the crashed server, simply start the server out of a batch file which contains the following off If your server crashes, then look at the debug.txt in /Minetest/bin/.\minetest.exe -server -worldname world_name instead, where world_name is the name of the world. If you get the error “Multiple worlds are available.”, use.In the drop down menu click “Open Windows Powershell here”. Then in the “bin” folder, click the blue "File" icon in the top left of the screen. Open command prompt by going in the Minetest installation folder.Run screen bash run_server.sh, Ctrl+A Ctrl+D to detach, and screen -r to reattach at a later date. If you're on a headless server you'd want to run the server in some kind of multiplexer like screen. bin/minetestserver -gameid minetest -worldname world Make sure you make your server safe from damage.įor easier server management (and also automatically restarting the server when it crashes) you can create a file named run_server.sh or the like in the /Minetest/ folder with this:.If your server crashes, then look in the debug.txt log file in /Minetest/.Add in -worldname theWorld to the end of the command. If you get the error “Multiple worlds are available.”, the world choices are located in /Minetest/worlds/.Add in -gameid thegameid to the end of the command. If you want to specify a specific game ID, the game ID choices are located in /Minetest/games/. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |