Server Debian load subgame

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

Server Debian load subgame

by DarkMass » Thu Mar 07, 2019 17:57

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: 3156
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Server Debian load subgame

by Calinou » Thu Mar 07, 2019 23:00

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 » Thu Mar 07, 2019 23:52

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: 2200
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk
 

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

Re: Server Debian load subgame

by DarkMass » Fri Mar 08, 2019 10:04

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

User avatar
cHyper
Member
 
Posts: 842
Joined: Fri May 06, 2011 08:49
Location: Austria
GitHub: cHyper-0815OL
IRC: cHyper
In-game: cHyper cHyper_0815

Re: Server Debian load subgame

by cHyper » Sat Mar 09, 2019 18:19

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 » Sun Mar 10, 2019 10:52

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


Return to Problems



Who is online

Users browsing this forum: No registered users and 2 guests