• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“QuestCreator/任务条件”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
ITEM · 物品
 
(未显示同一用户的10个中间版本)
第2行: 第2行:
 
= 任务条件 =
 
= 任务条件 =
  
* A condition is something that the player needs to progress.
+
* 条件是玩家需要满足的东西.
 
* 条件可用于开始任务的需求或任务目标的需求 (如果没有类似的目标类型的话).
 
* 条件可用于开始任务的需求或任务目标的需求 (如果没有类似的目标类型的话).
 
* 一个条件拥有独立的配置选项.
 
* 一个条件拥有独立的配置选项.
第11行: 第11行:
 
  <nowiki> </nowiki> check_leader_only: true
 
  <nowiki> </nowiki> check_leader_only: true
 
  <nowiki> </nowiki> take_after_check: true
 
  <nowiki> </nowiki> take_after_check: true
  <nowiki> </nowiki> error_message: '&cYou don<nowiki>''</nowiki>t have this requirement.'
+
  <nowiki> </nowiki> error_message: '&c你不满足条件.'
  
* 'type' is the condition type. They're all detailed below.
+
* 'type' 为条件类型. They're all detailed below.
* 'check_leader_only' is a boolean. Set it to true to check the condition only for the leader.
+
* 'check_leader_only' 为布尔值. 设置为true则只检测任务队长的条件.
* 'take_after_check' is a boolean. Set it to true to take the condition when the quest starts (only if applicable, for example ITEM or MONEY).
+
* 'take_after_check' 为布尔值. 设置为true会在任务开始时采取该条件. (只在如1物品或金钱的条件下有用).
* 'error_message' is a text. It will be sent to the player if he hasn't the condition (if the condition is a start condition).
+
* 'error_message' 为文本. 会在不满足条件时给玩家发送消息(条件为开始条件才有用).
  
=== Example of use for a start condition ===
+
=== 开始条件示例 ===
 
  start_conditions:
 
  start_conditions:
 
   my_condition:
 
   my_condition:
第27行: 第27行:
 
       type: DIAMOND
 
       type: DIAMOND
 
       amount: 10
 
       amount: 10
     error_message: '&cYou need 10 diamonds to start this quest !'
+
     error_message: '&c你需要10个钻石才能完成这个任务 !'
 
     check_leader_only: true
 
     check_leader_only: true
 
     take_after_completion: true
 
     take_after_completion: true
  
=== Example of use for a quest object ===
+
=== 使用任务目标示例 ===
 
  my_object:
 
  my_object:
 
   type: CONDITIONS
 
   type: CONDITIONS
第41行: 第41行:
 
       take_after_completion: true
 
       take_after_completion: true
  
== Condition types ==
+
== 任务条件类型 ==
''This list was generated automatically from the in-game editor. If you find any incoherence, please report it on discord.''
+
''列表会在游戏内的编辑器自动生成. 如果你发现了不妥, 请在discord汇报.''
  
=== CONDITION_JOBSREBORN_JOB_LEVEL ===
+
=== CONDITION_JOBSREBORN_JOB_LEVEL ·工作等级 ===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: CONDITION_JOBSREBORN_JOB_LEVEL
 
   type: CONDITION_JOBSREBORN_JOB_LEVEL
   # job_name (text, mandatory) : name of job
+
   # job_name (文本,必填) : 工作名
 
   job_name: '/'
 
   job_name: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : EQUALS, DIFFERENT, AT_LEAST, LESS_THAN
+
   # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
 
   operation: 'EQUALS'
 
   operation: 'EQUALS'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
   # value (decimal number, optional) : value modifier
+
   # value (小数, 可选设置) : 数值调节器
 
   value: '1.0'
 
   value: '1.0'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: CONDITION_JOBSREBORN_JOB_LEVEL
 
         type: CONDITION_JOBSREBORN_JOB_LEVEL
第71行: 第71行:
 
         value: '1.0'
 
         value: '1.0'
  
=== HEROES_CLASS_LEVEL ===
+
=== HEROES_CLASS_LEVEL ·职业等级===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: HEROES_CLASS_LEVEL
 
   type: HEROES_CLASS_LEVEL
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # class_name (text, optional) : name of Heroes class
+
   # class_name (文本, 可选设置) : Heroes职业名
 
   class_name: '/'
 
   class_name: '/'
   # class_type (type, optional) : type of Heroes class
+
   # class_type (类型, 可选设置) : Heroes职业类型
   # possible values : PRIMARY, SECONDARY
+
   # 可用数值 : PRIMARY, SECONDARY
 
   class_type: 'PRIMARY'
 
   class_type: 'PRIMARY'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : EQUALS, DIFFERENT, AT_LEAST, LESS_THAN
