Option to make Extension Commands only show up in Developer Mode
complete
Christina
complete
That's already a feature in the latest 2023.2.2 release and newest Bridge, but it does not hide it in dev mode - it hides it altogether. So you just use the command where you need, and then set it to true to hide.
Here's an example:
SAMMI.extCommand('Lucky Wheel', 3355443, 52, {
rewardName: ['Reward Name', 14, 'Some Reward name'],
rewardName2: ['Reward Name 2', 14, 'And another reward name']
}, false, true)
Setting the last argument to true will hide the command altogether.
Or, you can use https://sammi.solutions/docs/commands/misc#sendjsontoextension.
Oceanity
Christina: Oh nice! That's perfect, didn't see it in docs and patch notes so just assumed it wasn't a thing xP
Thank you!
Christina
Oceanity: It was mentioned in the patch notes, but I didn't have time to put it in the docs until now. I just did though! https://github.com/SAMMISolutions/SAMMI-Bridge