1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minetest_ynh.git synced 2024-09-03 20:36:00 +02:00
minetest_ynh/doc/ADMIN.md

19 lines
1 KiB
Markdown
Raw Normal View History

2022-03-13 18:11:28 +01:00
## Configuration
* Migration from old package
2022-06-19 04:22:13 +02:00
* You cant migrate directly with an update.
2022-03-13 18:11:28 +01:00
* 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`
2024-01-08 13:35:39 +01:00
* Copy the folder you have copied before in `__DATA_DIR__/.minetest/worlds`
2022-03-13 18:11:28 +01:00
* Start the Minetest service `sudo systemctl start minetest`
* Installing mods
2024-01-08 13:35:39 +01:00
* For installing mods you need to create a `worldmods` folder in `__DATA_DIR__/.minetest/worlds/world/`
2022-03-13 18:11:28 +01:00
* Clone the repo of the mod in this folder (ex: `git clone https://github.com/minetest-mods/mesecons`)
2024-01-08 13:35:39 +01:00
* Edit `__DATA_DIR__/.minetest/worlds/world/world.mt` and add at the end `load_mod_mesecons = true`
2022-03-13 18:11:28 +01:00
* Restart Minetest with `sudo systemctl restart minetest`
* The mod is now installed :)