+
   # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
 
   operation: 'EQUALS'
 
   operation: 'EQUALS'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
   # value (decimal number, optional) : value modifier
+
   # value (小数, 可选设置) : 数值调节器
 
   value: '1.0'
 
   value: '1.0'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: HEROES_CLASS_LEVEL
 
         type: HEROES_CLASS_LEVEL
第102行: 第102行:
 
         value: '1.0'
 
         value: '1.0'
  
=== HEROES_SKILL_LEVEL ===
+
=== HEROES_SKILL_LEVEL · 技能等级===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: HEROES_SKILL_LEVEL
 
   type: HEROES_SKILL_LEVEL
   # skill_name (text, mandatory) : name of Heroes skill
+
   # skill_name (文本,必填) : Heroes技能名
 
   skill_name: '/'
 
   skill_name: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : EQUALS, DIFFERENT, AT_LEAST, LESS_THAN
+
   # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
 
   operation: 'EQUALS'
 
   operation: 'EQUALS'
   # skill_type (type, optional) : type of Heroes skill
+
   # skill_type (类型, 可选设置) : Heroes技能类型
   # possible values : PRIMARY, SECONDARY
+
   # 可用数值 : PRIMARY, SECONDARY
 
   skill_type: 'PRIMARY'
 
   skill_type: 'PRIMARY'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
   # value (decimal number, optional) : value modifier
+
   # value (小数, 可选设置) : 数值调节器
 
   value: '1.0'
 
   value: '1.0'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: HEROES_SKILL_LEVEL
 
         type: HEROES_SKILL_LEVEL
第133行: 第133行:
 
         value: '1.0'
 
         value: '1.0'
  
=== ITEM ===
+
=== ITEM · 物品===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: ITEM
 
   type: ITEM
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : HAS, HAS_NOT
+
   # 可用数值 : HAS`拥有物品, HAS_NOT·未拥有物品
 
   operation: 'HAS'
 
   operation: 'HAS'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
   # items (item list setting, mandatory) : list of items needed
+
   # items (物品设置, 必填) : 所需的物品列表
 
   items:
 
   items:
 
     1: # sample
 
     1: # sample
       # type (material, mandatory) : type of item
+
       # type (物品材质, 必填) : 物品类型
 
       type: 'AIR'
 
       type: 'AIR'
       # amount (number, optional) : amount of items
+
       # amount (数字, 可选设置) : 物品数目
 
       amount: '1'
 
       amount: '1'
       # chance (decimal number, optional) : item apparition chance
+
       # chance (小数, 可选设置) : 物品出现几率
 
       chance: '-1'
 
       chance: '-1'
       # durability (number, optional) : durability of item
+
       # durability (数字, 可选设置) : 物品耐久度
 
       durability: '0'
 
       durability: '0'
       # enabled (boolean, optional) : is the item enabled
+
       # enabled (布尔值, 可选设置) : 是否启用物品
 
       enabled: 'true'
 
       enabled: 'true'
       # enchants (list of text, optional) : list of item enchants, Line format : {enchantment},{level}
+
       # enchants (文本列表,可选设置) : 附魔物品列表,格式为 : {enchantment},{level}
 
       enchants: []
 
       enchants: []
       # lore (list of text, optional) : lore of item
+
       # lore (文本列表,可选设置) : 物品描述
 
       lore: []
 
       lore: []
       # max_amount (number, optional) : maximum items amount
+
       # max_amount (数字, 可选设置) :最大物品数
 
       max_amount: '0'
 
       max_amount: '0'
       # must_have_in_hand (boolean, optional) : should the item be hold in hand
+
       # must_have_in_hand (布尔值, 可选设置) : 是否需要手持物品
 
       must_have_in_hand: 'false'
 
       must_have_in_hand: 'false'
       # name (text, optional) : display name of item
+
       # name (文本, 可选设置) : 物品展示名
 
       name: '/'
 
       name: '/'
       # nbt (text, optional) : NBT tag of item, base64 encoded
+
       # nbt (文本, 可选设置) : 物品NBT标签
 
       nbt: '/'
 
       nbt: '/'
       # remove_after_action (boolean, optional) : should the item be removed after action
+
       # remove_after_action (布尔值, 可选设置) : 是否在行为后删除物品
 
       remove_after_action: 'false'
 
       remove_after_action: 'false'
       # slot (number, optional) : slot in the GUI
+
       # slot (数字, 可选设置) : 在菜单内的格子顺序
 
       slot: '-1'
 
       slot: '-1'
       # unbreakable (boolean, optional) : does the item has the unbreakable tag
+
       # unbreakable (布尔值, 可选设置) : 物品是否无法破坏
 
       unbreakable: 'false'
 
       unbreakable: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: ITEM
 
         type: ITEM
第201行: 第201行:
 
             unbreakable: 'false'
 
             unbreakable: 'false'
  
=== MCMMO_LEVEL ===
+
=== MCMMO_LEVEL · MCMMO等级 ===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: MCMMO_LEVEL
 
   type: MCMMO_LEVEL
   # skill_name (text, mandatory) : name of McMMO skill
+
   # skill_name (文本,必填) :McMMO技能名
 
   skill_name: '/'
 
   skill_name: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : EQUALS, DIFFERENT, AT_LEAST, LESS_THAN
+
   # 可用数值 : EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
 
   operation: 'EQUALS'
 
   operation: 'EQUALS'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
   # value (number, optional) : value modifier
+
   # value (数字, 可选设置) : 数值调节器
 
   value: '1.0'
 
   value: '1.0'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: MCMMO_LEVEL
 
         type: MCMMO_LEVEL
第228行: 第228行:
 
         value: '1.0'
 
         value: '1.0'
  
=== MCMMO_XP ===
+
=== MCMMO_XP ·MCMMo经验===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: MCMMO_XP
 
   type: MCMMO_XP
   # skill_name (text, mandatory) : name of McMMO skill
+
   # skill_name (文本,必填) : McMMO技能名
 
   skill_name: '/'
 
   skill_name: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : EQUALS, DIFFERENT, AT_LEAST, LESS_THAN
+
   # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
 
   operation: 'EQUALS'
 
   operation: 'EQUALS'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
   # value (number, optional) : value modifier
+
   # value (数字, 可选设置) : 数值调节器
 
   value: '1.0'
 
   value: '1.0'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: MCMMO_XP
 
         type: MCMMO_XP
第255行: 第255行:
 
         value: '1.0'
 
         value: '1.0'
  
=== MONEY ===
+
=== MONEY · 金钱 ===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: MONEY
 
   type: MONEY
   # amount (decimal number, optional) : amount of times the action has to be repeated
+
   # amount (小数, 可选设置) : 行为重复的次数
 
   amount: '1'
 
   amount: '1'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: MONEY
 
         type: MONEY
第275行: 第275行:
 
         take_after_completion: 'false'
 
         take_after_completion: 'false'
  
=== PERMISSION ===
+
=== PERMISSION · 权限===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: PERMISSION
 
   type: PERMISSION
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # permission (permission, optional) : permission
+
   # permission (权限,可选设置) : 权限
 
   permission: '/'
 
   permission: '/'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: PERMISSION
 
         type: PERMISSION
第295行: 第295行:
 
         take_after_completion: 'false'
 
         take_after_completion: 'false'
  
=== QUANTUMRPG_ITEM ===
+
=== QUANTUMRPG_ITEM · QUANTUMRPG物品===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: QUANTUMRPG_ITEM
 
   type: QUANTUMRPG_ITEM
   # item_name (text, mandatory) : level of item
+
   # item_name (文本,必填) : 物品等级
 
   item_name: '/'
 
   item_name: '/'
   # module (e module, mandatory) : name of QuantumRPG module
+
   # module (模块,必填) : QuantumRPG模块名
   # possible values : ACTIVE_ITEMS, ARROWS, BUFFS, COMBAT_LOG, CONSUMABLES, CUSTOM_ITEMS, DROPS, ESSENCES, EXTRACTOR, GEMS, IDENTIFY, ITEM_HINTS, MAGIC_DUST, NOTIFICATIONS, ...
+
   # 可用数值 : ACTIVE_ITEMS, ARROWS, BUFFS, COMBAT_LOG, CONSUMABLES, CUSTOM_ITEMS, DROPS, ESSENCES, EXTRACTOR, GEMS, IDENTIFY, ITEM_HINTS, MAGIC_DUST, NOTIFICATIONS, ...
 
   module: '/'
 
   module: '/'
   # amount (number, optional) : amount of times the action has to be repeated
+
   # amount (数字, 可选设置) : 行为重复的次数
 
   amount: '1'
 
   amount: '1'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : HAS, HAS_NOT
+
   # 可用数值 : HAS, HAS_NOT
 
   operation: 'EQUALS'
 
   operation: 'EQUALS'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: QUANTUMRPG_ITEM
 
         type: QUANTUMRPG_ITEM
第326行: 第326行:
 
         take_after_completion: 'false'
 
         take_after_completion: 'false'
  
=== QUEST_COMPLETED ===
+
=== QUEST_COMPLETED · 完成任务===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: QUEST_COMPLETED
 
   type: QUEST_COMPLETED
   # quest (quest model, mandatory) : quest model id
+
   # quest (任务模块,必填) : 任务模块id
 
   quest: '/'
 
   quest: '/'
   # amount (number, optional) : amount of times the action has to be repeated
