Player skin mod, supporting unified_inventory, sfinv and smart_inventory https://content.minetest.net/packages/bell07/skinsdb/
Go to file
SmallJoker 11bb5bad0e
Add migration code to player skins using '.' delimiters (#105)
Previously, the players would have their selected skin reset after renaming
the skin textures to the dot separator. This commit implements skin name
migration to ease the transition for server owners.

See 'skins.__fuzzy_match_skin_name' for a detailed explanation.
2024-06-15 15:16:52 +02:00
.github/workflows Add Continuous Integration and LuaCheck (#71) 2022-06-16 12:06:35 +02:00
locale Added Esperanto (eo) translation 2024-01-06 12:26:52 +01:00
meta Autogenerate skin previews and other @GreenDimond changes 2020-02-08 19:12:09 +01:00
models Add uv wrapped 1.8 hand model (#74) 2022-10-05 21:15:03 +02:00
textures Add migration code to player skins using '.' delimiters (#105) 2024-06-15 15:16:52 +02:00
updater Clean up skin listing (#100) 2024-06-05 17:55:55 +02:00
.gitignore finished work on private player skins support 2017-06-18 17:56:24 +02:00
.luacheckrc Add hand_monoid support (#81) 2023-01-15 14:16:44 +01:00
API.md Fix typo privat -> private (#94) 2023-12-21 17:08:17 +01:00
README.md Update instructions for downloading skins (#93) 2023-12-17 10:05:53 +01:00
api.lua Add migration code to player skins using '.' delimiters (#105) 2024-06-15 15:16:52 +02:00
chatcommands.lua Make command parameters translatable 2024-01-06 12:26:52 +01:00
formspecs.lua Add Continuous Integration and LuaCheck (#71) 2022-06-16 12:06:35 +02:00
init.lua Add migration code to player skins using '.' delimiters (#105) 2024-06-15 15:16:52 +02:00
mod.conf Add hand_monoid support (#81) 2023-01-15 14:16:44 +01:00
sfinv_page.lua fix translation for unified_inventory 2020-01-14 14:57:45 +01:00
skin_meta_api.lua Add hand_monoid support (#81) 2023-01-15 14:16:44 +01:00
skinlist.lua Add migration code to player skins using '.' delimiters (#105) 2024-06-15 15:16:52 +02:00
skins_updater.lua Clean up skin listing (#100) 2024-06-05 17:55:55 +02:00
unified_inventory_page.lua Update to work with Unified Inventory v2 2021-03-27 16:09:38 +01:00
unittest.lua Add migration code to player skins using '.' delimiters (#105) 2024-06-15 15:16:52 +02:00

README.md

skinsdb

This Minetest mod offers changeable player skins with a graphical interface for multiple inventory mods.

Features

  • Flexible skins API to manage the database
  • character_creator support for custom skins
  • Skin change menu for sfinv (in minetest_game) and unified_inventory
  • Skins change menu and command line using chat command /skinsdb (set | show | list | list private | list public | ui)
  • Supported by smart_inventory for the skin selection
  • Supported by i3 inventory mod
  • Skin previews supported in selection
  • Additional information for each skin
  • Support for different skins lists: public and a per-player list are currently implemented
  • Full 3d_armor support
  • Compatible to 1.0 and 1.8 Minecraft skins format
  • Skinned hand in 1st person view (1.0 skins only)

Installing skins

Download from the database

Ingame Downloader

  1. Get Minetest 5.1.0-dev-cb00632 or newer
  2. In the settings menu show advanced options, find the "Developer Options" tab and add "skinsdb" to "Trusted mods" (secure.trusted_mods in minetest.conf)
  3. Start your world
  4. Run /skinsdb_download_skins <skindb start page> <amount of pages>
  5. Wait for the Minetest server to shut down
  6. Start the server again

You might want to run minetest in a Terminal/Console window to check the log output instantly.

Python Download script

Requirements:

  • Python 3
  • requests library: pip3 install requests

Go to the updater folder of this mod and run python3 update_skins.py
The Script will download all the skins from the database for you.

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
  • skin texture licenses: See "meta" folder
  • hand model: CC0

Credits

  • RealBadAngel (unified_inventory)
  • Zeg9 (skinsdb)
  • cornernote (source code)
  • Krock (source code)
  • bell07 (source code)
  • stujones11 (player models)
  • jordan4ibanez (1st person view hand)