antero111 / plugin-presets

A plugin for handling Runelite plugin configurations as presets.
BSD 2-Clause "Simplified" License
7 stars 4 forks source link

"current configuration is same as preset setup" #59

Closed BASEDNWAH closed 1 year ago

BASEDNWAH commented 1 year ago

I can't get this to work at all. I am playing without the HD plugin turned on. I create a preset that is only containing the HD plugin. I try to toggle it on/off and it gives that message. In fact it says it is already toggled on (the bar shows orange) but my HD plugin is not turned on.

Is this a known issue?

antero111 commented 1 year ago

Presets only store one state of a plugin like you have stored the HD plugins off state to your preset. Nothing seems to be wrong in the plugin and it seems that you are just missing the other toggling preset pair to your HD plugin preset.

Presets don't have the ability to be toggled off. That is implemented by having a pair of preset where the other toggles the plugin on and the other turns it off.

See the Plugin toggler preset example on the wiki. Follow that example to make toggle presets for your HD plugin.

BASEDNWAH commented 1 year ago

Presets only store one state of a plugin like you have stored the HD plugins off state to your preset. Nothing seems to be wrong in the plugin and it seems that you are just missing the other toggling preset pair to your HD plugin preset.

Presets don't have the ability to be toggled off. That is implemented by having a pair of preset where the other toggles the plugin on and the other turns it off.

See the Plugin toggler preset example on the wiki. Follow that example to make toggle presets for your HD plugin.

Hey thanks a lot you were right I misunderstood how the presets worked. I can now turn my HD plugin on and off with hotkey this is great :)