-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into contentdb
- Loading branch information
Showing
9 changed files
with
288 additions
and
111 deletions.
There are no files selected for viewing
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 was deleted.
Oops, something went wrong.
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,25 +1,33 @@ | ||
In this folder the skin files could be placed according the following file naming convention. | ||
This location is where you can put your custom skins. | ||
|
||
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 | ||
List of accepted texture names | ||
------------------------------ | ||
|
||
Public skin available for all users: | ||
character_[number-or-name].png | ||
character.[number or name].png | ||
^ The allowed characters in "[number or name]" are "[A-z0-9_.-]+". | ||
|
||
One or multiple private skins for player "nick": | ||
player_[nick].png or | ||
player_[nick]_[number-or-name].png | ||
One or multiple private skins for player "[nick]": | ||
player.[nick].png | ||
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 | ||
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`. |
Oops, something went wrong.