Googler wrote:
Sorry for the wrong spelling. Anyway, thank you for your fast and helpful reply. I understand part one and two but not three. Can you explain no 3? I can't figure out where to edit the minetest.conf file and server properties (name, maximum slots etc). Once again, thank you.
first,sorry for my bad english. hope i could give you a help.if you simply run the command "minetestserver" in terminal, you will receive the info like that:
Code: Select all
[linus@archlinux script]$ minetestserver
Multiple worlds are available.
Please select one using --worldname <name> or --world <path>
iieiuiei '/home/linus/.minetest/worlds/iieiuiei'
marsu '/home/linus/.minetest/worlds/marsu'
new '/home/linus/.minetest/worlds/new'
2016-06-18 17:49:38: ERROR[main]: No world path specified or found.
we could see i have three world's data:iieiuiei /marsu/new .the folder "/home/linus/.minetest/worlds/marsu" is my MARSSurvival Game SERVER's world-folder.it's online.it's info could be found in forum's "subgame->WIPgame" board.
the most simply way to setup a server is told minetestserver where the world-folder is,like that:
Code: Select all
[linus@archlinux script]$ minetestserver --worldname new
Using world specified by --worldname on the command line
2016-06-18 17:55:27: ACTION[main]: .__ __ __
2016-06-18 17:55:27: ACTION[main]: _____ |__| ____ _____/ |_ ____ _______/ |_
2016-06-18 17:55:27: ACTION[main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
2016-06-18 17:55:27: ACTION[main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
2016-06-18 17:55:27: ACTION[main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
2016-06-18 17:55:27: ACTION[main]: \/ \/ \/ \/ \/
2016-06-18 17:55:27: ACTION[main]: World at [/home/linus/.minetest/worlds/new]
2016-06-18 17:55:27: ACTION[main]: Server for gameid="minetest" listening on 0.0.0.0:30021.
you could saw tha last line "Server for gameid="minetest" listening on 0.0.0.0:30021." is different from your.because my minetest.conf is different from you.the default path of minetest.conf is $HOME/.minetest
if you have try "minetestserver --worldname new","new" could be replace of any,you may got error msg,because in you world-folder($HOME/.minetst/worlds) has no world's data.i used to create a empty world by minetest's GUI(page "SERVER").minetest will create world's basic files like that:
Code: Select all
[linus@archlinux new]$ ls
env_meta.txt ipban.txt map.sqlite world.mt
force_loaded.txt map_meta.txt players
the file "world.mt" is the world-data's basic object.it will told minetestserver the two important info:
Code: Select all
gameid = minetest
backend = sqlite3
gameid = minetest ,it means minetestserver is running the game"minetest".without download other game(like my marssurvuval game),your basic game is "minetest".
backend = sqlite3,it means the database-system's type is sqlite3
the other file will be automatic created by minetestserver.
till now,hope you understand the info i said.