+
   # amount (数字, 可选设置) : 行为重复的次数
 
   amount: '1'
 
   amount: '1'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: QUEST_COMPLETED
 
         type: QUEST_COMPLETED
第349行: 第349行:
 
         take_after_completion: 'false'
 
         take_after_completion: 'false'
  
=== QUEST_COMPLETED_TIME ===
+
=== QUEST_COMPLETED_TIME · 任务完成次数===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: QUEST_COMPLETED_TIME
 
   type: QUEST_COMPLETED_TIME
   # quest (quest model, mandatory) : quest model id
+
   # quest (任务模块,必填) : 任务模块id
 
   quest: '/'
 
   quest: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # max_delay (number, optional) : maximum authorized completion delay
+
   # max_delay (数字, 可选设置) : 最大完成延迟
 
   max_delay: '1'
 
   max_delay: '1'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: QUEST_COMPLETED_TIME
 
         type: QUEST_COMPLETED_TIME
第372行: 第372行:
 
         take_after_completion: 'false'
 
         take_after_completion: 'false'
  
=== QUEST_WENTTHROUGH_OBJECT ===
+
=== QUEST_WENTTHROUGH_OBJECT ·任务目标===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: QUEST_WENTTHROUGH_OBJECT
 
   type: QUEST_WENTTHROUGH_OBJECT
   # branch (text, mandatory) : quest branch id
+
   # branch (文本,必填) : 任务分支id
 
   branch: '/'
 
   branch: '/'
   # object (text, mandatory) : quest object id
+
   # object (文本,必填) : 任务目标id
 
   object: '/'
 
   object: '/'
   # quest (quest model, mandatory) : quest model id
+
   # quest (任务模块,必填) : 任务模块id
 
   quest: '/'
 
   quest: '/'
   # check_last_completion_only (boolean, optional) : restricts checks to the latest completion
+
   # check_last_completion_only (布尔值, 可选设置) : 只检测上一次完成条件
 
   check_last_completion_only: 'false'
 
   check_last_completion_only: 'false'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: QUEST_WENTTHROUGH_OBJECT
 
         type: QUEST_WENTTHROUGH_OBJECT
第401行: 第401行:
 
         take_after_completion: 'false'
 
         take_after_completion: 'false'
  
=== RACESOFTHANA_RACE ===
+
=== RACESOFTHANA_RACE · 种族===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: RACESOFTHANA_RACE
 
   type: RACESOFTHANA_RACE
   # race_name (text, mandatory) : name of RacesOfThana race
+
   # race_name (文本,必填) : RacesOfThana种族名
 
   race_name: '/'
 
   race_name: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: RACESOFTHANA_RACE
 
         type: RACESOFTHANA_RACE
第421行: 第421行:
 
         take_after_completion: 'false'
 
         take_after_completion: 'false'
  
=== SKILLAPI_CLASS ===
+
=== SKILLAPI_CLASS ·SkillAPI职业 ===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: SKILLAPI_CLASS
 
   type: SKILLAPI_CLASS
   # class_name (text, mandatory) : name of SkillAPI class
+
   # class_name (文本,必填) :SkillAPI 职业名
 
   class_name: '/'
 
   class_name: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: SKILLAPI_CLASS
 
         type: SKILLAPI_CLASS
第441行: 第441行:
 
         take_after_completion: 'false'
 
         take_after_completion: 'false'
  
=== SKILLAPI_GROUP ===
+
=== SKILLAPI_GROUP ·SkillAPI组名 ===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: SKILLAPI_GROUP
 
   type: SKILLAPI_GROUP
   # group_name (text, mandatory) : name of SkillAPI group
+
   # group_name (文本,必填) : SkillAPI组名
 
   group_name: '/'
 
   group_name: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: SKILLAPI_GROUP
 
         type: SKILLAPI_GROUP
第461行: 第461行:
 
         take_after_completion: 'false'
 
         take_after_completion: 'false'
  
=== SKILLAPI_LEVEL ===
+
=== SKILLAPI_LEVEL ·SkillAPI等级 ===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: SKILLAPI_LEVEL
 
   type: SKILLAPI_LEVEL
   # skill_name (text, mandatory) : name of SkillAPI skill
+
   # skill_name (文本,必填) : SkillAPI 技能名
 
   skill_name: '/'
 
   skill_name: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : EQUALS, DIFFERENT, AT_LEAST, LESS_THAN
+
   # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
 
   operation: 'EQUALS'
 
   operation: 'EQUALS'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
   # value (number, optional) : value modifier
+
   # value (数字, 可选设置) : 数值调节器
 
   value: '1'
 
   value: '1'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: SKILLAPI_LEVEL
 
         type: SKILLAPI_LEVEL
第488行: 第488行:
 
         value: '1'
 
         value: '1'
  
=== SKILLAPI_POINTS ===
+
=== SKILLAPI_POINTS ·SkillAPI点数===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: SKILLAPI_POINTS
 
   type: SKILLAPI_POINTS
   # skill_name (text, mandatory) : name of SkillAPI skill
+
   # skill_name (文本,必填) : SkillAPI 技能名
 
   skill_name: '/'
 
   skill_name: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : EQUALS, DIFFERENT, AT_LEAST, LESS_THAN
+
   # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
 
   operation: 'EQUALS'
 
   operation: 'EQUALS'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
   # value (number, optional) : value modifier
+
   # value (数字, 可选设置) : 数值调节器
 
   value: '1'
 
   value: '1'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: SKILLAPI_POINTS
 
         type: SKILLAPI_POINTS
第515行: 第515行:
 
         value: '1'
 
         value: '1'
  
=== SKILLAPI_TOTALXP ===
+
=== SKILLAPI_TOTALXP · SkillAPI全部经验===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: SKILLAPI_TOTALXP
 
   type: SKILLAPI_TOTALXP
   # skill_name (text, mandatory) : name of SkillAPI skill
+
   # skill_name (文本,必填) : SkillAPI 技能名
 
   skill_name: '/'
 
   skill_name: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : EQUALS, DIFFERENT, AT_LEAST, LESS_THAN
+
   # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
 
   operation: 'EQUALS'
 
   operation: 'EQUALS'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
   # value (number, optional) : value modifier
+
   # value (数字, 可选设置) : 数值调节器
 
   value: '1'
 
   value: '1'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: SKILLAPI_TOTALXP
 
         type: SKILLAPI_TOTALXP
第542行: 第542行:
 
         value: '1'
 
         value: '1'
  
=== VARIABLE ===
+
=== VARIABLE · 变量===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: VARIABLE
 
   type: VARIABLE
   # value (text, mandatory) : value of variable
+
   # value (文本,必填) : 变量名
 
   value: '/'
 
   value: '/'
   # variable (text, mandatory) : name of variable
+
   # variable (文本,必填) : 变量名
 
   variable: '/'
 
   variable: '/'
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # operation (operation, optional) : operation to perform/check
+
   # operation (操作, 可选设置) :执行或检测的操作
   # possible values : LESS_THAN, LESS_OR_EQUALS, EQUALS, MORE_OR_EQUALS, MORE_THAN, DIFFERENT
+
   # 可用数值 : LESS_THAN·<, LESS_OR_EQUALS·≤, EQUALS·=, MORE_OR_EQUALS·≥, MORE_THAN·>, DIFFERENT·≠
 
   operation: 'EQUALS'
 
   operation: 'EQUALS'
   # placeholder_api (boolean, optional) : should PlaceholderAPI be used
+
   # placeholder_api (布尔值, 可选设置) : should PlaceholderAPI be used
 
   placeholder_api: 'false'
 
   placeholder_api: 'false'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: VARIABLE
 
         type: VARIABLE
第572行: 第572行:
 
         take_after_completion: 'false'
 
         take_after_completion: 'false'
  
=== XP_LEVEL ===
+
=== XP_LEVEL · 经验等级 ===
 
  condition:
 
  condition:
   # ... generic settings here
+
   # ... 此处省略常规设置
 
   type: XP_LEVEL
 
   type: XP_LEVEL
   # check_leader_only (boolean, optional) : should the condition be checked only for the quest leader
+
   # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
 
   check_leader_only: 'true'
 
   check_leader_only: 'true'
   # error_message (text, optional) : an error message displayed when the condition isn't completed
+
   # error_message (文本, 可选设置) : 不满足条件时发送的消息
 
   error_message: []
 
   error_message: []
   # level (number, optional) : player XP level
+
   # level (数字, 可选设置) : 玩家的经验等级
 
   level: '1'
 
   level: '1'
   # take_after_completion (boolean, optional) : should the condition be taken after completion (if applicable)
+
   # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
 
   take_after_completion: 'false'
 
   take_after_completion: 'false'
''Here's a compact version to copy/paste it quickly.''
+
''以下为便于复制的压缩版本.''
 
       condition:
 
       condition:
 
         type: XP_LEVEL
 
         type: XP_LEVEL

2019年3月9日 (六) 18:39的最新版本

任务条件

  • 条件是玩家需要满足的东西.
  • 条件可用于开始任务的需求或任务目标的需求 (如果没有类似的目标类型的话).
  • 一个条件拥有独立的配置选项.

每个条件都有通用设置.

