• 你好,Guest,欢迎回来!Nukkit-MOT BBS社区是专为Minecraft玩家和开发者提供的Nukkit-MOT平台技术论坛。Nukkit-MOT是一个多版本、内置实体AI、广泛插件兼容的我的世界服务器软件,采用Java编写,专为性能和可扩展性设计,支持插件开发和自定义功能。在Nukkit-MOT BBS,您可以轻松找到开服教程、插件开发资源和插件分享,帮助您快速搭建和管理Nukkit-MOT服务器,提升开发技能,推广您的插件。

    You can join [Discord] to get the latest notifications.
    为了避免一些意外情况,你可以【加入QQ群】来获取最新通知
Resource icon

Open Source Free Need Depend NewTipsVariables 1.0.1

Resource Type
Originality
Copyright Link
#
Open Source URL
https://github.com/stevei5mc/NewTipsVariables
Depend Plugin
Tips
插件介绍

前言​

  • 该插件可以为Tips提供更多的变量内容
  • 有问题请及时提交issues,如果没有github的账号可以在该帖子下进行留言反馈
  • 如果你有开发能力可以为其提供PR来增加更多变量或修复问题

命令与权限节点​

命令权限节点权限介绍默认权限
/newtipsariablesnewtipsariables.admin主命令OP
/newtipsariables reloadnewtipsariables.admin.reload重载配置文件OP
/newtipsariables checkstatusnewtipsariables.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
  1. save-variables-doc 该功能关闭后就算删除变量文档也不会生成新的变量文档
  2. debug 显示一些额外的信息
  3. updata -> in-config -> check 配置文件版本检查
  4. updata -> in-config -> auto 配置文件自动更新(需开启检查更新)注意: 开启后配置文件将强制更新不会保留原来的配置
debug.PNG
check_config.PNG

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

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 玩家的饥饿值

使用方法

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

注意事项及建议

  1. 请不要随意的改动配置文件的版本号,否则带来的后果一切自负
  2. 建议备份好已经配置好的配置文件以备不时之需
  3. 1.0.0-beta10之后合并了UnicodeVariables插件的相关功能,更新至1.0.0-beta10及以上版本即可删除UnicodeVariables了 (非常抱歉,由于本人的失误导致UnicodeVariables的相关变量在1.0.0-beta10到1.0.0版本中没有正常生效,但由于是最近才发现的所以紧急发布新版本,1.0.1版本应该是可以正常使用的,如果出现了问题请及时的反馈,非常感谢您们的支持)(本论坛并没有发布1.0.0及之前的版本)
Author
stevei5mc
Downloads
16
Views
30
First release
Last update
Rating
0.00 star(s) 0 ratings