🎉 [精灵]CompanionsPlus v3.0.0 版本已发布 ✨ 点击查看
Skip to content

变量支持 ​

变量支持 ​

本插件目前注册以下PAPI变量(需:PlaceholderAPI)

变量名显示内容
%playerTitle_use%玩家使用的展示称号名称
%playerTitle_description%玩家使用的展示称号的描述
%playerTitle_buff%玩家使用的展示称号的buff,多个自动,会分隔
%playerTitle_particle%玩家使用的展示称号的粒子效果
%playerTitle_use_buff%玩家使用的属性称号名称 (3.3.0+)
%playerTitle_description_buff%玩家使用的属性称号的描述 (3.3.0+)
%playerTitle_buff_buff%玩家使用的属性称号的buff,多个自动,会分隔(3.3.0+)
%playerTitle_particle_buff%玩家使用的属性称号的粒子效果(3.3.0+)
%playerTitle_use_particle%玩家使用的粒子称号名称 (3.3.0+)
%playerTitle_description_particle%玩家使用的粒子称号的描述 (3.3.0+)
%playerTitle_buff_particle%玩家使用的粒子称号的buff,多个自动,会分隔(3.3.0+)
%playerTitle_particle_particle%玩家使用的粒子称号的粒子效果(3.3.0+)
%playerTitle_use_id%玩家使用的展示称号ID (3.4.8+)
%playerTitle_use_buff_id%玩家使用的属性称号ID (3.4.8+)
%playerTitle_use_particle_id%玩家使用的粒子称号ID (3.4.8+)
%playerTitle_strip_color_use%玩家使用的展示无颜色称号名称 (4.0.6+)
%playerTitle_strip_color_use_buff%玩家使用的属性无颜色称号名称 (4.0.6+)
%playerTitle_strip_color_use_particle%玩家使用的粒子无颜色称号名称 (4.0.6+)
%playerTitle_raw_text_use%玩家使用的展示原始文本称号名称 (4.0.8+)
%playerTitle_raw_text_use_buff%玩家使用的属性原始文本称号名称 (4.0.8+)
%playerTitle_raw_text_use_particle%玩家使用的粒子原始文本称号名称 (4.0.8+)
%playerTitle_expiration_time%玩家使用的展示称号过期时间 (4.1.8+)
%playerTitle_expiration_time_buff%玩家使用的属性称号过期时间 (4.1.8+)
%playerTitle_expiration_time_particle%玩家使用的粒子称号过期时间 (4.1.8+)
%playerTitle_number%玩家称号数量(无缓存)
%playerTitle_coin%玩家称号币变量(无缓存)
%playerTitle_count_[称号ID]%对应称号的出售数量(无缓存) (3.4.3+)
%playerTitle_have_[称号ID]%玩家是否拥有该称号,拥有返回true,未拥有返回false(无缓存) (3.4.3+)

比较关键的三个变量,用于显示称号的名称(这里的展示/属性/粒子称号,你可以自定义名字为前/中/后缀称号)

  1. %playerTitle_use% 玩家使用的展示(前缀)称号名称
  2. %playerTitle_use_buff% 玩家使用的属性(中缀)称号名称 (3.3.0+)
  3. %playerTitle_use_particle% 玩家使用的粒子(后缀)称号名称 (3.3.0+)

你可以使用如下指令进行查询对应变量的结果

/papi parse me %playerTitle_use%