Add updater script using the HTTP API (#27)

Check for core feature `httpfetch_binary_data` to run the updater properly.
This requires Minetest cb00632 or newer.
README.md: Add documentation for the updater
This commit is contained in:
SmallJoker
2019-06-06 21:47:49 +02:00
committed by bell07
parent a2470f06fb
commit 428fea2eb4
4 changed files with 157 additions and 4 deletions

View File

@@ -15,6 +15,29 @@ This Minetest mod offers changeable player skins with a graphical interface for
- Full [3d_armor](https://forum.minetest.net/viewtopic.php?t=4654) support
- Compatible to 1.0 and 1.8 Minecraft skins format
## Installing skins
### Download from the database
1) Get Minetest 5.1.0-dev-cb00632 or newer
2) Uncomment the lines in `init.lua` mentioning `skins_updater.lua`
3) Start your world and wait until it reports that the skins were downloaded.
4) Let the Minetest server shut down
5) Comment the lines in `init.lua` again
6) Start the server again
You might want to run `minetest` in a Terminal/Console window to check the log output instantly.
### Manual addition
1) Copy your skin textures to `textures` as documented in `textures/readme.txt`
2) Create `meta/character_<name>.txt` with the following fields (separated by new lines):
* Skin name
* Author
* Skin license
## License:
- GPLv3