Server Debian load subgame

Post Reply
DarkMass
New member
Posts: 6
Joined: Wed Mar 06, 2019 18:24

Server Debian load subgame

by DarkMass » Post

Hi, I recently installed "minetest-server" on my VPS with Debian and I'm trying to play Mineclone. I downloaded Mineclone in Minetest game folder(where minetest_game is) but I couldn't find a way to load it, when I join the server I'm on minetest_game. I have no GUI since this is a VPS and the wiki doesn't explain how to do it. What's the proper way to load it?

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: Server Debian load subgame

by Calinou » Post

To use a non-default game, pass the --gameid <gameid> argument to the minetestserver command line.

DarkMass
New member
Posts: 6
Joined: Wed Mar 06, 2019 18:24

Re: Server Debian load subgame

by DarkMass » Post

I already tried to use "minetestserver" but the result is always "minetestserver command not found", even though the server is running.

User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Server Debian load subgame

by Linuxdirk » Post

minetest --server

DarkMass
New member
Posts: 6
Joined: Wed Mar 06, 2019 18:24

Re: Server Debian load subgame

by DarkMass » Post

Command not found...
I did nothing special, only installed minetest-server from the repo. Probably what you are suggesting is another type of installation?

u34

Re: Server Debian load subgame

by u34 » Post

you have to compile it on your server... then you can call minetestserver to run your version !!

Code: Select all

cmake . -DRUN_IN_PLACE=TRUE -DBUILD_SERVER=T
RUE -DBUILD_CLIENT=FALSE

Code: Select all

make -j2
to start the game you should use following commands:

Code: Select all

crontab -e
just add following entry to the crontab:

Code: Select all

@reboot /home/minetest-5.0.0/bin/minetestserver --gameid MineClone2
when you restart your server the minetestserver will be startet. when you want something else you can add it to your list!

you should use home or something else - where you have installed your minetest -
it works fine for me, i have a cloud server from nitrado with 2 cpu cores and 1 gb ram!!

DarkMass
New member
Posts: 6
Joined: Wed Mar 06, 2019 18:24

Re: Server Debian load subgame

by DarkMass » Post

Thanks for the clarification. So the package on the repo is just for play only Minetest?

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests