This package allow you to install Minetest quickly and simply on a YunoHost server.
If you don’t have YunoHost, please see here to know how to install and enjoy it.
Overview
Minetest is a free open-source voxel game engine with easy modding and game creation.
Migration from old package
You can’t migrate directly with an update.
Before installing the new package you need to download this folder from your server /var/games/minetest-server/.minetest/worlds/world (this folder contains all world data)
Uninstall the old package sudo yunohost app remove minetest
Install the new one sudo yunohost app install https://github.com/YunoHost-Apps/minetest_ynh
Stop Minetest service sudo systemctl stop minetest
Copy the folder you have copied before in /home/yunohost.app/minetest/.minetest/worlds
Start the Minetest service sudo systemctl start minetest
Installing mods
For installing mods you need to create a worldmods folder in /home/yunohost.app/minetest/.minetest/worlds/world/.
So what is the best/easiest way to admin this? I can now login as users (without password although I said the server should only be available to LDAP registered users…)
Will the minetest wiki be enough to learn about this? Or are there some YNH specifics to be aware off?
Hello @dosch ,
I have never done it but I suppose you can install the world after the installation and set the new world as default in the config file located at /home/yunohost.app/minetest/.minetest/worlds/minetest.conf
# World directory (everything in the world is stored here)
map-dir = /home/yunohost.app/minetest/.minetest/worlds/world
In the meantime I found out that there are two important locations where files are kept:
Main config files lives at /home/yunohost.app/minetest/.minetest/minetest.conf
The Mineclone2 game should be downloaded and installed at /opt/yunohost/minetest/games/mineclone2
It seems that if you choose to use Mineclone2 as your game upon installation, you just have to put the files of the game at the right location mentioned above.
If you want to change a game after installation, you can do so by changing the game in the minetest.conf file (not entirely sure)
Jan 20 15:11:37 minetestserver[11661]: 2024-01-20 15:11:37: ERROR[Server]: LuaEntity name "mobs_mc:sheep" not defined
Jan 20 15:11:37 minetestserver[11661]: 2024-01-20 15:11:37: ERROR[Server]: LuaEntity name "mobs_mc:chicken" not defined
Jan 20 15:11:37 minetestserver[11661]: 2024-01-20 15:11:37: ERROR[Server]: LuaEntity name "mcl_bows:arrow_entity" not defined
Jan 20 15:11:37 minetestserver[11661]: 2024-01-20 15:11:37: ERROR[Server]: LuaEntity name "mobs_mc:chicken" not defined
Jan 20 15:11:37 minetestserver[11661]: 2024-01-20 15:11:37: ERROR[Server]: LuaEntity name "mobs_mc:chicken" not defined
Jan 20 15:11:37 minetestserver[11661]: 2024-01-20 15:11:37: ERROR[Server]: LuaEntity name "mcl_bows:arrow_entity" not defined
Jan 20 15:11:37 minetestserver[11661]: 2024-01-20 15:11:37: ERROR[Server]: LuaEntity name "mcl_mobspawners:doll" not defined
Jan 20 15:11:37 minetestserver[11661]: 2024-01-20 15:11:37: ERROR[Server]: LuaEntity name "mcl_mobspawners:doll" not defined
Jan 20 15:11:37 minetestserver[11661]: 2024-01-20 15:11:37: ERROR[Server]: LuaEntity name "mobs_mc:shulker" not defined
Jan 20 15:11:37 minetestserver[11661]: 2024-01-20 15:11:37: ERROR[Server]: LuaEntity name "mobs_mc:cow" not defined
Jan 20 15:11:43 minetestserver[11661]: 2024-01-20 15:11:43: ERROR[Server]: LuaEntity name "mcl_bows:arrow_entity" not defined
Jan 20 15:11:45 minetestserver[11661]: 2024-01-20 15:11:45: ERROR[Server]: LuaEntity name "mcl_bows:arrow_entity" not defined
Yes, totally, and that is exactly why I made a fork (and a PR so it is by default)
There is I think something to change about the gameid in the conf file AND the system service.
(If this is not enough, ask again and I’ll see on my server)
Doing this, you changed from MineClone2 (which was installed manually and things changed recently) to mineclonia (which is a fork, so it should not break things, I used it because it seems more stable)
@Mamie do you know if it is possible to have 2 worlds (or games) on the server?
I’d like to have a survival and a creative world to choose from when people come to the server. Could be on different subdomains… maybe?
but I have to select a domain while installing. Shall I choose the same one as the other game? And how to change the port…? Or does YNH do that by itself?