Server minimal
Server minimal
Can anyone tell me how you specify the world that gets used when you create your own server? Mine ended up being minimal and I would prefer it to be common. Thanks.
Last edited by 12Me22 on Tue Apr 16, 2013 22:36, edited 1 time in total.
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
That's what --worldname (to specify the actual world) and --gameid (to specify which type of game to use) are for, though I don't know if you can refer to "common" as a game in that regard.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
No, you have to specify it like so:
(or minetestserver instead of 'minetest --server')
Where xxxx and yyyy are your game and world ID's, respectively. In my server, the command is, in part:
Code: Select all
minetest --server --config /home/12Me22/.minetest/minetest.conf --gameid xxxx --worldname yyyy
Where xxxx and yyyy are your game and world ID's, respectively. In my server, the command is, in part:
Code: Select all
/usr/local/bin/minetestserver --config /home/minetest/.minetest/minetest-server.conf --world /home/minetest/.minetest/worlds/VanessaE_World --gameid vanessae_game
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
So the world and gamed get created by running that or do you have to create and populate some folder structure on the server first?
Mine is running world = minetest and gameid= minimal
I think my map is missing elements because of the minimal designation. From what I have read, once the world is created you can't add in those missing elements without creating a new world.
I guess at this point I am not sure how I ended up with a minimal gameid and if I am missing elements because of it.
Mine is running world = minetest and gameid= minimal
I think my map is missing elements because of the minimal designation. From what I have read, once the world is created you can't add in those missing elements without creating a new world.
I guess at this point I am not sure how I ended up with a minimal gameid and if I am missing elements because of it.
Last edited by 12Me22 on Tue Apr 16, 2013 23:27, edited 1 time in total.
You don't need to be root to run a minetest server.. And it's actually bad practice to run things as root that don't need to be root. It opens a huge security hole.12Me22 wrote:I start minetest with this and it appears to be running gameid minimal:
sudo nohup minetest --server --config /home/12Me22/.minetest/minetest.conf
Should I try sudo nohup minetest --server --common --config /home/12Me22/.minetest/minetest.conf
Anyway, guessing how you setup your server, do you have "common" or "minetest_game" in your "games" folder?
dslynx wrote:You don't need to be root to run a minetest server.. And it's actually bad practice to run things as root that don't need to be root. It opens a huge security hole.12Me22 wrote:I start minetest with this and it appears to be running gameid minimal:
sudo nohup minetest --server --config /home/12Me22/.minetest/minetest.conf
Should I try sudo nohup minetest --server --common --config /home/12Me22/.minetest/minetest.conf
Anyway, guessing how you setup your server, do you have "common" or "minetest_game" in your "games" folder?
If i do not run with sudo, i get this:
Code: Select all
***@12Me21:~$ minetest --server --config /home/***/.minetest/minetest.conf Automatically selecting world at [/home/***/.minetest/worlds/world]
[OK] Mesecons
09:57:08: ACTION[main]: [MOD]craft_guide -- loaded from /home/***/.minetest/mods/minetest/craft_guide
09:57:08: ACTION[main]: .__ __ __
09:57:08: ACTION[main]: _____ |__| ____ _____/ |_ ____ _______/ |_
09:57:08: ACTION[main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
09:57:08: ACTION[main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
09:57:08: ACTION[main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
09:57:08: ACTION[main]: \/ \/ \/ \/ \/
09:57:08: ACTION[main]: World at [/home/***/.minetest/worlds/world]
09:57:08: ACTION[main]: Server for gameid="minetest" listening on port 30000.
creative inventory size: 230
09:57:18: ACTION[ServerThread]: *** joins game. List of players: ***
09:57:24: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Cannot open chunk metadata
In thread 7f0055591700:
/build/buildd/minetestc55-0.4.6/src/server.cpp:104: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f0054d90700:
#0 virtual void* EmergeThread::Thread()
(Leftover data: #1 MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f0055591700:
#0 virtual void* ServerThread::Thread()
(Leftover data: #1 void Server::AsyncRunStep())
(Leftover data: #2 virtual void ServerMap::save(ModifiedState))
(Leftover data: #3 void ServerMap::saveMapMeta())
(Leftover data: #4 void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f0056466780:
#0 int main(int, char**)
#1 Dedicated server branch
#2 void dedicated_server_loop(Server&, bool&)
(Leftover data: #3 void Server::step(float))
Aborted
***@12Me21:~$
common
minetest_game
minimal
- 12Me21
- Member
- Posts: 873
- Joined: Tue Mar 05, 2013 00:36
- GitHub: 12Me21
- Location: (Ignore all of my posts before 2018)
common is not a game, common is just the mods that the other games all have (except minimal, i think)12Me22 wrote:Can anyone tell me how you specify the world that gets used when you create your own server? Mine ended up being minimal and I would prefer it to be common. Thanks.
P.S. your username is VERY uncreative.
Shoutouts to Simpleflips
Hmm, I don't know how you compiled it but this reference is probably owned by root:
/build/buildd/minetestc55-0.4.6/src/server.cpp:104: virtual void* ServerThread::Thread(): Assertion '0' failed.
I followed the README.txt file and didn't have any problems at all on Mint 13. Everything worked fine with default settings running under my user account. The only thing that needed root was installing the dependencies.
So, to recap:
download minetest, common, and minetest_game, extract into appropriate directories, run 'cmake . -DRUN_IN_PLACE=1' and 'make -j2'.
Then just run bin/minetestserver and you should be set.
/build/buildd/minetestc55-0.4.6/src/server.cpp:104: virtual void* ServerThread::Thread(): Assertion '0' failed.
I followed the README.txt file and didn't have any problems at all on Mint 13. Everything worked fine with default settings running under my user account. The only thing that needed root was installing the dependencies.
So, to recap:
download minetest, common, and minetest_game, extract into appropriate directories, run 'cmake . -DRUN_IN_PLACE=1' and 'make -j2'.
Then just run bin/minetestserver and you should be set.
Here is what I diddslynx wrote:Hmm, I don't know how you compiled it but this reference is probably owned by root:
/build/buildd/minetestc55-0.4.6/src/server.cpp:104: virtual void* ServerThread::Thread(): Assertion '0' failed.
I followed the README.txt file and didn't have any problems at all on Mint 13. Everything worked fine with default settings running under my user account. The only thing that needed root was installing the dependencies.
So, to recap:
download minetest, common, and minetest_game, extract into appropriate directories, run 'cmake . -DRUN_IN_PLACE=1' and 'make -j2'.
Then just run bin/minetestserver and you should be set.
Ubuntu 12.04 server
logged in as Me:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:minetestdevs/stable
sudo apt-get update
sudo apt-get install minetestc55
sudo nohup minetest --server
If I wanted to try the method you used, is it possible to move my current world and user to it?
Last edited by 12Me22 on Sun Apr 21, 2013 19:44, edited 1 time in total.
NOTE: This post is MUCH more ugly than I intended.. but this forum is setup to only allow one link.. so.. yeah..
Sorry for the delay. Yes, you can move the world folder to the new build without issues. Here are the steps for building it on Precise (12.04):
So, from the beginning, so you can do it again for the next release.
1) Go to the main site and select Downloads
2) Under Linux, select Ubuntu/Mint
3) Now, this part may seem confusing, but they are named after the release of Ubuntu. So, in your case, 12.04 is called "Precise Pangolin" so you will want to click on the "~precise1" version.
4) Download the .tar.gz : https://code.launchpad.net/~minetestdev ... se1.tar.gz
Now, this is the only step you need to use sudo for:
5) sudo apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev
This will install the development environment needed to compile the game.
6) tar -xvzf minetestc55_0.4.6-0ppa1%7Eprecise1.tar.gz
This step is optional, but how I have mine. This renames the folder to minetest in your home directory:
7) mv recipe-0.4.6-0ppa1 ~/minetest
8) cd ~/minetest
Taken from the README.txt with a minor edit (removed cd.. and cd games):
8A)
9) cmake . -DRUN_IN_PLACE=1
10) make -j2
Once that is complete, you can do:
11) bin/minetest
and you should be all set. If you need additional help, I can meet you on IRC to walk you through it.
Sorry for the delay. Yes, you can move the world folder to the new build without issues. Here are the steps for building it on Precise (12.04):
So, from the beginning, so you can do it again for the next release.
1) Go to the main site and select Downloads
2) Under Linux, select Ubuntu/Mint
3) Now, this part may seem confusing, but they are named after the release of Ubuntu. So, in your case, 12.04 is called "Precise Pangolin" so you will want to click on the "~precise1" version.
4) Download the .tar.gz : https://code.launchpad.net/~minetestdev ... se1.tar.gz
Now, this is the only step you need to use sudo for:
5) sudo apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev
This will install the development environment needed to compile the game.
6) tar -xvzf minetestc55_0.4.6-0ppa1%7Eprecise1.tar.gz
This step is optional, but how I have mine. This renames the folder to minetest in your home directory:
7) mv recipe-0.4.6-0ppa1 ~/minetest
8) cd ~/minetest
Taken from the README.txt with a minor edit (removed cd.. and cd games):
8A)
Code: Select all
Download common (needed for minetest_game and some others)
$ cd games/
$ wget [b]LINK FROM README.txt[/b]
$ tar xf common.tar.gz
$ mv minetest-common-* common
Download minetest_game (otherwise only the "Minimal development test" game is available)
$ wget [b]LINK FROM README.txt[/b]
$ tar xf minetest_game.tar.gz
$ mv minetest-minetest_game-* minetest_game
$ cd ..
10) make -j2
Once that is complete, you can do:
11) bin/minetest
and you should be all set. If you need additional help, I can meet you on IRC to walk you through it.
If you're in a root-owned directory, you have to sudo all commands that modify it.
My Essential Server Modpack: ServerExtended
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
appears to be done. My old server had this: /home/12Me22/.minetest/worlds/world
Where in the new folder structure do I place the /worlds folder?
there is not currently a worlds folder in my new ~/mintest directory
Where in the new folder structure do I place the /worlds folder?
there is not currently a worlds folder in my new ~/mintest directory
Last edited by 12Me22 on Sat May 04, 2013 14:33, edited 1 time in total.
OK, so i created a /worlds folder and i am able to access my old world!
now i need to get my mods working
i moved my old mods folders to /home/12Me22/minetest/mods/minetest/ but they are not working
now i need to get my mods working
i moved my old mods folders to /home/12Me22/minetest/mods/minetest/ but they are not working
Last edited by 12Me22 on Sat May 04, 2013 14:43, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 56 guests