插件介绍
前言
命令与权限节点
命令 | 权限节点 | 权限介绍 | 默认权限 |
---|---|---|---|
/newtipsariables | newtipsariables.admin | 主命令 | OP |
/newtipsariables reload | newtipsariables.admin.reload | 重载配置文件 | OP |
/newtipsariables checkstatus | newtipsariables.admin.checkstate | 检查插件状态 | OP |
变量介绍
配置文件使用说明
YAML:
#使用说明:
#https://github.com/stevei5mc/NewTipsVariables/blob/main/README.md
#https://gitee.com/stevei5mc/NewTipsVariables/blob/main/README.md
#配置文件版本,勿动
version: 2
# 更新功能(这个功能展示没有用)
updata-plugin:
#检查更新(暂时没有用)
check: false
#自动更新(需开启检查更新但暂时没有用)
auto: false
# 是否释放新的变量说明文档
save-variables-doc: true
debug: false
- save-variables-doc 该功能关闭后就算删除变量文档也不会生成新的变量文档
- debug 显示一些额外的信息
- updata -> in-config -> check 配置文件版本检查
- updata -> in-config -> auto 配置文件自动更新(需开启检查更新)注意: 开启后配置文件将强制更新不会保留原来的配置
YAML:
#使用说明:
#https://github.com/stevei5mc/NewTipsVariables/blob/main/README.md
#https://gitee.com/stevei5mc/NewTipsVariables/blob/main/README.md
#配置文件版本,勿动
version: 1
TPS:
low_color: "§c"
medium_value: 9
medium_color: "§e"
high_value: 15
high_color: "§a"
1. ```color```设置显示的颜色,```low```、```medium```、```high```为显示的范围
2. ```value```是一个范围值,```medium```、```high```为可设置的范围值,```low```值只能为```0```
[/MD]
YAML:
#使用说明:
#https://github.com/stevei5mc/NewTipsVariables/blob/main/README.md
#https://gitee.com/stevei5mc/NewTipsVariables/blob/main/README.md
#配置文件版本,勿动
version: 1
Device:
OS:
Android: "Android"
iOS: "iOS"
macOS: "macOS"
Fire_OS: "Fire OS"
Gear_VR: "Gear VR"
HoloLens: "HoloLens"
Windows_10: "Windows 10"
Windows: "Windows"
Dedicated: "Dedicated"
tvOS: "tvOS"
PlayStation: "PlayStation"
Switch: "Switch"
Xbox: "Xbox"
Windows_Phone: "Windows Phone"
Controls:
Keyboard: Keyboard
Touch: Touch
pad: pad
motion_controller: motion_controller
UIProfile:
classic: "classic ui"
pocket: "pocket ui"
ping:
low_color: "§a"
medium_value: 80
medium_color: "§e"
high_value: 120
high_color: "§c"
HP:
low_color: "§c{0}§7/§c{1}"
medium_value: 9
medium_color: "§e{0}§7/§e{1}"
high_value: 15
high_color: "§a{0}§7/§a{1}"
Food:
empty_color: "§7{0}/{1}"
low_color: "§c{0}§7/§c{1}"
medium_value: 9
medium_color: "§e{0}§7/§e{1}"
high_value: 15
high_color: "§a{0}§7/§a{1}"
1. `color`设置显示的颜色,`low`、`medium`、`high`为显示的范围
2. `value`是一个范围值,`medium`、`high` 为可设置的范围值,`empty`值只能为`0`,`low`值只能为`0`或`1`
- **`Device -> OS`玩家的设备系统**
- **`Device -> Controls`获取玩家设备的操作方式**
- **`Device -> UIProfile`玩家的设备UI**
- **`ping` 玩家的延迟**
- **`HP` 玩家的血量**
- **`Food` 玩家的饥饿值**
[/MD]
使用方法
使用步骤 | 使用说明 |
1 | 将插件放进plugins文件夹 |
2 | 确保安装前置插件Tips后重启(启动)服务器 |
3 | 在./plugins/NewTipsVariables文件夹中的.txt文件获取相关变量介绍,也可在本页面获取相关的变量介绍就可以在Tips中使用同时也可以在支持Tips变量的插件中使用 |
注意事项及建议
- 请不要随意的改动配置文件的版本号,否则带来的后果一切自负
- 建议备份好已经配置好的配置文件以备不时之需
- 1.0.0-beta10之后合并了UnicodeVariables插件的相关功能,更新至1.0.0-beta10及以上版本即可删除UnicodeVariables了 (非常抱歉,由于本人的失误导致UnicodeVariables的相关变量在1.0.0-beta10到1.0.0版本中没有正常生效,但由于是最近才发现的所以紧急发布新版本,1.0.1版本应该是可以正常使用的,如果出现了问题请及时的反馈,非常感谢您们的支持)