插件手册:betonquest:关联插件

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
插件手册:betonquest:关联插件 [2020/02/15 20:05]
小小k酱 [Condition Requirement (Quests)]
插件手册:betonquest:关联插件 [2020/02/15 20:17]
小小k酱 翻译Quests插件相关部分
行 1: 行 1:
 ====== 关联插件 Compatibility ====== ====== 关联插件 Compatibility ======
 +
 +(版本:2020-02-15 翻译:kjiang [[https://github.com/bundabrg/BetonQuest/blob/5cac86e6a259b756f45d08372f4d987a67e98c52/docs/10-Compatibility.md|原文链接]])
  
 BetonQuest can hook into other plugins to extend its functionality. Currently there are 23 plugins: Citizens, Vault, MythicMobs, McMMO, Skript, WorldGuard, WorldEdit, EffectLib, PlayerPoints, Heroes, Magic, Denizen, SkillAPI, Quests, Shopkeepers, PlaceholderAPI, HolographicDisplays, RacesAndClasses, LegendQuest, BetonLangAPI, BountifulAPI, ProtocolLib, JobsReborn. BetonQuest can hook into other plugins to extend its functionality. Currently there are 23 plugins: Citizens, Vault, MythicMobs, McMMO, Skript, WorldGuard, WorldEdit, EffectLib, PlayerPoints, Heroes, Magic, Denizen, SkillAPI, Quests, Shopkeepers, PlaceholderAPI, HolographicDisplays, RacesAndClasses, LegendQuest, BetonLangAPI, BountifulAPI, ProtocolLib, JobsReborn.
行 281: 行 283:
 在Quests添加条件的时候,选择“自定义要求Custom requirement”,然后选择“BetonQuest条件 BetonQuest condition”,然后输入条件名称(注意包名字要有)即可。 Quests在启动该任务之前会判断这个BetonQuest条件是否满足。 在Quests添加条件的时候,选择“自定义要求Custom requirement”,然后选择“BetonQuest条件 BetonQuest condition”,然后输入条件名称(注意包名字要有)即可。 Quests在启动该任务之前会判断这个BetonQuest条件是否满足。
  
-==== Quest event: ''quest'' (BetonQuest) ====+==== Quest事件: ''quest'' (BetonQuest) ==== 
 + 
 +这个事件被触发时会启动一个新的Quests任务(不是BQ任务)。 
 + 
 +第一个参数是Quests任务名称,具体请参照Quests的''name''选项。如果任务名中有空格,请用下划线''_''代替。 
 + 
 +第二个可选参数是''check-requirements''(“检查任务要求”)。如果没有这个参数,Quests任务会无视所有前提条件直接启动。
  
-This event will start the quest for the player. The first argument must be the name of the quest, as defined in ''name'' option in the quest. If the name contains any spaces replace them with ''_''. You can optionally add ''check-requirements'' argument if you want the event to respect this quest's requirements (otherwise the quest will be forced to be started).+**例子**: ''quest stone_miner check-requirements''
  
-**Example**: ''quest stone_miner check-requirements''+==== Quest条件: ''quest'' (BetonQuest) ====
  
-==== Quest condition: ''quest'' (BetonQuest) ====+用来在对话脚本中判断玩家是否已经完成了某个Quests任务。
  
-This condition is met when the player has completed the specified quest. The first and only argument is the name of the quest. It it contains any spaces replace them with ''_''.+唯一的参数是Quests的任务名称,具体请参照Quests的''name''选项。如果任务名中有空格,请用下划线''_''代替。
  
-**Example**: ''quest stone_miner''+**例子**: ''quest stone_miner''
  
 ===== Shopkeepers ===== ===== Shopkeepers =====
  • 插件手册/betonquest/关联插件.txt
  • 最后更改: 2020/02/15 20:17
  • 小小k酱