11/29/2023 0 Comments Minetest server hostingThe easiest way to create a server is by using the GUI, but this isn't really great for a public server. Here are the steps Create a new world, or select an already existing world then you can start a server by checking the Host Server box. We get a few more options the big one being Announce Server. If you are hosting a local server you should uncheck this. Name/Password should be filled with your name and password and the Server Port can be left at the default value. The world will load and you'll have a working local server running. You be the admin so you can grant yourself or others privileges. The downside to this method is you have to keep the game running for anybody to connect to it, and you're running a client which uses more processing power than just a server, as the server doesn't need to run any graphics. To join the newly created local server we just need to know the IP. On linux you can find this by running the ifconfig command in a terminal, or by looking at the connection information. Make sure you are getting the local IP, it will likely start with 192. Take that IP and input it as the address on the other clients using the same port as you chose when starting the server. Input a username and password and click Connect. The loading time will vary depending on how many mods the server is running and your local connection speeds. This method is okay for short term servers, but if you want something that runs 24/7 you'll want to run a dedicated server. Fortunately a server can run on most any old computer you might have lying around. To create a headless server, that is to say one that runs without any graphics we can first create a world with the GUI, selecting mapgen, mapgen seed, and enabling mods, and setting the mod configurations. Start the game to make sure everything loads properly and then exit. With a world created we can launch the minetest server. Open a terminal and navigate to the Minetest/bin directory and run. Minetestserver an error should come up because no world is specified, but the help information is very useful letting us know how to select a world, and listing all available worlds. Run the command again but this time include either the -worldname or -world flag and type the name of your world or path. If you've done everything correctly you'll see the server starting. This method works fine if you're using a machine that you have a monitor, keyboard, and mouse hooked up too, but if you're running a server in a docker container, on a raspberry Pi, a VPS, or some other hardware that you don't have peripherals hooked up to you'll need to change things a bit. We can still create a world on a machine with the GUI and then copy over the world files, the Game, and all the mods being used to the machine that will host the server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |