🪟任务目标列表

在任何目标的 value 下填写 'ANY' 即为任意

PlaceholderAPI 变量目标

该目标服务器每秒秒将进行一次匹配,如果玩家指定变量的值大于等于设定的 amount 则该目标完成!

需服务器安装插件 Place holder API

value 填写变量名

示例 (玩家拥有10000游戏币)

goals:
  #object id
  sumbit:
    type: PLACEHOLDERAPI
    #This is a PlaceholderAPI example.
    value: '%vault_eco_balance%'
    #This is equal value
    amount: 10000
    conditions: []

指令触发目标 Trigger

该目标只能由指令手动增加任务目标进度

增加进度指令 /ldq trigger 分类 任务ID 目标ID 数量

#value 为空

value: ''

示例

goals:
  #object id
  goal1:
    type: TRIGGER
    value: ""
    amount: 100
    conditions: []

实体目标

KILL_ENTITY

击杀原版实体

value: 实体的类型 (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html)

示例 (击杀10只村民)

#Task object set
goals:
  #object id
  killvillager:
    #The type of object
    type: KILL_ENTITY
    #Fill in the monster's ID here when the goal is KILL_MOB
    value: VILLAGER
    #The amount required to achieve the goal
    amount: 10
    #Additional conditions to increase the progress of this goal
    conditions: []

KILL_CUSTOM

自己杀自定义名称的生物

value: 生物的名称

示例

#Task object set
goals:
  #object id
  killvillager:
    type: KILL_CUSTOM
    value: &cBoss
    amount: 10
    conditions: []

BREED

繁殖指定实体

value: 实体的类型 (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html)

示例

goals:
  #object id
  sumbit1:
    type: BREED
    value: SHEEP
    amount: 16
    conditions: []
  sumbit2:
    type: BREED
    value: COW
    amount: 16
    conditions: []

SHEAR

用剪刀剪指定实体

value: 生物的类型 (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html)

示例

goals:
  #object id
  sumbit1:
    type: SHEAR
    value: SHEEP
    amount: 64
    conditions: []

TAME

巡抚指定生物

字符目标

BREAK

破坏指定方块

value: 方块的id

示例

#Task object set
goals:
  #object id
  diamond:
    type: BREAK
    value: DIAMOND_ORE
    amount: 10
    conditions: []

PLACE

放置指定方块

value: 方块的id

示例

goals:
  #object id
  place:
    type: PLACE
    #when goal is PLACE
    #format:
    #  value: block's type
    value: STONE
    amount: 128
    conditions: []
  place2:
    type: PLACE
    value: STONE_BRICKS
    amount: 128
    conditions: []

ENCHANT

在附魔台中附魔出指定等级的附魔

value: 附魔的ID (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html)

示例 (附魔出5级的保护)

goals:
  #object id
  sumbit:
    type: ENCHANT
    value: PROTECTION
    amount: 5
    conditions: []

BREW

酿造指定ID的药水

value: 药水的 id (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html)

示例

goals:
  #object id
  sumbit:
    type: BREW
    value: STRENGTH
    amount: 16
    conditions: []

物品目标

GIVE_ITEM

在任务界面中提交指定物品

value: 物品目标的写法

示例

goals:
  #object id
  sumbit:
    type: GIVE_ITEM
    value: DIAMOND
    amount: 16
    conditions: []
  sumbit2:
    type: GIVE_ITEM
    #This is a custom display item example.
    #format: custom;(Item display)
    value: custom;&cSuper Golden
    amount: 16
    conditions: []

CRAFT

合成出指定物品

value: 物品目标的写法

示例

goals:
  #object id
  sumbit:
    type: CRAFT
    #This is a vanilla item example.
    value: BREAD
    amount: 64
    conditions: []
  sumbit2:
    type: CRAFT
    #This is a custom name item example.
    value: custom;&cBig diamond
    amount: 32
    conditions: []

HARVEST

收获出指定物品

value: 物品目标的写法

示例

goals:
  #object id
  sumbit1:
    type: HARVEST
    value: WHEAT
    amount: 32
    conditions: []
  sumbit2:
    type: HARVEST
    value: CARROT
    amount: 32
    conditions: []
  sumbit3:
    type: HARVEST
    value: POTATO
    amount: 32
    conditions: []

FISH

钓鱼上指定物品

value: 物品目标的写法

示例

goals:
  #object id
  place:
    type: FISH
    #format:
    #  value: item's type
    value: COD
    amount: 32
    conditions: []

COOK

在熔炉或者高炉中煅烧出指定物品

value: 物品目标的写法

示例

goals:
  #object id
  sumbit1:
    type: COOK
    value: IRON_INGOT
    amount: 64
    conditions: []
  sumbit2:
    type: COOK
    value: COPPER_INGOT
    amount: 48
    conditions: []
  sumbit3:
    type: COOK
    value: GOLD_INGOT
    amount: 32
    conditions: []

CONSUME

消耗、吃掉指定物品

ITEM_BROKEN

损坏指定物品

无值的目标

TRADE

与村民进行交易

value: '' (可以设置为空)

示例

goals:
  #object id
  trade:
    type: TRADE
    #when goal is TRADE
    #the 'value' can be null
    value: ''
    amount: 32
    conditions: []

MOVE

移动指定距离

value: '' (可以设置为空)

示例

goals:
  #object id
  run:
    type: MOVE
    value: ""
    amount: 1000.0
    conditions: []

GAIN_EXP

获得原版经验

value: '' (可以设置为空)

示例

goals:
  #object id
  run:
    type: GAIN_EXP
    value: ""
    amount: 100.0
    conditions: []

GAIN_LEVEL

获得原版等级

value: '' (可以设置为空)

示例

goals:
  #object id
  run:
    type: GAIN_LEVEL
    value: ""
    amount: 10.0
    conditions: []

GAIN_FOOD

获得饱食度

value: '' (可以设置为空)

示例

goals:
  #object id
  run:
    type: GAIN_FOOD
    value: ""
    amount: 10.0
    conditions: []

TAKE_FOOD

消耗饱食度

value: '' (可以设置为空)

示例

goals:
  #object id
  run:
    type: TAKE_FOOD
    value: ""
    amount: 10.0
    conditions: []

DEATH

死亡指定次数

value: '' (可以设置为空)

示例

goals:
  #object id
  run:
    type: DEATH
    value: ""
    amount: 10.0
    conditions: []

ATTACK_DAMAGE

造成伤害

PROJECTILE_DAMAGE

造成远程伤害

DAMAGED

受到

BLOCKING

格挡伤害

BLOCKING_PROJECTILE

格挡远程伤害

CHAT

聊天

DELAY

延时任务

示例 (该目标将在接受后的3600s后自动完成)

goals:
  #object id
  sumbit:
    type: DELAY
    value: ""
    # in second
    amount: 3600
    conditions: []

Last updated