From 1f555cf695079d6cc85581a480f375210b0c045c Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Thu, 15 Feb 2024 14:45:59 +0000 Subject: Add handling for 'string-list' and fix 'material-list' --- src/data/taskDefinitions.json | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'src/data') diff --git a/src/data/taskDefinitions.json b/src/data/taskDefinitions.json index 5a5143e..8aba912 100644 --- a/src/data/taskDefinitions.json +++ b/src/data/taskDefinitions.json @@ -25,6 +25,16 @@ "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.", @@ -48,6 +58,37 @@ "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." + } + } } } } \ No newline at end of file -- cgit v1.2.3-70-g09d2