Help: Setting up, running, and maintaining a server

Post Reply

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Setting up a server [Wiki]

by texmex » Post

Thank you for your work on the wiki! Learned about rollback.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
fstltna
Member
Posts: 113
Joined: Sat Aug 05, 2017 23:22
GitHub: fstltna
IRC: MarisaG
In-game: MarisaG
Location: South San Francisco, CA
Contact:

Re: Help: Setting up, running, and maintaining a server

by fstltna » Post

Very nice instructions in the wiki
---- https://MineCity.online - Fan site for Minetest - get Minetest Hosting with first month FREE & $14/month after that
---- https://discord.gg/Bd4Xw9c - Minecity Discord Server - Join today!

hajo
Member
Posts: 602
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: Help: Setting up, running, and maintaining a server

by hajo » Post

In the serverlist, some servers show the names of players online, and a list of mods.
How does that work ?

In minetest.conf I can set server_announce, but no options to specify such details.

sofar
Developer
Posts: 2132
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Help: Setting up, running, and maintaining a server

by sofar » Post

hajo wrote:In the serverlist, some servers show the names of players online, and a list of mods.
How does that work ?

In minetest.conf I can set server_announce, but no options to specify such details.
The server sends this information to the serverlist automatically.

hajo
Member
Posts: 602
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: Help: Setting up, running, and maintaining a server

by hajo » Post

sofar wrote:
hajo wrote:In the serverlist, some servers show the names of players online, and a list of mods..
The server sends this information to the serverlist automatically.
I'm still wondering, because not every server shows those infos.

Also, I wanted to put newlines in server_description,
but it seems that "\n" is treated as a literal.

User avatar
KGM
Member
Posts: 191
Joined: Mon Nov 14, 2016 19:57
Location: Bonn, Germany

Re: Help: Setting up, running, and maintaining a server

by KGM » Post

legal aspects?

i for example would like to know what liabilities come with hosting a server in germany.

you really have to work on docs about legal aspects.

technically I could set up a server, but i don't want to get legal problems due to server hosting.
When I first came here, this was all swamp. Everyone said I was daft to build a castle on a swamp, but I built in all the same, just to show them.

User avatar
fstltna
Member
Posts: 113
Joined: Sat Aug 05, 2017 23:22
GitHub: fstltna
IRC: MarisaG
In-game: MarisaG
Location: South San Francisco, CA
Contact:

Re: Help: Setting up, running, and maintaining a server

by fstltna » Post

A lot of updated software supports the German requirements. I know the software I bundle has severl places where it requires the user to acknowledge what data you will collect from them.
---- https://MineCity.online - Fan site for Minetest - get Minetest Hosting with first month FREE & $14/month after that
---- https://discord.gg/Bd4Xw9c - Minecity Discord Server - Join today!

sofar
Developer
Posts: 2132
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Help: Setting up, running, and maintaining a server

by sofar » Post

KGM wrote:legal aspects?

i for example would like to know what liabilities come with hosting a server in germany.

you really have to work on docs about legal aspects.

technically I could set up a server, but i don't want to get legal problems due to server hosting.
You should ask a lawyer, and not a bunch of random people on the internet.

User avatar
KGM
Member
Posts: 191
Joined: Mon Nov 14, 2016 19:57
Location: Bonn, Germany

Re: Help: Setting up, running, and maintaining a server

by KGM » Post

lawyers cost $, so every developer must be a little lawyer, too.
When I first came here, this was all swamp. Everyone said I was daft to build a castle on a swamp, but I built in all the same, just to show them.

sofar
Developer
Posts: 2132
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Help: Setting up, running, and maintaining a server

by sofar » Post

KGM wrote:lawyers cost $, so every developer must be a little lawyer, too.
No amount of amateur googling will prevent or solve your legal concerns. It just puts you, and others, at risk.

That risk is unacceptable.

Nobody should be publishing legal advise on the minetest forums. And nobody should take any advise on the forum as legal advise.

BTW, this previous sentence is not legal advise. Nor is this entire post. Nor is any part of this forum, or even in whole, legal advise.

Also, please stop making arguments on the forums and go work on cool shit instead.

User avatar
KGM
Member
Posts: 191
Joined: Mon Nov 14, 2016 19:57
Location: Bonn, Germany

Re: Help: Setting up, running, and maintaining a server

by KGM » Post

