Skip to content

stevei5mc/NewTipsVariables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewTipsVariables

GitHub License GitHub top language GitHub Release
GitHub Repo stars GitHub forks GitHub issues GitHub pull requests

插件介绍

前言

  • 该插件可以为Tips提供更多的变量内容
  • 目前该插件正处于beta测试阶段如果有问题请及时提交issues
  • 如果你有开发能力可以为其提供PR来增加更多变量或修复问题

命令与权限节点

命令 权限节点 权限介绍 默认权限
/newtipsariables newtipsariables.admin 主命令 OP
/newtipsariables reload newtipsariables.admin.reload 重载配置文件 OP
/newtipsariables checkstatus newtipsariables.admin.checkstate 检查插件状态 OP

变量介绍文档

配置文件使用说明

  • 若未在此说明中写配置项出则代表该配置项还没有支持,也有可能是忘记写出来了
  • 给出的预览图片可能不是最新的,但也差不到哪去
config.yml

查看原文件

#使用说明:
#https://github.com/stevei5mc/NewTipsVariables/blob/main/README.md
#https://gitee.com/stevei5mc/NewTipsVariables/blob/main/README.md
#配置文件版本,勿动
version: 1
# 更新功能(这个功能展示没有用)
updata:
  in-plugin:
    #检查更新(暂时没有用)
    check: false
    #自动更新(需开启检查更新但暂时没有用)
    auto: false
  in-config:
    #检查更新
    check: false
    #自动更新(需开启检查更新)
    auto: false
# 是否释放新的变量说明文档
save-variables-doc: true
debug: false
  1. save-variables-doc 该功能关闭后就算删除变量文档也不会生成新的变量文档
  2. debug 显示一些额外的信息
    6
  3. updata -> in-config -> check 配置文件版本检查
  4. updata -> in-config -> auto 配置文件自动更新(需开启检查更新)注意: 开启后配置文件将强制更新不会保留原来的配置
    7
server.yml

查看原文件

#使用说明:
#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设置显示的颜色,lowmediumhigh为显示的范围
  2. value是一个范围值,mediumhigh为可设置的范围值,low值只能为0
player.yml

查看原文件

#使用说明:
#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设置显示的颜色,lowmediumhigh为显示的范围
  2. value是一个范围值,mediumhigh 为可设置的范围值,empty值只能为0low值只能为01
  • Device -> OS玩家的设备系统
  • Device -> Controls获取玩家设备的操作方式
  • Device -> UIProfile玩家的设备UI
  • ping 玩家的延迟
  • HP 玩家的血量
  • Food 玩家的饥饿值

使用方法

使用步骤 使用说明
1 将插件放进plugins文件夹
2 确保安装前置插件Tips后重启(启动)服务器
3 ./plugins/NewTipsVariables文件夹中的.txt文件获取相关变量介绍,也可在本页面获取相关的变量介绍就可以在Tips中使用同时也可以在支持Tips变量的插件中使用

注意事项及建议

  1. 不建议开启配置文件的自动更新,如果开启后配置文件有更新会覆盖式更新就会导致原有的配置丢失
  2. 预计1.0.0-beta10之后如果没有问题发布正式版该版本,有问题或者需求请及时提出issue
  3. 建议备份好已经配置好的配置文件以备不时之需
  4. 1.0.0-beta10之后合并了UnicodeVariables插件的相关功能,更新至1.0.0-beta10就可以删除UnicodeVariables

使用预览

1 2
3 4