LegendaryDailyQuests
  • 💎插件文档
  • ⚙️插件安装
  • 插件配置
    • config.yml
    • Language.yml
  • 任务配置
    • 📜任务模板
      • 创建一个新的任务
    • 🌯任务品质 Rarity (1.0.7 Update)
    • 🪟任务目标列表
    • ✍️特殊任务目标的值的写法
      • 📜物品目标的写法
    • 🗞️条件列表
    • 💠任务奖励执行组
    • 创建一个新的任务周期
  • 指令
    • 🔍指令与权限
    • 插件变量
    • 更新记录
Powered by GitBook
On this page
  • PlaceholderAPI 插件变量条件
  • 数学(比大小)条件
  • [y]: 比较玩家当前所在的y
  • [health]: 比较玩家当前的生命值
  • [maxhealth]: 比较最大生命值
  • [distance]: 比较玩家当前位置距离该世界的出生点的距离
  • [level]: 比较玩家的等级
  • [food]: 比较玩家的饱食度
  • 匹配字符条件
  • [world]: 检测当前世界是否为指定世界
  • [permission]: 检测玩家是否拥有指定权限
  • [biome]: 检测玩家当前所在的群系
  • [stand]: 检测玩家脚下的方块
  • 判断条件
  • [sneak]: 当玩家潜行时
  • [fly]: 当玩家飞行时
  • [vehicle]: 当玩家在载具内
  • [onfire]: 当玩家被点燃
  • [onground]: 当玩家在地上
  • [sleep]: 当玩家在睡觉
  • [run]: 当玩家的疾跑
  • [night]: 当玩家所在的世界为黑夜时
  • [day]: 当玩家所在的世界为白天时
  • 物品条件
  • [hasitem]: 玩家背包内是否存在指定物品
  • [handitem]: 玩家的主手是否是指定物品
  • [offhanditem]: 玩家副手是否是指定物品
  • [helmetitem]: 玩家头盔是否是指定物品
  • [chestitem]: 玩家胸甲是否是指定物品
  • [legsitem]: 玩家护腿是否是指定物品
  • [bootsitem]: 玩家靴子是否是指定物品
  • 其他条件
  • [chance]: There is a specified probability of passing this time
  1. 任务配置

条件列表

Do you think the task was completed too easily? You can use the following conditions to limit the difficulty of players completing their goals.

PlaceholderAPI 插件变量条件

格式: [placeholderapi]%XXX%;(>=/>/<=/</=);比较值

例如:

conditions:
- '[placeholderapi]%player_max_health%;>;15
- '[placeholderapi]%player_food%;>=10'
...

数学(比大小)条件

[标识](>=/>/<=/</=);比较值

[y]: 比较玩家当前所在的y

例子 (当玩家 y >= 120时)

conditions:
- [y]>=120
- ...

[health]: 比较玩家当前的生命值

example.1 (具体值)

conditions:
- [health]>=10.0
- ...

example.2 (最大生命百分比)

conditions:
- [health]>=20%
- ...

[maxhealth]: 比较最大生命值

[distance]: 比较玩家当前位置距离该世界的出生点的距离

[level]: 比较玩家的等级

[food]: 比较玩家的饱食度

匹配字符条件

[world]: 检测当前世界是否为指定世界

例子

conditions:
- [world]world_the_end
- ...

[permission]: 检测玩家是否拥有指定权限

例子

conditions:
- [permission]legendarydailyquest.admin
- ...

[biome]: 检测玩家当前所在的群系

conditions:
- [biome]PLAINS
- ...

[stand]: 检测玩家脚下的方块

例子

conditions:
- [stand]GRASS_BLOCK
- ...

判断条件

[sneak]: 当玩家潜行时

例子

conditions:
- [sneak]

[fly]: 当玩家飞行时

[vehicle]: 当玩家在载具内

[onfire]: 当玩家被点燃

[onground]: 当玩家在地上

[sleep]: 当玩家在睡觉

[run]: 当玩家的疾跑

[night]: 当玩家所在的世界为黑夜时

[day]: 当玩家所在的世界为白天时

物品条件

物品写法参考 :

[hasitem]: 玩家背包内是否存在指定物品

例子

conditions:
- [hasitem]custom;&cBig Sword
- ...

[handitem]: 玩家的主手是否是指定物品

如上

[offhanditem]: 玩家副手是否是指定物品

Same as above

[helmetitem]: 玩家头盔是否是指定物品

Same as above

[chestitem]: 玩家胸甲是否是指定物品

Same as above

[legsitem]: 玩家护腿是否是指定物品

Same as above

[bootsitem]: 玩家靴子是否是指定物品

Same as above

其他条件

[chance]: There is a specified probability of passing this time

example (20%)

conditions:
- [chance]20
- ...

Previous物品目标的写法Next任务奖励执行组

Last updated 1 year ago

例子 ()

🗞️
https://minecraft.fandom.com/zh/wiki/%E7%94%9F%E7%89%A9%E7%BE%A4%E7%B3%BB#%E5%B9%B3%E5%8E%9F%E7%94%9F%E7%89%A9%E7%BE%A4%E7%B3%BB
📜物品目标的写法