aboutsummaryrefslogtreecommitdiffstats
path: root/src/data/taskDefinitions.json
blob: 8aba912f657f23b72c86e246479430186a067877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
  "taskTypes": {
    "blockbreak": {
      "description": "Break a set amount of blocks.",
      "configuration": {
        "amount": {
          "type": "number",
          "description": "The amount of blocks to break.",
          "default": 1,
          "required": true
        },
        "block": {
          "type": "material-list",
          "description": "The specific block to break.",
          "note": "Omitting this value will allow any block to be broken."
        },
        "data": {
          "type": "number",
          "description": "The data value of the block to break.",
          "default": 0,
          "note": "Not required for Minecraft versions 1.13 and above."
        },
        "reverse-if-placed": {
          "type": "boolean",
          "description": "Whether placing blocks should decrement from the quest progress.",
          "default": false
        },
        "allow-negative-progress": {
          "type": "boolean",
          "description": "Whether the quest progress can go into the negatives.",
          "default": false
        },
        "allow-silk-touch": {
          "type": "boolean",
          "description": "Whether blocks broken with a silk touch pickaxe should count towards the quest progress.",
          "default": false
        },
        "check-coreprotect": {
          "type": "boolean",
          "description": "Whether the plugin should query CoreProtect if a block has been recently placed.",
          "default": false,
          "note": "This requires the CoreProtect plugin to be installed."
        },
        "check-coreprotect-time": {
          "type": "number",
          "description": "How long ago (in seconds) the plugin should check with CoreProtect whether a block was placed.",
          "default": false,
          "note": "This requires the CoreProtect plugin to be installed."
        },
        "check-playerblocktracker": {
          "type": "boolean",
          "description": "Whether the plugin should query PlayerBlockTracker if a block has been recently placed.",
          "default": false,
          "note": "This requires the PlayerBlockTracker plugin to be installed."
        },
        "worlds": {
          "type": "string-list",
          "description": "The worlds in which the blocks should be broken."
        }
      }
    },
    "blockplace": {
      "description": "Place a set amount of blocks.",
      "configuration": {
        "amount": {
          "type": "number",
          "description": "The amount of blocks to place.",
          "default": 1,
          "required": true
        },
        "block": {
          "type": "material-list",
          "description": "The specific block to place.",
          "note": "Omitting this value will allow any block to be place."
        },
        "data": {
          "type": "number",
          "description": "The data value of the block to place.",
          "default": 0,
          "note": "Not required for Minecraft versions 1.13 and above."
        },
        "reverse-if-broken": {
          "type": "boolean",
          "description": "Whether breaking blocks should decrement from the quest progress.",
          "default": false
        },
        "worlds": {
          "type": "string-list",
          "description": "The worlds in which the blocks should be broken."
        }
      }
    }
  }
}