-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Update skinsdb from upstream."
This reverts commit 81c577e.
- Loading branch information
Showing
10 changed files
with
112 additions
and
285 deletions.
There are no files selected for viewing
Submodule skinsdb
updated
9 files
+0 −25 | API.md | |
+3 −15 | api.lua | |
+6 −3 | init.lua | |
+3 −0 | settingtypes.txt | |
+60 −136 | skinlist.lua | |
+6 −14 | skins_updater.lua | |
+19 −26 | textures/readme.txt | |
+0 −50 | unittest.lua | |
+14 −15 | updater/update_skins.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# texture filename seperator, default "_" | ||
# see skindsdb/textures/readme.txt to avoid playername with underscore problem | ||
skinsdb_fsep (texture filename seperator) enum _ _,. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,25 @@ | ||
This location is where you can put your custom skins. | ||
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. | ||
|
||
List of accepted texture names | ||
------------------------------ | ||
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 | ||
character_[number-or-name].png | ||
|
||
One or multiple private skins for player "[nick]": | ||
player.[nick].png | ||
player.[nick].[number or name].png | ||
One or multiple private skins for player "nick": | ||
player_[nick].png or | ||
player_[nick]_[number-or-name].png | ||
|
||
Skin previews for public and private skins: | ||
character.[number or name].preview.png | ||
player.[nick].preview.png | ||
player.[nick].[number or name].preview.png | ||
|
||
Note: This is optional and overrides automatically generated preciewws. | ||
|
||
|
||
Legacy texture names | ||
-------------------- | ||
|
||
The character `_` is accepted in player names, thus it is not recommended to | ||
use such file names. For compatibility reasons, they are still recognized. | ||
|
||
character_[number or name].png | ||
player_[nick].png | ||
player_[nick]_[number or name].png | ||
|
||
... and corresponding previews that end in `_preview.png`. | ||
Preview files for public and private skins. | ||
Optional, overrides the generated preview | ||
character_*_preview.png or | ||
player_*_*_preview.png |
Oops, something went wrong.