Without mods, Minetest would be a boring vanilla game with 40-50 blocks to choose from, if that. Aha! Mods! Mods are what make up Minetest. What next? You have a configured OS and a even more configured server ready to run, but something's missing. If you did it right, the server should start and be quiet. Now log into the non-root account you created earlier so you can start the service. That will log you out of the root user account. Test to make sure you didn't screw anything up. Once done editing the nf file, type and run: If the 30000 port is in use, just change it to something else. SO edit that port and use a port scanner if you must. However, if another server or something else is running on port 30000, when you start the server you will get a crash. The default Minetest server port is 30000, it is best to leave it that way. Now that the "Admin name" is commented, the server will ignore it and will not crash due to a nfig error. That "Admin name" was a discription of what my option was, so it should remain commented. So if I tried to run the server without that # in front of "Admin name", The server might crash. There was no # in front of "Admin name" so the server would try to read that line as an uncommented line and would execute the line at startup. That's better! But what, you may ask, would happen if I did something like this: Wait! what went wrong? I started the server and typed /privs and I wasn't admin! Well, notice that little # in front of name =, I didn't remove that so the server ignored that my player name was to be admin. For instance, if I wanted to make my player name an "op", I would uncomment and edit this line: These #'s comment the line of text, making the server ignore that line. There are a lot of more options, this was only a fragment of the file.ĭid you notice all of those little # number/hashtag symbols? Well, whatever line of text those #'s are behind, the server will ignore them at startup. # Default game (default when creating a new world)Įdit these options to customize your server. if you want to announce your ipv6 address Server_description = (This is where your discription goes) # configuration file for minetestserver # Admin name The following is a part of the configuration file: Edit this file to set your "privs" (op) as an administrator. This will bring up the Minetest server configuration file. In the "root" user account, run the following command: You must edit this file in order to use your server to the max. The nf file is what the server reads and sets its parameters by on each startup. Press enter until you reach "Is this information correct?" answer "y", press Enter and you are done. Add a password, preferably different than the root account for added security. So, to run the command with the user "minetest", do this: "adduser" eg: "minetest" remember to never add quote marks when typing a command. To add another account that is NOT ROOT, and that requires the password that you changed earlier to run root commands, type and run the following command. If you do have a hacker, this can run you into some serious problems if he gets access to your root account. In this account, you can run ANY command you type! You don't need a password to verify that you are the owner of the computer. Well, the "root" account you logged into is the root user. We need a new user account! "But why a new user account?" you may ask. So we need to take an extra security measure to prevent hacking. Remember our resident hacker mentioned earlier? Well, he can still get in, but with more trouble to him.
0 Comments
Leave a Reply. |