diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-02-15 14:01:30 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-02-15 14:01:30 +0000 |
| commit | 2aca4247c5d0c7061a300517178dd31316b65fab (patch) | |
| tree | 10e145c2b57d76c778bdf1a11191495dcfe191f3 /src/data/taskDefinitions.json | |
Initial commit
Diffstat (limited to 'src/data/taskDefinitions.json')
| -rw-r--r-- | src/data/taskDefinitions.json | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/data/taskDefinitions.json b/src/data/taskDefinitions.json new file mode 100644 index 0000000..5a5143e --- /dev/null +++ b/src/data/taskDefinitions.json @@ -0,0 +1,53 @@ +{ + "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 + }, + "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." + } + } + } + } +}
\ No newline at end of file |