I know that being your own lawyer is risky, but i prefer being my own lawyer instead of having no lawyer.
Being my own lawyer puts me at the risk that i fail, but I accept this risk, since i think that well done researches aren't likely to fail.
>Also, please stop making arguments on the forums and go work on cool shit instead.
>I made a 000webhost site, and created a minetest content search engine (for that site in the past days) , i just need legal green light.
>I would be damn bored if i was just discussing all the time :).
When I first came here, this was all swamp. Everyone said I was daft to build a castle on a swamp, but I built in all the same, just to show them.

User avatar
ChimneySwift
Member
Posts: 320
Joined: Fri Sep 22, 2017 06:46
GitHub: ChimneySwift
IRC: ChimneySwift
In-game: ChimneySwift
Location: 127.0.0.1

Re: Help: Setting up, running, and maintaining a server

by ChimneySwift » Post

KGM wrote:I know that being your own lawyer is risky, but i prefer being my own lawyer instead of having no lawyer.
Being my own lawyer puts me at the risk that i fail, but I accept this risk, since i think that well done researches aren't likely to fail.
Obviously people should strive to be legally informed, doing your own research is a great idea, especially if you ensure your sources are reputable and relevant to your jurisdiction, but I'm pretty sure Sofar meant that you shouldn't be asking people on a forum for legal advice.

In many countries, giving legal advice if you're not a lawyer is straight up illegal to begin with, which is why many people will footer their posts with "That said, I'm not a lawyer and this should not be considered legal advice" or similar. Even for the ones that don't, it is implied on an internet forum such as this one.
KGM wrote: >Also, please stop making arguments on the forums and go work on cool shit instead.
>I made a 000webhost site, and created a minetest content search engine (for that site in the past days) , i just need legal green light.
>I would be damn bored if i was just discussing all the time :).
He wasn't denying you were making things, he said you make those instead of arguments ;)
A spoon is basically a tiny bowl with a stick on it

dps
New member
Posts: 4
Joined: Sun Nov 17, 2019 23:40
GitHub: OMGdaDPS
IRC: dps
In-game: dps

Re: Help: Setting up, running, and maintaining a server

by dps » Post

hey so, ive been reading the wiki on how to setup and run a minetest server on dedicated hardware (dedicated computer running Ubuntu), but i keep getting stuck. im trying to setup a local server, one that is available only to people that are connected to the router that my server is connected to.
heres sort of the setup:
dedicated machine running Ubuntu 18.04.3
dedicated router, not connected to the outside world/

im wanting to be able to connect to the router that is connected to the server, and the be able to connect to the server through the minetest client.

i tried doing this multiple times, by following the wiki, but i keep getting stuck at not being able to connect to the server through clients that ARENT on the same machine that is running the server. i of course, can get it up and running, and i see myself connect to the server (as told by the terminal) when i am connecting through a client that is on the same machine that the server is running on.
but i cannot for the life of me figure out how to make it to where i can connect to the router that the server is on, and then connect to the server through the client.
what am i supposed to change in the config file? and what should i change it to?
thx for reading!

User avatar
Festus1965
Member
Posts: 1290
Joined: Sun Jan 03, 2016 11:58
In-game: Thomas Explorer Thailand
Location: Thailand - Chiang Mai (+5-6h to MEZ)
Contact:

Re: Help: Setting up, running, and maintaining a server

by Festus1965 » Post

ping the server ip from any other client machine, does it work ?
IF not - basic problem (cable, firewalls, routing (seam not important id ALL machines on LAN side))
IF yes - portcheck,
is the set port of server, the same used to connect in client ? (as otherwise client might take 30000)
IF NOT test with right config,
IF YES - again, firewalls ?

so far, as no info about this basic things in your text.

sofar
Developer
Posts: 2132
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Help: Setting up, running, and maintaining a server

by sofar » Post

dps wrote: what am i supposed to change in the config file? and what should i change it to?
Nothing. Literally nothing.

There is no setting in the minetest.conf that prevents anyone from connecting from a remote IP address.

Your problem is likely that you have a network connectivity issue unrelated to minetest. As Festus1965 already points out, you should determine the IP address of the host where your minetest server is running, and then use that IP address in the client to connect. If this doesn't work, you have either a routing problem (nothing minetest can fix) or a firewall problem (nothing minetest can fix either).

If you're attempting to find your server on the public server list, don't. You can't find servers that are on private subnets, and that is your case.

