Auto hide challenges #198
Labels
Status: Under investigation
Investigating the interest and the feasability of the issue.
Type: Enhancement
Improvement or modification which is usually a new feature.
Hello,
Is it possible to add a new option to Challenges to enable/disable auto hide/show a challenges if a player don't have the required permissions from requiredPermissions challenge option.
Exemple:
{ "uniqueId": "BSkyBlock_treefarmHard", "friendlyName": "Tree farm Hard", "deployed": true, "description": [ "Create a simple tree farm" ], "icon": "is:\n ==: org.bukkit.inventory.ItemStack\n v: 1631\n type: SPRUCE_SAPLING\n", "order": 2, "challengeType": "ISLAND", "environment": [], "removeWhenCompleted": true, "level": "BSkyBlock_novice", "requirements": { "class": "IslandRequirements", "parameters": { "requiredBlocks": { "SPRUCE_SAPLING": 10 }, "removeBlocks": false, "requiredEntities": {}, "removeEntities": false, "searchRadius": 20, "requiredPermissions": [] } }, "requiredPermissions": ["test"], "requiredBlocks": {}, "removeBlocks": false, "requiredEntities": {}, "removeEntities": false, "requiredItems": [], "takeItems": true, "requiredExperience": 0, "takeExperience": false, "requiredMoney": 0, "takeMoney": false, "requiredIslandLevel": 0, "searchRadius": 10, "rewardText": "Extra dirt will always be handy", "rewardItems": [ "is:\n ==: org.bukkit.inventory.ItemStack\n v: 1631\n type: DIRT\n amount: 10\n" ], "rewardExperience": 50, "rewardMoney": 0, "rewardCommands": [], "repeatable": false, "repeatRewardText": "", "maxTimes": 0, "repeatExperienceReward": 0, "repeatItemReward": [], "repeatMoneyReward": 0, "repeatRewardCommands": [] }
By setting requiredPermissions to "test" i want to only display the challenges to the player that get the test permission either it will be hide if Auto Hide option is enabled.
In this way i need to be able to seperate every challenges to different Island diffculty/style.
The text was updated successfully, but these errors were encountered: