夕离丶
quests:
  # This is the quest ID ("example"). This MUST be unique against all other quest IDs.
  example1:
    # 任务类型:
    # MINING挖掘方块 MININGCERTAIN挖掘特定方块 BUILDING放置方块 BUILDINGCERTAIN放置特定方块 MOBKILLING击杀生物
    # MOBKILLINGCERTAIN击杀特定生物 PLAYERKILLING击杀玩家 INVENTORY背包内有足够用于提交的物品
    # ASKYBLOCK空岛等级 USKYBLOCK空岛等级 PLAYEDTIME游戏时间 EXP等级 TOTALEXP经验点 WALKING行走距离
    tasks:
      # This is the task ID ("mining"). This can share the same name as the quest ID but MUST be unique with all other task IDs in the same quest.
      mining:
        # This defines what type of task this is. In this instance, it is "blockbreak" (breaking blocks)
        # NOTE: guides to set up each type of task is on the plugin page!
        type: "blockbreak"
        # This defines the amount of blocks which need to be broken
        amount: 30
      # You can have multiple tasks for each quest (example further down).
    # Everything inside of this section defines the display item.
看不懂
        type: "blockbreak"是有什么设置特点,请大佬讲解
插件帖子地址
站内https://www.mcbbs.net/thread-786115-1-1.html
原帖:https://www.spigotmc.org/resources/23696/
版本2.0.11-beta

思念化作海
方块破坏
不管破坏什么方块都会增加任务进度.

夕离丶
折叠 发表于 2020-2-24 13:28
方块破坏
不管破坏什么方块都会增加任务进度.

那为什么汉化的配置文件中,出现了3个不一样的type

Azitate
来源作者githubWIKIhttps://github.com/LMBishop/Quests/wiki/Task-Types
blockplace -放置一定数量的方块
blockplacecertain - 放置指定数量的指定方块
blockbreak - 破坏一定数量的方块
blockbreakcertain -破坏一定数量的指定方块

思念化作海
夕离丶 发表于 2020-2-24 13:34
那为什么汉化的配置文件中,出现了3个不一样的type

残叶帖子中标记的任务类型不适用于新版Quests(貌似 用来参考一下还是可以的
有破坏特定方块的 有破坏任意方块的
具体可以看原作者的示例配置

Azitate
放置一定数量的任意方块
  1. building:
  2.   type: "blockplace"
  3.   amount: 10
复制代码


放置指定数量的指定方块
  1. buildinggrass:
  2.   type: "blockplacecertain"
  3.   amount: 10
  4.   block: 17                             # 方块的ID或者数字ID
  5.   data: 1                               # (可选) 方块的子I
复制代码

破坏指定数量的任意方块
  1. mining:
  2.   type: "blockbreak"
  3.   amount: 10
复制代码

破坏指定数量的指定方块
  1. mininggrass:
  2.   type: "blockbreakcertain"
  3.   amount: 10
  4.   block: 95 # 方块的ID或者数字ID
  5.   data: 14 # (可选) 方块的子I
复制代码























夕离丶
折叠 发表于 2020-2-24 13:37
残叶帖子中标记的任务类型不适用于新版Quests(貌似 用来参考一下还是可以的
有破坏特定方块的 有破坏任意 ...

注意审题看看我没有说版本....