dps
New member
Posts: 4
Joined: Sun Nov 17, 2019 23:40
GitHub: OMGdaDPS
IRC: dps
In-game: dps

Re: Help: Setting up, running, and maintaining a server

by dps » Post

im going to start over and try this again. also, i guess i should point out that im not trying to just start a server from the minetest client. im wanting to install the `minetest-server` package, or whichever that is suggested, and then have it start by itself on the occasions of power outages and whatnot.
i didnt think that it could have been anything that has to do with my network setup, but i will try what sofar said at "determine the ip address of the server, and use that", and then if it doesnt work, i will troubleshoot anything that may be crippling me on the hardware aspect.
thank you guys for answering so quickly.
also, i want to touch on the "basic things" part. im new to this, so im not sure what the basic things would have been, sorry :(. but i will gather the info youre needing and report back to you asap. thank you

dps
New member
Posts: 4
Joined: Sun Nov 17, 2019 23:40
GitHub: OMGdaDPS
IRC: dps
In-game: dps

Re: Help: Setting up, running, and maintaining a server

by dps » Post

ok so, i got it. i just reinstalled everything from beginning to end, and then created a user on my system named " minetest", and then downloaded the sample config file and then put it in the .minetest directory. i didnt change anything in it, and was able to connect to the server by finding the ip address with `ifconfig` and inputting it into the join area.
any suggestions on where i should go from here?

i will be reinstalling everything, onto a different rig (that is completely offline), but i will eventually (after learning how to do everything and keep myself safe from attackers) bring it back online. right now, its just a server for me and my family to get together and mess around in while were home and bored, but i spend all of my time on computers in general, messing with microcontrollers. but id like to learn more about this and become better :)

sofar
Developer
Posts: 2132
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Help: Setting up, running, and maintaining a server

by sofar » Post

dps wrote:ok so, i got it. i just reinstalled everything from beginning to end, and then created a user on my system named " minetest", and then downloaded the sample config file and then put it in the .minetest directory. i didnt change anything in it, and was able to connect to the server by finding the ip address with `ifconfig` and inputting it into the join area.
any suggestions on where i should go from here?

i will be reinstalling everything, onto a different rig (that is completely offline), but i will eventually (after learning how to do everything and keep myself safe from attackers) bring it back online. right now, its just a server for me and my family to get together and mess around in while were home and bored, but i spend all of my time on computers in general, messing with microcontrollers. but id like to learn more about this and become better :)
Given the above interests, I suggests starting with mesecons!

dps
New member
Posts: 4
Joined: Sun Nov 17, 2019 23:40
GitHub: OMGdaDPS
IRC: dps
In-game: dps

Re: Help: Setting up, running, and maintaining a server

by dps » Post

Ah! thank you for this! this definitely looks pretty cool!
i am a bit confused on something though:
i can start and stop my server, and even have it setup to where it starts up upon reboot of the machine. i created a user named `minetest`, and did most of the configuration (like downloading and copying the minetest.conf.example file) whilst in the minetest profile (su minetest). where my confusion comes from, is that while back in my regular user (not the minetest one) i cannot find any hidden .minetest directory in my home folder. is this because i havent started `minetest` while logged in as my primary user (the one where i cant fine the minetest directory)?
and if i did, and it created the directory i wanted (.minetest), would it be of any use to edit the conf file while logged in as this user, or should i log back into my `minetest` user and THEN edit the conf file with nano (being that it wont allow me to start a graphical program, unless i actually log out and log into the minetest profile from the login manager)?

nebula
New member
Posts: 1
Joined: Mon May 11, 2020 17:44

Re: Help: Setting up, running, and maintaining a server

by nebula » Post

Hello,

Does anyone know where to get source code for the server which can use both 0.4 an 5.0 protocols?
I can see few servers like that in the server list.

User avatar
Rayjack
New member
Posts: 9
Joined: Thu Nov 15, 2018 18:18
In-game: Rayjack

Re: Help: Setting up, running, and maintaining a server

by Rayjack » Post

I don't think the Linux section in the "Setting up a server, Minetest Wiki" is up to date. I think I go to Home/snap/minetest/ .... what do I do from there to set up a dedicated server. I have folders 1619, common, and current. FYI I spun up a droplet on digital ocean running Ubuntu 20.04, installed the Ubuntu desktop, then installed minetest 5.3 (a snap package) from the ubuntu software center ... so I have everything ready to go ... I just need current documentation on where to go to set up a dedicated minetest server from here. Thank you.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests