This update brings a large feature by building on top of the existing toggles system!
Options for disabled worlds and gamemodes are now handled through the toggles system. This update also adds a couple more useful features, the most important one being the addition of the "placeholders" condition inside the plugin.
Using this feature you are now able to toggle when a feature is enabled by conditional placeholders. As such you could have the autopickup feature be enabled only when you have an enchant on the currently held hand!
Here's an example of a config
Code (yml (Unknown Language)):
gamemodes:
- CREATIVE
- SPECTATOR
worlds:
- WorldWithoutAutopickup
placeholders:
# telekinesis-placeholder: # If these placeholders match, then autopickup will be disabled
# placeholder: "%telekinesis%"
# value: "false"
enabled-on:
# placeholders:
# telekinesis-placeholder: # Can be used to enable autopickup in certain situations
# placeholder: "%telekinesis%"
# value: "false"