Commit Graph

30 Commits

Author SHA1 Message Date
SmallJoker
3cf80c9272 skinlist: Allow textures containing '-' characters
Fixes issue #110
Thanks to Bastrabun for the code suggestion
2024-09-28 11:12:31 +02:00
SmallJoker
df62f2042d skinlist: avoid 'Too many open files' errors
Due to application-specific file descriptor limits,
the garbage collector cannot close the descriptors in time,
resulting in unexpected file open errors.
2024-07-22 18:41:15 +02:00
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
SmallJoker
71f803e2fb Fix private skin variations not showing up
'player.playername.43.png' skins were not recognized
2024-06-10 18:30:25 +02:00
SmallJoker
312780c82e
Clean up skin listing (#100)
Supersedes the 'fsep' setting by automatically detecting
the texture name in both, the skin list and the updater
scripts.
New, automatically fetched skins will now always use the
'.' delimiter to avoid player name issues.
In case of ambiguous texture names, a warning is logged.
2024-06-05 17:55:55 +02:00
blaboing
d3c7fa71c0
Filename seperator setting to fix #54 (#83)
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.
2023-05-10 21:41:35 +02:00
ZyuzlyaevPavel
e275159dd0
Add uv wrapped 1.8 hand model (#74) 2022-10-05 21:15:03 +02:00
David Leal
b769824d24
Add Continuous Integration and LuaCheck (#71)
All warnings have been fixed as well.
2022-06-16 12:06:35 +02:00
Alexander Weber
2e39651821 implement skinned 1st person view hand 2022-03-06 11:51:20 +01:00
Alexander Weber
da820d06cb fix skin list without sort key or name 2022-02-16 10:19:47 +01:00
Alexander Weber
55dc55f2dd revert texture name parsing change 2020-02-12 08:09:17 +01:00
GreenDimond
918df53f3b Autogenerate skin previews and other @GreenDimond changes 2020-02-08 19:12:09 +01:00
bell07
2673afa087
Fix external skins without "_sort_id" 2019-10-29 08:11:38 +01:00
Alexander Weber
166489597a improve skins sorting with same sort_id
add skins license hint to the README.md
2019-08-09 06:55:59 +02:00
Alexander Weber
fa5b3029fd add support for names in skin texture file (character_Skinname, player_playername_skinname) 2018-07-16 20:42:54 +02:00
Alexander Weber
2c20692f33 Added support for 1.8er Skins 2018-04-16 16:17:42 +02:00
Alexander Weber
6a09746b90 Support for in_inventory_list attribute to hide usable skins in inventory
API-documentation update
2018-01-07 20:30:27 +01:00
Alexander Weber
429874698e Add skins.get_skinlist_with_meta(key, value) and small adjustments 2018-01-07 19:09:52 +01:00
Alexander Weber
7df6363aa0 Rework private skins handling
-add skin:is_applicable_for_player(playername) method
- hide private skins in unified_inventory since not supported
- check player assignment in skins.assign_player_skin() + inherited to skins.set_player_skin()
2018-01-07 14:50:22 +01:00
Alexander Weber
e2e2927fe8 moved character_1 to character for overriding the default character 2017-07-24 17:39:16 +02:00
Alexander Weber
57b815f91f changes needed for character_creator support 2017-06-18 23:15:58 +02:00
Alexander Weber
920061c0f1 finished work on private player skins support 2017-06-18 17:56:24 +02:00
Alexander Weber
50e6c9e2d0 added skins.get_skinlist(listname), sfinv prepared for per player skinlist 2017-06-17 00:23:39 +02:00
Alexander Weber
8d991881aa get the new api working with sfinv and 3d_armor 2017-06-16 23:16:22 +02:00
Alexander Weber
28d28390ce started work on skin_meta_api 2017-06-16 23:00:36 +02:00
Alexander Weber
0def2bbae1 finalized unified_inventory rework 2017-06-15 16:16:57 +02:00
Alexander Weber
e2f90886e1 use players metadata. Enhance the API 2017-06-15 14:16:11 +02:00
Alexander Weber
8713b09348 updated reading skins list 2017-06-15 13:45:42 +02:00
Alexander Weber
d5df0d5e86 renamed back to "skins" for beter compatibility
make unified_inventory opitonal, move the UI code to an own file
2017-02-09 23:06:25 +01:00
Alexander Weber
8aef2c19ba The u_skins is a mod, not a modpack. Moved u_skins to the root and all updater stuff to the (new) updater directory 2016-09-05 21:02:53 +02:00