This update brings far more fine-grained control over toggles. Up until now, it was a bit finicky to enable, disable, and the actual auto-pickup function was un-toggleable. There was also no way to mark certain cases as toggled off by default, so this is also fixed.
To those of you who already have the plugin, either regenerate the config, or add this to your config
Code (yml (Unknown Language)):
toggles:
autoplant:
toggleable: true # If this is true, players will be able to toggle autoplanting
permission: teammt.mtautopickup.autoplant # This is the permission required to toggle autoplanting
enabled-by-default: true # If this is true, players will have autoplanting enabled by default
shortcuts: [autoplant, plant, planting] # These are the commands which will be used for toggling autoplanting
autosmelt:
toggleable: true
enabled-by-default: true
shortcuts: [as, smelt, autosmelt]
autoblock:
toggleable: true
enabled-by-default: true
shortcuts: [autoblock, ab, autocompact, autocompress, compress, compact]
autopickup:
toggleable: true
enabled-by-default: true
shortcuts: [autopickup, ap, pickup, pick, pick-up, pick-up-items, pickup-items]
Bugfixes:
- Fixed some possible errors which could happen in odd cases.
- Modified some messages inside messages.yml to be more clear and in accordance with toggles