Skip to content
This repository was archived by the owner on Jan 3, 2020. It is now read-only.

Commit de1215f

Browse files
committed
doc update
1 parent e5a9bdd commit de1215f

File tree

2 files changed

+81
-5
lines changed

2 files changed

+81
-5
lines changed

README.md

Lines changed: 80 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Universal Skin Mod
22
This is a mod for Minecraft, allowing players to select any "SkinServer" they like.
33

4-
Current version is v1.4-alpha2 for Minecraft 1.9
4+
Current version is v1.4-dev1 for Minecraft 1.9
55

66
### Features
77

@@ -16,9 +16,85 @@ Current version is v1.4-alpha2 for Minecraft 1.9
1616

1717
### Configure
1818

19-
- The config file is located in `config/UniSkinMod/UniSkinMod.json`
20-
- Local skin folder is `config/UniSkinMod/local_skins/`. You have to create it manually.
21-
- For more info about the "Root" URL, visit [UniSkinAPI Document](https://github.com/RecursiveG/UniSkinServer/blob/master/doc/UniSkinAPI_en.md) please!
19+
The config file is located in `config/UniSkinMod/UniSkinMod.json`.
20+
Here is the default configure:
21+
22+
{
23+
"rootURIs": [
24+
"http://www.skinme.cc/uniskin",
25+
"https://skin.prinzeugen.net"
26+
],
27+
"legacySkinURIs": [],
28+
"legacyCapeURIs": []
29+
}
30+
31+
These are the two default skin servers and you are free to edit them.
32+
33+
"Legacy" refers to old-style skin links. Here's an example
34+
35+
https://skins.minecraft.net/MinecraftSkins/%s.png
36+
37+
`%s` will be replaced by the player's name.
38+
39+
All skins will be loaded in this order:
40+
41+
1. Local dynamic textures
42+
2. Remote dynamic textures
43+
3. Official static textures (Cannot disable from config)
44+
4. Local static textures
45+
5. Remote static textures
46+
6. Legacy static textures
47+
48+
##### Local Textures
49+
50+
Local skin folder is `config/UniSkinMod/local_skins/` which uses the same structures as UniSkinAPI.
51+
That is `config/UniSkinMod/local_skins/{playername}.json` is per-player setting and all textures goes
52+
into `config/UniSkinMod/local_skins/textures/{hash}`
53+
54+
For more info about the "Root" URL, visit [UniSkinAPI Document](https://github.com/RecursiveG/UniSkinServer/blob/master/doc/UniSkinAPI_en.md) please!
55+
56+
### 配置说明
57+
58+
配置文件位于`config/UniSkinMod/UniSkinMod.json`。````````
59+
默认配置如下:
60+
61+
{
62+
"rootURIs": [
63+
"http://www.skinme.cc/uniskin",
64+
"https://skin.prinzeugen.net"
65+
],
66+
"legacySkinURIs": [],
67+
"legacyCapeURIs": []
68+
}
69+
70+
你可以随意更改服务器。
71+
72+
“Legacy” 指旧式的链接地址。 样例如下:
73+
74+
https://skins.minecraft.net/MinecraftSkins/%s.png
75+
76+
其中的 `%s` 会被玩家名称替代。
77+
78+
所有服务器按以下顺序加载:
79+
80+
1. 本地动态皮肤
81+
2. 皮肤站动态皮肤
82+
3. 官方皮肤
83+
4. 本地皮肤
84+
5. 皮肤站皮肤
85+
6. Legacy 皮肤
86+
87+
##### 本地皮肤
88+
89+
本地皮肤目录位于 `config/UniSkinMod/local_skins/` 并使用与UniSkinAPI相同的目录结构。
90+
即:`config/UniSkinMod/local_skins/{playername}.json` 是各玩家的配置文件。
91+
`config/UniSkinMod/local_skins/textures/{hash}` 是具体的皮肤文件。
92+
93+
更多关于“根地址”的信息,请访问[UniSkinAPI 文档](https://github.com/RecursiveG/UniSkinServer/blob/master/doc/UniSkinAPI_zh-CN.md)
94+
95+
### Known bug
96+
97+
Main thread may freeze when loading skins. In multi-player games, this may cause timeout.
2298

2399
### License
24100
Licensed under GPLv2

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
}
1313
apply plugin: 'net.minecraftforge.gradle.forge'
1414

15-
version = "1.4-alpha2"
15+
version = "1.4-dev1"
1616
group = "org.devinprogress.uniskinmod"
1717
archivesBaseName = "UniSkinMod-1.9"
1818

0 commit comments

Comments
 (0)