my_condition:
  type: [condition type]
  check_leader_only: true
  take_after_check: true
  error_message: '&c你不满足条件.'
  • 'type' 为条件类型. They're all detailed below.
  • 'check_leader_only' 为布尔值. 设置为true则只检测任务队长的条件.
  • 'take_after_check' 为布尔值. 设置为true会在任务开始时采取该条件. (只在如1物品或金钱的条件下有用).
  • 'error_message' 为文本. 会在不满足条件时给玩家发送消息(条件为开始条件才有用).

开始条件示例

start_conditions:
  my_condition:
    type: ITEM
    operation: HAS
    item:
      must_have_in_hand: true
      type: DIAMOND
      amount: 10
    error_message: '&c你需要10个钻石才能完成这个任务 !'
    check_leader_only: true
    take_after_completion: true

使用任务目标示例

my_object:
  type: CONDITIONS
  conditions:
    my_condition:
      type: MONEY
      amount: 100.0
      check_leader_only: true
      take_after_completion: true

任务条件类型

列表会在游戏内的编辑器自动生成. 如果你发现了不妥, 请在discord汇报.

CONDITION_JOBSREBORN_JOB_LEVEL ·工作等级

condition:
  # ... 此处省略常规设置
  type: CONDITION_JOBSREBORN_JOB_LEVEL
  # job_name (文本,必填) : 工作名
  job_name: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
  operation: 'EQUALS'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'
  # value (小数, 可选设置) : 数值调节器
  value: '1.0'

以下为便于复制的压缩版本.

      condition:
        type: CONDITION_JOBSREBORN_JOB_LEVEL
        job_name: '/'
        check_leader_only: 'true'
        error_message: []
        operation: 'EQUALS'
        take_after_completion: 'false'
        value: '1.0'

HEROES_CLASS_LEVEL ·职业等级

condition:
  # ... 此处省略常规设置
  type: HEROES_CLASS_LEVEL
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # class_name (文本, 可选设置) : Heroes职业名
  class_name: '/'
  # class_type (类型, 可选设置) : Heroes职业类型
  # 可用数值 : PRIMARY, SECONDARY
  class_type: 'PRIMARY'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
  operation: 'EQUALS'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'
  # value (小数, 可选设置) : 数值调节器
  value: '1.0'

以下为便于复制的压缩版本.

      condition:
        type: HEROES_CLASS_LEVEL
        check_leader_only: 'true'
        class_name: '/'
        class_type: 'PRIMARY'
        error_message: []
        operation: 'EQUALS'
        take_after_completion: 'false'
        value: '1.0'

HEROES_SKILL_LEVEL · 技能等级

condition:
  # ... 此处省略常规设置
  type: HEROES_SKILL_LEVEL
  # skill_name (文本,必填) : Heroes技能名
  skill_name: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
  operation: 'EQUALS'
  # skill_type (类型, 可选设置) : Heroes技能类型
  # 可用数值 : PRIMARY, SECONDARY
  skill_type: 'PRIMARY'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'
  # value (小数, 可选设置) : 数值调节器
  value: '1.0'

以下为便于复制的压缩版本.

      condition:
        type: HEROES_SKILL_LEVEL
        skill_name: '/'
        check_leader_only: 'true'
        error_message: []
        operation: 'EQUALS'
        skill_type: 'PRIMARY'
        take_after_completion: 'false'
        value: '1.0'

ITEM · 物品

