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/.Navigate to wherever you've put your Minetest server files (referred to as /Minetest/ from now on), and run the server with /bin/minetestserver.The regular Windows builds provided on the download page work fine, running it as minetest.exe -server to access the server portion of it. There also exist ready made Docker images for minetestserver, see the README file. See the README.md file for more information about compiling Minetest from source. ![]() When built, you can move bin/ and builtin/ to a new folder, or if you're building on a separate machine from the server, transfer them onto the server. You may choose to build from source, in which case you should specify -DRUN_IN_PLACE=TRUE -DBUILD_CLIENT=FALSE -DBUILD_SERVER=TRUE which will build a minetestserver binary running in place. However this package may be several releases outdated, so obtaining a server binary through other means is to be recommended. Usually your Linux distribution of choice will have minetestserver in its official repositories. If you are on a headless Linux system without a graphical environment minetestserver is recommended as it is smaller and does not have extra dependencies that are unnecessary for a server. Note: If you are going to be running a Minetest server on a non-headless system, using the regular minetest binary with the -server argument works the same as minetestserver. Minetest does have a Host Server option in the main menu, which is fine for temporary servers for a couple of friends, but if you want to run a public server you would want to run it dedicated as it can be kept online independent of the client being active. ![]() Keep in mind that if you are behind CG-NAT, you are unable to host a public server as it won't be accessible to the wider internet. ![]() That being said, hosting from home will work fine if you have some hardware you can keep online, and you have a good enough Internet connection. You may also not be able to keep a server online 24/7 when hosting from home. Residential Internet connections tend to be unreliable and also have less upload speed. It's recommended that you use a VPS or dedicated server to host a game server which you want to make publicly available. 5.1 Protecting the Minetest world/server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |