SkinChanger
一款面向 Paper 1.21.1 的现代、基于图形界面(GUI)的换肤插件。玩家可以通过简洁的菜单或单个命令将皮肤更改为任何正版玩家的皮肤,且无需重新登录。
✨ 功能特性
- 交互式 GUI:带有颜色编码的箱子菜单,支持皮肤搜索、预览、应用正版皮肤、重置以及皮肤画廊。
- 即时换肤:你的皮肤会实时更新并显示在你周围的所有玩家面前,无需踢出服务器或重新加入。
- 皮肤预览:先查询某位玩家的皮肤,在菜单中将其作为头颅图标展示,然后点击一键应用。
- 正版皮肤:输入正版玩家的用户名,即可立即应用其皮肤。
- 皮肤画廊:一个分页显示的预设皮肤菜单。可通过配置文件添加或删除条目。
铁砧或聊天输入:通过铁砧界面或聊天栏(可配置)输入用户名。
- 持久化皮肤:选定的皮肤会保存到 SQLite 数据库中,并在玩家再次加入时恢复。
- 全异步处理:所有网络请求均在主线程之外运行,因此不会造成服务器卡顿。
- 24 小时缓存:使用 Caffeine 对皮肤进行缓存,重复查询或失败查询不会再触发 API 请求。
- 速率限制保护:如果 Mojang API 受到速率限制或不可用,插件会自动回退到备用 API(Ashcon)。
- 高度可定制:每个 GUI 标题、按钮描述行和消息均可在
config.yml 中进行编辑,并支持十六进制颜色代码(&#RRGGBB)。
- 兼容离线模式:
reset 命令可以让玩家恢复到与其自身用户名匹配的正版皮肤。
📜 命令
| 命令 |
描述 |
权限节点 |
/skinchanger |
打开皮肤菜单 |
skinchanger.use |
/skinchanger <player> |
应用某位正版玩家的皮肤 |
skinchanger.use |
/skinchanger reset |
恢复你的原始皮肤 |
skinchanger.use |
/skinchanger reload |
重新加载配置文件 |
skinchanger.admin |
别名:/skin、/skins
额外权限:skinchanger.bypass.cooldown 可跳过换肤冷却时间。
⚙️ 依赖要求
- Paper 1.21.1
- Java 21
- 网络连接(用于访问 Mojang 皮肤 API,以及在首次启动时下载 Caffeine 库)
无需 ProtocolLib 或其他插件依赖。
📦 安装步骤
- 下载 jar 文件并将其放入服务器的
plugins 文件夹中。
- 重启服务器。
- 编辑
plugins/SkinChanger/config.yml 以自定义菜单、消息和画廊内容。
由 Andrewist 制作。
SkinChanger
A modern, GUI-based skin changer for Paper 1.21.1. Players can change their skin to any premium player's skin with a clean menu or a single command, with no relog required.
✨ Features
- Interactive GUI: a color-coded chest menu with skin search, preview, premium skin apply, reset and a skin gallery.
- Instant skin change: the skin updates live for you and everyone around you, with no kick or rejoin.
- Skin preview: look up a player's skin first and see it as a head in the menu, then apply it with one click.
- Premium skins: type a premium player's name and their skin is applied instantly.
- Skin gallery: a paginated menu of ready-made skins. Add or remove entries from the config.
- Anvil or chat input: enter names through an anvil screen or the chat (configurable).
- Persistent skins: chosen skins are saved to SQLite and restored when the player joins again.
- Fully async: all web requests run off the main thread, so there is no server lag.
- 24-hour caching: skins are cached with Caffeine, and repeated or failed lookups don't hit the API again.
- Rate limit protection: if Mojang's API is rate limited or down, the plugin automatically falls back to a backup API (Ashcon).
- Fully customizable: every GUI title, button, lore line and message is editable in
config.yml, with hex color support (&#RRGGBB).
- Offline-mode friendly:
reset can return players to the premium skin matching their own name.
📜 Commands
| Command |
Description |
Permission |
/skinchanger |
Open the skin menu |
skinchanger.use |
/skinchanger <player> |
Apply a premium player's skin |
skinchanger.use |
/skinchanger reset |
Restore your original skin |
skinchanger.use |
/skinchanger reload |
Reload the configuration |
skinchanger.admin |
Aliases: /skin, /skins
Extra permission: skinchanger.bypass.cooldown skips the skin change cooldown.
⚙️ Requirements
- Paper 1.21.1
- Java 21
- Internet access (for the Mojang skin API and for downloading the Caffeine library on first start)
No ProtocolLib or other plugin dependencies are needed.
📦 Installation
- Download the jar and place it in your
plugins folder.
- Restart the server.
- Edit
plugins/SkinChanger/config.yml to customize menus, messages and the gallery.
Made by Andrewist.
评论 0
登录后参与评分
还没有评论,来抢沙发吧