summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
Diffstat (limited to 'API.md')
-rw-r--r--API.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/API.md b/API.md
index 0e6b293..ad0248b 100644
--- a/API.md
+++ b/API.md
@@ -72,7 +72,11 @@ The next metadata keys are usually filled
- name - A name for the skin
- author - The skin author
- license - THe skin texture license
- - assignment - is "player:playername" in case the skin is assigned to be privat for a player
+ - assignment - (obsolete) is "player:playername" in case the skin is assigned to be privat for a player
+ - playername - Player assignment for private skin
## skin:get_meta_string(key)
Same as get_meta() but does return "" instead of nil if the meta key does not exists
+
+## skin:is_applicable_for_player(playername)
+Check if a skin is applicable for the player "playername". Ususally the private skins could be applied to the player only