TSLscale - Minecraft 体型调整插件
简介
TSLscale 是一款专为 Minecraft 服务器设计的体型调整插件,允许玩家动态调整自身角色的大小。无论您希望变小变得可爱,还是变高变大,TSLscale 都能满足您的个性化需求!
功能特性
- ? 简单易用 - 只需一条命令即可调整体型
- ? 权限控制 - 灵活的权限系统确保服务器安全
- ? 智能补全 - 支持 Tab 键自动补全命令
- ⚡ 即时生效 - 体型调整立即生效,无需重新登录
- ? 自定义配置 - 可自定义体型范围及所有消息文本
- ? 热重载 - 支持配置文件热重载,无需重启服务器
兼容性
- Minecraft 版本: 1.21+
- 服务端类型: Spigot, Paper, Folia
- Java 版本: Java 21+
安装方法
- 下载
TSLscale.jar 文件
- 将文件放入服务器的
plugins 文件夹中
- 重启服务器或使用
/reload 命令
- 插件将自动生成配置文件
命令用法
基础命令
/TSLscale <value> - 调整至指定体型
/scale <value> - 命令简写
功能示例
# 将体型调整为 0.8 倍(变小)
/TSLscale 0.8
/tscale 0.8
# 将体型调整为 1.1 倍(变大)
/TSLscale 1.1
/tscale 1.1
# 将体型重置为默认大小
/TSLscale reset
/tscale reset
管理员命令
# 重载插件配置(仅限 OP)
/TSLscale reload
/tscale reload
权限系统
| 权限节点 |
描述 |
默认值 |
tslscale.use |
允许使用插件 |
所有玩家 |
tslscale.reload |
允许重载插件配置 |
仅限 OP |
权限配置示例
使用权限管理插件(如 LuckPerms)进行权限配置:
# 赋予玩家使用权限
/lp user <player name> permission set tslscale.use true
# 赋予管理员重载权限
/lp user <admin> permission set tslscale.reload true
配置文件
插件首次运行后,将在 plugins/TSLscale/ 目录下生成 config.yml 配置文件:
# 体型调整范围
scale_min: 0.8 # 最小体型(0.8 倍)
scale_max: 1.1 # 最大体型(1.1 倍)
# 消息配置
messages:
prefix: "&c[TSL Meow]&r "
set: "%prefix%你的体型已调整为 %scale%"
reset: "%prefix%你的体型已恢复为默认值"
usage: "%prefix%用法: /TSLscale <value|reset>"
no-permission: "%prefix%你没有权限"
console-only: "%prefix%只有玩家才能执行此命令"
配置说明
- scale_min/scale_max: 设置允许的体型调整范围
- messages: 自定义所有插件消息,支持颜色代码(&a, &c 等)
- %prefix%: 消息前缀占位符
- %scale%: 体型数值占位符
使用场景
适用场景
- ? 角色扮演服务器 - 扮演不同种族或年龄的角色
- ?️ 建筑服务器 - 调整体型进入狭小空间进行建造
- ? 娱乐服务器 - 增加趣味性和互动性游戏
- ? 截图与摄影 - 调整体型以获得更好的拍摄效果
体型建议
- 0.8 - 小巧可爱,适合儿童角色
- 0.9 - 略微娇小,适合青少年角色
- 1.0 - 默认体型(用于重置)
- 1.1 - 高大威猛,适合成年角色
常见问题
Q: 为什么我调整体型后没有变化?
A: 请确保:
- 您拥有
tslscale.use 权限
- 输入的值在配置范围内(默认 0.8-1.1)
- 服务器版本支持(需要 1.21+)
Q: 体型调整会影响游戏平衡吗?
A: 体型调整主要是视觉效果,对游戏机制影响较小。建议管理员根据服务器类型合理设置调整范围。
Q: 可以调整其他玩家的体型吗?
A: 当前版本仅支持调整自己的体型。后续版本可能会增加管理员调整他人体型的功能。
Q: 重启服务器后体型会重置吗?
A: 是的,体型调整不会永久保存,重启后需要重新调整。
技术支持
如果遇到任何问题或有功能建议,请联系:
- 作者: Zvbj
- 版本: 1.0-SNAPSHOT
- 支持: TSL 服务器
更新日志
v1.0-SNAPSHOT
- 首次发布
- 基础体型调整功能
- 权限系统
- 配置文件支持
- Tab 补全功能
感谢使用 TSLscale!希望这款插件能为您的 Minecraft 体验增添更多乐趣! ?✨
TSLscale - Minecraft body size adjustment plug-in
Introduction
TSLscale is a body size adjustment plug-in designed for Minecraft servers, allowing players to dynamically adjust their character size. Whether you want to be smaller, cute, or taller, TSLscale can meet your personal needs!
Functional Features
- ? Simple and easy to use - Adjust body shape with just one command
- ? Permission Control - Flexible permission system ensures server security
- ? Smart Completion - Support Tab key automatic completion command
- ⚡ Effect instantly - Body size adjustments take effect immediately without logging in again
- ? Custom configuration - Customize body size range and all message texts
- ? Hot reload - Supports configuration file hot reload without restarting the server
compatibility
- Minecraft version: 1.21+
- Server Type: Spigot, Paper, Folia
- Java Version: Java 21+
Installation method
- download
TSLscale.jardocument
- Put the file into the server
pluginsFolders
- Restart the server or use
/reloadOrder
- The plugin will automatically generate configuration files
Command usage
Basic commands
/TSLscale <value> - Adjust size to specified size
/scale <value> - Command abbreviation
Functional examples
# Adjust size to 0.8 times (to get smaller)
/TSLscale 0.8
/tscale 0.8
# Adjust size to 1.1 times (to grow larger)
/TSLscale 1.1
/tscale 1.1
# Reset body size to default size
/TSLscale reset
/tscale reset
Administrator commands
# Reload plugin configuration (OP only available)
/TSLscale reload
/tscale reload
Permission system
| Permission Node |
Description |
Default Value |
tslscale.use |
All players |
|
tslscale.reload |
Allow reload plugin configuration |
OP only |
Permission configuration example
Use permission management plugins (such as LuckPerms) to configure permissions:
# Give players permission to use
/lp user <player name> permission set tslscale.use true
# Give administrators permission to reload
/lp user <admin> permission set tslscale.reload true
Configuration File
After the plugin is run for the first time, it will be inplugins/TSLscale/Generate in the directoryconfig.ymlConfiguration file:
# Body size adjustment range
scale_min: 0.8 # Minimum size (0.8 times)
scale_max: 1.1 # Maximum size (1.1 times)
# Message configuration
messages:
prefix: "&c[TSL Meow]&r "
set: "%prefix%Your body size is adjusted to %scale%"
reset: "%prefix%Your body size is restored to default"
usage: "%prefix%Usage: /TSLscale <value|reset>"
no-permission: "%prefix%You don't have permission"
console-only: "%prefix%Only players can execute this command"
Configuration instructions
- scale_min/scale_max: Set the allowed body size adjustment range
- messages: Customize all plug-in messages, support color codes (&a, &c, etc.)
- %prefix%: Message prefix placeholder
- %scale%: Body size numerical placeholder
Use scenarios
Suitable use
- ? Roleplay Server - Play roles of different races or ages
- ?️ Building Server - Adjust the size to enter the small space to build
- ? Entertainment Server - Increase the fun and interactive game
- ? Screenshots and photos - Adjust your body shape to get better photo effects
Body size suggestions
- 0.8 - Small and cute, suitable for children's roles
- 0.9 - Slightly small in size, suitable for teenagers
- 1.0 - Default body type (for reset)
- 1.1 - Tall and large, suitable for adult roles
Frequently Asked Questions
Q: Why did I change after adjusting my body shape?
A: Please make sure:
- You have
tslscale.usePermissions
- The input value is within the configuration range (default 0.8-1.1)
- Server version support (requires 1.21+)
Q: Will body size adjustment affect the balance of the game?
A: Body size adjustment is mainly visual effects, which has little impact on the game mechanism. It is recommended that administrators set the adjustment range reasonably according to the server type.
Q: Can you adjust the body size of other players?
A: The current version only supports adjusting your own body shape. Subsequent versions may add the function of administrators to adjust other people's body shapes.
Q: Will the size reset after restarting the server?
A: Yes, body size adjustment will not be saved permanently, and it needs to be reset after restart.
Technical support
If you encounter problems or have functional suggestions, please contact:
- Author: Zvbj
- ** Version**: 1.0-SNAPSHOT
- Support: TSL server
Update log
v1.0-SNAPSHOT
- First release
- Basic body size adjustment function
- Permission system
- Configuration file support
- Tab completion function
Thanks for using TSLscale! Hopefully this plugin will add more fun to your Minecraft experience! ?✨
评论 0
登录后参与评分
还没有评论,来抢沙发吧