服务器皮肤显示mod怎么用,如何配置皮肤 Mod · printempw/blessing-skin-server Wiki · GitHub...

Blessing Skin 只是一个皮肤站程序,仅仅是提供了上传、存储、检索、分享玩家皮肤的功能。想要在 Minecraft 游戏中显示您之前在皮肤站中上传的皮肤的话,您还需要「自定义皮肤 Mod」的帮助。

目前 Blessing Skin 支持的皮肤 Mod 有:

UniSkinMod - Universal Skin Mod

具体配置方法请继续阅读。

CustomSkinLoader 13.1 及以上(推荐)

CustomSkinLoader 13.1 经过作者的完全重写,支持了 CSL API,并且使用了高端洋气的 JSON 配置文件。你问我 JSON 是什么?为什么不去问问神奇海螺呢。

配置文件位于 .minecraft/CustomSkinLoader/CustomSkinLoader.json,你需要在 loadlist 数组最顶端加入你的皮肤站配置。

举个栗子(原来的 JSON 长这样):

{

"enable": true,

"loadlist": [

{

"name": "Mojang",

"type": "MojangAPI"

},

{

"name": "SkinMe",

"type": "UniSkinAPI",

"root": "http://www.skinme.cc/uniskin/"

}

]

}

你需要将其修改成像这样:

{

"enable": true,

"loadlist": [

{

"name": "YourSkinServer",

"type": "CustomSkinAPI",

"root": "http://example.com/"

},

{

"name": "Mojang",

"type": "MojangAPI"

},

{

"name": "SkinMe",

"type": "UniSkinAPI",

"root": "http://www.skinme.cc/uniskin/"

}

]

}

"type" 字段按照你的后台中配置的首选 API 来填(CustomSkinAPI|UniSkinAPI),CSL 13.1 版是支持三种加载方式的万受♂之王

如果还是不会填的话,请查看 CSL 开发者的 MCBBS 发布贴。

CustomSkinLoader 13.1 版以下:

在 .minecraft/CustomSkinLoader/skinurls.txt 中添加你的皮肤站地址:

http://example.com/skin/*.png

http://skins.minecraft.net/MinecraftSkins/*.png

http://minecrack.fr.nf/mc/skinsminecrackd/*.png

http://www.skinme.cc/MinecraftSkins/*.png

注意你需要将你的皮肤站地址放在配置文件最上方以优先加载。

同理在 .minecraft/CustomSkinLoader/capeurls.txt 中加入:

http://example.com/cape/*.png

UniSkinMod 1.4 版及以上(推荐)

配置文件位于 .minecraft/config/UniSkinMod/UniSkinMod.json。

举个栗子(原来的 JSON 长这样):

{

"rootURIs": [

"http://www.skinme.cc/uniskin",

"https://skin.prinzeugen.net"

],

"legacySkinURIs": [],

"legacyCapeURIs": []

}

你需要在 rootURIs 字典中加入你的皮肤站的地址:

{

"rootURIs": [

"http://www.skinme.cc/uniskin",

"https://skin.prinzeugen.net",

"http://example.com"

],

"legacySkinURIs": [],

"legacyCapeURIs": []

}

如果你的皮肤站首选 API 为 CustomSkinLoader API 的话,你需要在 UniSkinMod 配置文件中填入类似于 http://example.com/usm (添加后缀)来支持 UniSkinMod。

配置 rootURIs 后,legacySkinURIs 和 legacyCapeURIs 可以不用配置。详见文档。

UniSkinMod 1.2 及 1.3 版

在你 MC 客户端的 .minecraft/config/UniSkinMod.cfg 中加入你的皮肤站根地址:

举个栗子:

# SkinMe Default

Root: http://www.skinme.cc/uniskin

# Your Server

Root: http://example.com

UniSkinMod 1.2 版以下

同样是在 .minecraft/config/UniSkinMod.cfg 中配置你的皮肤站地址,但是稍有点不一样。旧版的 UniSkinMod 是不支持 Json API 的,而是使用了传统图片链接的方式(其实这样的话皮肤站也好实现):

举个栗子:

Skin: http://skins.minecraft.net/MinecraftSkins/%s.png

Cape: http://skins.minecraft.net/MinecraftCloaks/%s.png

# Your Server

Skin: http://example.com/skin/%s.png

Cape: http://example.com/cape/%s.png

这是通过 URL 重写(伪静态)实现的,所以皮肤站目录下没有 skin 和 cape 目录也不要惊讶哦。

如果一切都正常工作,你就可以在游戏中看到你的皮肤啦~

Mod Configuration

Blessing Skin Server only implements the API which is defined by skin mod and provides friendly web pages to manage skins in an easier way.

To show your skins in game, you have to configure your skin mod correctly as uploading your skins to skin server.

There the mod we supported are: CustomSkinLoader and Universal Skin Mod.

