The mods will dynamically update over server restarts. To disable a mod just change true to false. If you ever want to add or remove mods it's as simple as copying the new mods into the mod directory and then editing world.mt in the world directory. After a crash or manual shutdown the script waits three seconds and then launches the server again. Obviously name should be replaced with the worldname. A simple bash script should be sufficient. Right now if the server happens to crash for any reason you'll have to manually restart it, which is lame, so it's a good idea to create a script that will automatically start the server back up if it should happen to go down. Should that happen you can change the admin name in the conf file. You'll want to make sure that you log in with that name right away to prevent anybody else from getting access. You'll also want to setup an admin account, add a line saying name = The player that joins with this name will be the admin and have all privs. Motd, Message of the Day, just a bit of text that will be displayed to people upon joining the server.ĭefault_privs, privileges that all players have when joining Server_URL, you can link to your website, blog, youtube channel. Server_address, if you have a web address that you are using to forward to your machine. The server_description, just a short bit about the server, what makes it special. In the nf file you'll want to set a few things the server_name, this will be listed in the server list. At this point you technically have a working server, but you really need to do a few more things before it's really finished. 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. 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. If you've done everything correctly you'll see the server starting. Run the command again but this time include either the -worldname or -world flag and type the name of your world or path. 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. Open a terminal and navigate to the Minetest/bin directory and run. With a world created we can launch the minetest server. Start the game to make sure everything loads properly and then exit. 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. Fortunately a server can run on most any old computer you might have lying around. 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. The loading time will vary depending on how many mods the server is running and your local connection speeds. Input a username and password and click Connect. Take that IP and input it as the address on the other clients using the same port as you chose when starting the server. Make sure you are getting the local IP, it will likely start with 192. On linux you can find this by running the ifconfig command in a terminal, or by looking at the connection information. To join the newly created local server we just need to know the IP. 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. You be the admin so you can grant yourself or others privileges. The world will load and you'll have a working local server running. Name/Password should be filled with your name and password and the Server Port can be left at the default value. If you are hosting a local server you should uncheck this. We get a few more options the big one being Announce 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. The easiest way to create a server is by using the GUI, but this isn't really great for a public server. A local game is only join-able by people on the same network, whereas a public server can be joined by anybody in the world. Whether you are creating a local or public server the same basics apply. I do not use Windows or Mac so I can't explain the process required to setup a server on either of those platforms. In this video we'll be looking at how to create a Minetest server on a Linux system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |