mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2024-12-22 23:40:18 +01:00
d3c7fa71c0
Adds a filename split seperator setting that lets you choose between old style `_` and `.` because dot is the only char that isn´t allowed in playername but in texturenames. Default value is `_` to keep it compatible with older versions, while `.` offers a solution to fix #54. |
||
---|---|---|
.. | ||
readme.txt | ||
skindb_mask_chest.png | ||
skindb_mask_head.png | ||
skindb_mask_rarm.png | ||
skindb_mask_rleg.png | ||
skindb_transform.png | ||
skins_button.png |
In this folder the skin files could be placed according the following file naming convention. skinsdb uses an underscore as default seperator for filename splitting which can cause problems with playernames containing "_", see https://github.com/minetest-mods/skinsdb/issues/54. The config setting skinsdb_fsep (texture filename seperator) was added as a workaround which also offers "."(dot) as seperator, dot is the only character which is allowed in textures but not in playernames. To keep compatibility with older versions underscore is the default value. fresh install: you should change the seperator to "." to avoid that problem. existing install: - change the filenames according to the naming convention with dot as seperator instead of underscore - change the texture filename seperator in settings or add "skinsdb_fsep = ." to your minetest.conf before starting your server Public skin available for all users: character_[number-or-name].png One or multiple private skins for player "nick": player_[nick].png or player_[nick]_[number-or-name].png Preview files for public and private skins. Optional, overrides the generated preview character_*_preview.png or player_*_*_preview.png