diff options
Diffstat (limited to 'data/taskDefinitions.json')
| -rw-r--r-- | data/taskDefinitions.json | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/data/taskDefinitions.json b/data/taskDefinitions.json new file mode 100644 index 0000000..443493c --- /dev/null +++ b/data/taskDefinitions.json @@ -0,0 +1,137 @@ +{ + "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." + } + } + }, + "inventory": { + "description": "Obtain a set amount of items.", + "configuration": { + "amount": { + "type": "number", + "description": "The amount of items to obtain.", + "default": 1, + "required": true + }, + "item": { + "type": "itemstack", + "description": "The specific item to obtain.", + "required": true + }, + "data": { + "type": "number", + "description": "The data value of the item to obtain.", + "default": 0, + "note": "Not required for Minecraft versions 1.13 and above." + }, + "remove-items-when-complete": { + "type": "boolean", + "description": "Whether the items should be removed from the player's inventory when the quest is complete.", + "default": false, + "note": "If allow-partial-completion is true, this will be set to true as well." + }, + "allow-partial-completion": { + "type": "boolean", + "description": "Whether the quest can be completed with less than the required amount of items.", + "default": false, + "note": "Setting to true will imply remove-items-when-complete is true as well. If a player obtains any matching item, it will be immediately taken away from them and added towards the quest progress." + }, + "exact-match": { + "type": "boolean", + "description": "Whether the item must match this item exactly, including lore and enchantments.", + "default": false + }, + "worlds": { + "type": "string-list", + "description": "The worlds in which the items should be obtained." + } + } + } + } +}
\ No newline at end of file |
