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
Éric Gaspar 3ee48ca395 cleaning
2024-01-08 13:35:39 +01:00

18 lines
1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Configuration
* Migration from old package
* You cant 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 `__DATA_DIR__/.minetest/worlds`
* Start the Minetest service `sudo systemctl start minetest`
* Installing mods
* For installing mods you need to create a `worldmods` folder in `__DATA_DIR__/.minetest/worlds/world/`
* Clone the repo of the mod in this folder (ex: `git clone https://github.com/minetest-mods/mesecons`)
* Edit `__DATA_DIR__/.minetest/worlds/world/world.mt` and add at the end `load_mod_mesecons = true`
* Restart Minetest with `sudo systemctl restart minetest`
* The mod is now installed :)