For CustomSkinLoader 13.1 and higher (recommended)

The configuration is located in .minecraft/CustomSkinLoader/CustomSkinLoader.json, and it is just like this:

{

"enable": true,

"loadlist": [

{

"name": "Mojang",

"type": "MojangAPI"

},

{

"name": "SkinMe",

"type": "UniSkinAPI",

"root": "http://www.skinme.cc/uniskin/"

}

]

}

The important thing you need to do is to add the root url of your skin server to the loadlist dict:

{

"enable": true,

"loadlist": [

{

"name": "YourSkinServer",

"type": "CustomSkinAPI",

"root": "http://example.com/"

},

{

"name": "Mojang",

"type": "MojangAPI"

},

{

"name": "SkinMe",

"type": "UniSkinAPI",

"root": "http://www.skinme.cc/uniskin/"

}

]

}

The field type should be same with your API that configurated in the options of skin srever.

For CustomSkinLoader 12.9 and lower

Add your urls to the configuration file located in .minecraft/CustomSkinLoader/skinurls.txt:

# Notice: You should put your url on the top to make it be loaded first

http://example.com/skin/*.png

http://skins.minecraft.net/MinecraftSkins/*.png

http://minecrack.fr.nf/mc/skinsminecrackd/*.png

http://www.skinme.cc/MinecraftSkins/*.png

Also add it in .minecraft/CustomSkinLoader/capeurls.txt:

http://example.com/cape/*.png

UniSkinMod 1.4 and higher (recommended)

The configuration file is located in .minecraft/config/UniSkinMod/UniSkinMod.json.

You should modify it from:

{

"rootURIs": [

"http://www.skinme.cc/uniskin",

"https://skin.prinzeugen.net"

],

"legacySkinURIs": [],

"legacyCapeURIs": []

}

to this:

{

"rootURIs": [

"http://www.skinme.cc/uniskin",

"https://skin.prinzeugen.net",

"http://example.com"

],

"legacySkinURIs": [],

"legacyCapeURIs": []

}

which means adding your url of skin server to the dict rootURIs.

There is a documentation for USM 1.4+, check it here.

UniSkinMod 1.2 & 1.3

Put your root urls to .minecraft/config/UniSkinMod.cfg:

# SkinMe Default

Root: http://www.skinme.cc/uniskin

# Your Server

Root: http://example.com

UniSkinMod 1.2 and lower

The configuration file is also located in .minecraft/config/UniSkinMod.cfg, but you should add the legacy links in instead of root urls:

Skin: http://skins.minecraft.net/MinecraftSkins/%s.png

Cape: http://skins.minecraft.net/MinecraftCloaks/%s.png

# Your Server

Skin: http://example.com/skin/%s.png

Cape: http://example.com/cape/%s.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: Here is a code in Python that outputs a greeting message for Valentine's Day: ``` def valentines_day_greeting(): print("Happy Valentine's Day! ❤️") print("Wishing you love, happiness, and all the joy your heart can hold.") valentines_day_greeting() ``` This code defines a function `valentines_day_greeting()` which, when called, outputs the greeting message for Valentine's Day. ### 回答2: 以下是一个关于情人节的代码示例: ```python # 导入日期时间模块 import datetime # 获取今天的日期 today = datetime.date.today() # 判断今天是否是情人节 if today.month == 2 and today.day == 14: print("情人节快乐!") else: print("今天不是情人节。") # 输出情人节日期 print("情人节的日期是2月14日。") ``` 这个简单的代码示例使用了python中的`datetime`模块来获取当前日期,然后判断是否是情人节。如果是情人节,打印出"情人节快乐!";如果不是情人节,打印出"今天不是情人节。"最后,打印出情人节的日期:"情人节的日期是2月14日。" 这只是一个简单的示例,你可以根据需求自定义更复杂的功能,比如发送情人节祝福短信、制作情人节卡片等。希望能帮到你! ### 回答3: 以下是一个关于情人节的代码示例: ```python # 导入必要的库 import random # 创建一个字典,包含情人节祝福语和对应的作者 valentines_messages = { "你是我生命中最重要的人,情人节快乐!": "匿名", "爱是无私的,我愿意为你付出一切。情人节快乐!": "爱人A", "你的微笑是我每天的动力,情人节快乐!": "爱人B", "爱不仅仅是节日的象征,对我来说,每天都是情人节。": "匿名" } # 随机选择一条祝福语和作者 blessing = random.choice(list(valentines_messages.keys())) author = valentines_messages[blessing] # 打印出祝福语和作者 print(blessing) print("——", author) ``` 这个代码示例实现了从一个包含多个情人节祝福语和作者的字典中随机选择一条祝福语和作者,并将其打印出来。每次运行代码,都会随机选择一条祝福语和作者进行展示,帮助用户发送心意和祝福。当然,你可以根据自己的需求,自定义更多的祝福语和作者,并将其添加到字典中。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值