condition:
  # ... 此处省略常规设置
  type: ITEM
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 : HAS`拥有物品, HAS_NOT·未拥有物品
  operation: 'HAS'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'
  # items (物品设置, 必填) : 所需的物品列表
  items:
    1: # sample
      # type (物品材质, 必填) : 物品类型
      type: 'AIR'
      # amount (数字, 可选设置) : 物品数目
      amount: '1'
      # chance (小数, 可选设置) : 物品出现几率
      chance: '-1'
      # durability (数字, 可选设置) : 物品耐久度
      durability: '0'
      # enabled (布尔值, 可选设置) : 是否启用物品
      enabled: 'true'
      # enchants (文本列表,可选设置) : 附魔物品列表,格式为 : {enchantment},{level}
      enchants: []
      # lore (文本列表,可选设置) : 物品描述
      lore: []
      # max_amount (数字, 可选设置) :最大物品数
      max_amount: '0'
      # must_have_in_hand (布尔值, 可选设置) : 是否需要手持物品
      must_have_in_hand: 'false'
      # name (文本, 可选设置) : 物品展示名
      name: '/'
      # nbt (文本, 可选设置) : 物品NBT标签
      nbt: '/'
      # remove_after_action (布尔值, 可选设置) : 是否在行为后删除物品
      remove_after_action: 'false'
      # slot (数字, 可选设置) : 在菜单内的格子顺序
      slot: '-1'
      # unbreakable (布尔值, 可选设置) : 物品是否无法破坏
      unbreakable: 'false'

以下为便于复制的压缩版本.

      condition:
        type: ITEM
        check_leader_only: 'true'
        error_message: []
        operation: 'HAS'
        take_after_completion: 'false'
        items:
          1:
            type: 'AIR'
            amount: '1'
            chance: '-1'
            durability: '0'
            enabled: 'true'
            enchants: []
            lore: []
            max_amount: '0'
            must_have_in_hand: 'false'
            name: '/'
            nbt: '/'
            remove_after_action: 'false'
            slot: '-1'
            unbreakable: 'false'

MCMMO_LEVEL · MCMMO等级

condition:
  # ... 此处省略常规设置
  type: MCMMO_LEVEL
  # skill_name (文本,必填) :McMMO技能名
  skill_name: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 :  EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
  operation: 'EQUALS'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'
  # value (数字, 可选设置) : 数值调节器
  value: '1.0'

以下为便于复制的压缩版本.

      condition:
        type: MCMMO_LEVEL
        skill_name: '/'
        check_leader_only: 'true'
        error_message: []
        operation: 'EQUALS'
        take_after_completion: 'false'
        value: '1.0'

MCMMO_XP ·MCMMo经验

condition:
  # ... 此处省略常规设置
  type: MCMMO_XP
  # skill_name (文本,必填) : McMMO技能名
  skill_name: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
  operation: 'EQUALS'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'
  # value (数字, 可选设置) : 数值调节器
  value: '1.0'

以下为便于复制的压缩版本.

      condition:
        type: MCMMO_XP
        skill_name: '/'
        check_leader_only: 'true'
        error_message: []
        operation: 'EQUALS'
        take_after_completion: 'false'
        value: '1.0'

MONEY · 金钱

condition:
  # ... 此处省略常规设置
  type: MONEY
  # amount (小数, 可选设置) : 行为重复的次数
  amount: '1'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: MONEY
        amount: '1'
        check_leader_only: 'true'
        error_message: []
        take_after_completion: 'false'

PERMISSION · 权限

condition:
  # ... 此处省略常规设置
  type: PERMISSION
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # permission (权限,可选设置) : 权限
  permission: '/'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: PERMISSION
        check_leader_only: 'true'
        error_message: []
        permission: '/'
        take_after_completion: 'false'

QUANTUMRPG_ITEM · QUANTUMRPG物品

condition:
  # ... 此处省略常规设置
  type: QUANTUMRPG_ITEM
  # item_name (文本,必填) : 物品等级
  item_name: '/'
  # module (模块,必填) : QuantumRPG模块名
  # 可用数值 : ACTIVE_ITEMS, ARROWS, BUFFS, COMBAT_LOG, CONSUMABLES, CUSTOM_ITEMS, DROPS, ESSENCES, EXTRACTOR, GEMS, IDENTIFY, ITEM_HINTS, MAGIC_DUST, NOTIFICATIONS, ...
  module: '/'
  # amount (数字, 可选设置) : 行为重复的次数
  amount: '1'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 : HAS, HAS_NOT
  operation: 'EQUALS'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: QUANTUMRPG_ITEM
        item_name: '/'
        module: '/'
        amount: '1'
        check_leader_only: 'true'
        error_message: []
        operation: 'EQUALS'
        take_after_completion: 'false'

QUEST_COMPLETED · 完成任务

condition:
  # ... 此处省略常规设置
  type: QUEST_COMPLETED
  # quest (任务模块,必填) : 任务模块id
  quest: '/'
  # amount (数字, 可选设置) : 行为重复的次数
  amount: '1'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: QUEST_COMPLETED
        quest: '/'
        amount: '1'
        check_leader_only: 'true'
        error_message: []
        take_after_completion: 'false'

QUEST_COMPLETED_TIME · 任务完成次数

condition:
  # ... 此处省略常规设置
  type: QUEST_COMPLETED_TIME
  # quest (任务模块,必填) : 任务模块id
  quest: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # max_delay (数字, 可选设置) : 最大完成延迟
  max_delay: '1'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: QUEST_COMPLETED_TIME
        quest: '/'
        check_leader_only: 'true'
        error_message: []
        max_delay: '1'
        take_after_completion: 'false'

QUEST_WENTTHROUGH_OBJECT ·任务目标

condition:
  # ... 此处省略常规设置
  type: QUEST_WENTTHROUGH_OBJECT
  # branch (文本,必填) : 任务分支id
  branch: '/'
  # object (文本,必填) : 任务目标id
  object: '/'
  # quest (任务模块,必填) : 任务模块id
  quest: '/'
  # check_last_completion_only (布尔值, 可选设置) : 只检测上一次完成条件
  check_last_completion_only: 'false'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: QUEST_WENTTHROUGH_OBJECT
        branch: '/'
        object: '/'
        quest: '/'
        check_last_completion_only: 'false'
        check_leader_only: 'true'
        error_message: []
        take_after_completion: 'false'

RACESOFTHANA_RACE · 种族

condition:
  # ... 此处省略常规设置
  type: RACESOFTHANA_RACE
  # race_name (文本,必填) : RacesOfThana种族名
  race_name: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: RACESOFTHANA_RACE
        race_name: '/'
        check_leader_only: 'true'
        error_message: []
        take_after_completion: 'false'

SKILLAPI_CLASS ·SkillAPI职业

condition:
  # ... 此处省略常规设置
  type: SKILLAPI_CLASS
  # class_name (文本,必填) :SkillAPI 职业名
  class_name: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: SKILLAPI_CLASS
        class_name: '/'
        check_leader_only: 'true'
        error_message: []
        take_after_completion: 'false'

SKILLAPI_GROUP ·SkillAPI组名

condition:
  # ... 此处省略常规设置
  type: SKILLAPI_GROUP
  # group_name (文本,必填) :  SkillAPI组名
  group_name: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: SKILLAPI_GROUP
        group_name: '/'
        check_leader_only: 'true'
        error_message: []
        take_after_completion: 'false'

SKILLAPI_LEVEL ·SkillAPI等级

condition:
  # ... 此处省略常规设置
  type: SKILLAPI_LEVEL
  # skill_name (文本,必填) : SkillAPI 技能名
  skill_name: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
  operation: 'EQUALS'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'
  # value (数字, 可选设置) : 数值调节器
  value: '1'

以下为便于复制的压缩版本.

      condition:
        type: SKILLAPI_LEVEL
        skill_name: '/'
        check_leader_only: 'true'
        error_message: []
        operation: 'EQUALS'
        take_after_completion: 'false'
        value: '1'

SKILLAPI_POINTS ·SkillAPI点数

condition:
  # ... 此处省略常规设置
  type: SKILLAPI_POINTS
  # skill_name (文本,必填) : SkillAPI 技能名
  skill_name: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
  operation: 'EQUALS'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'
  # value (数字, 可选设置) : 数值调节器
  value: '1'

以下为便于复制的压缩版本.

      condition:
        type: SKILLAPI_POINTS
        skill_name: '/'
        check_leader_only: 'true'
        error_message: []
        operation: 'EQUALS'
        take_after_completion: 'false'
        value: '1'

SKILLAPI_TOTALXP · SkillAPI全部经验

condition:
  # ... 此处省略常规设置
  type: SKILLAPI_TOTALXP
  # skill_name (文本,必填) : SkillAPI 技能名
  skill_name: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 :   EQUALS·=, DIFFERENT·≠, AT_LEAST·≥, LESS_THAN·<
  operation: 'EQUALS'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'
  # value (数字, 可选设置) : 数值调节器
  value: '1'

以下为便于复制的压缩版本.

      condition:
        type: SKILLAPI_TOTALXP
        skill_name: '/'
        check_leader_only: 'true'
        error_message: []
        operation: 'EQUALS'
        take_after_completion: 'false'
        value: '1'

VARIABLE · 变量

condition:
  # ... 此处省略常规设置
  type: VARIABLE
  # value (文本,必填) : 变量名
  value: '/'
  # variable (文本,必填) : 变量名
  variable: '/'
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # operation (操作, 可选设置) :执行或检测的操作
  # 可用数值 : LESS_THAN·<, LESS_OR_EQUALS·≤, EQUALS·=, MORE_OR_EQUALS·≥, MORE_THAN·>, DIFFERENT·≠
  operation: 'EQUALS'
  # placeholder_api (布尔值, 可选设置) : should PlaceholderAPI be used
  placeholder_api: 'false'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: VARIABLE
        value: '/'
        variable: '/'
        check_leader_only: 'true'
        error_message: []
        operation: 'EQUALS'
        placeholder_api: 'false'
        take_after_completion: 'false'

XP_LEVEL · 经验等级

condition:
  # ... 此处省略常规设置
  type: XP_LEVEL
  # check_leader_only (布尔值, 可选设置) : 是否只检测队长的条件
  check_leader_only: 'true'
  # error_message (文本, 可选设置) : 不满足条件时发送的消息
  error_message: []
  # level (数字, 可选设置) : 玩家的经验等级
  level: '1'
  # take_after_completion (布尔值, 可选设置) : 是否在完成后采取该条件
  take_after_completion: 'false'

以下为便于复制的压缩版本.

      condition:
        type: XP_LEVEL
        check_leader_only: 'true'
        error_message: []
        level: '1'
        take_after_completion: 'false'