#String Contains Requirements [DeluxeMenus]

1 messages · Page 1 of 1 (latest)

hard steeple
#

I'm guessing the placeholder returns something like 0 or 0s when not on cooldown, so you could use the !string equals ignorecase which is essentially the opposite, so you check whenever the placeholder is not on cooldown, but invert the condition.

          type: "!string equals ignorecase"
          input: "%cmi_user_kitcd_starter%"
          output: "0s"
#

(make sure your placeholder actually returns 0s though)

#

(and colors are required as well)

#

the ! at the beggining of the requirement type inverts the requirement

#

so instead of checking when the placeholder equals 0s, it'll check whenever it's not 0s

#

oh

#

yeah

#

oh

#

I understood the opposite, remove the !

#

as for deny commands, I think you need to add 2 spaces in front of it

#

or not

#

what's your DM version?

#

wait

#

This can only be defined for open and

left/right click requirement

#

deny_commands aren't available for view_requirement

#

yeah

covert lily
#

im still not getting the deny_commands

hard steeple
#

send your entire menu

#

?paste

digital tundraBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

covert lily
#

Line 182

#

I'll delete this after its solved so no one can steal my guis

#

Uh whats the new changes?

hard steeple
#

wait

#

I changed back to view_requirement and put the commands in left_click_commands instead of deny_commands

#

and added back the ! in front of string equals ignorecase

covert lily
#

Mhm I think im getting what you did

#

so instead of things being given to Priority 2 you instead put it to Priority 1

#

but how will it show that its on cooldown? if you theres no deny commands?

hard steeple
#

left_click_commands

covert lily
#

oh wait what

#

you can do that

hard steeple
#

when starter_kit_locked is shown, it uses the left_click_commands from starter_kit_locked

covert lily
#

lol

#

i just realized it

hard steeple
#

when starter_kit is shown, it uses starter_kit's commands

#

😅

covert lily
#

i was spaced out thinking that left click commands was supposed to give you the kits

hard steeple
#

I got confused at first but I got it when you sent the config x)

covert lily
#

okay i will try it out

hard steeple
#

btw, you're using a lot of unnecessary options

#

like ```yml
hide_effects: true
hide_unbreakable: true
update_interval: 10

#

and even hide_enchantments, hide_attributes and enchantments actually

covert lily
#

uh yeah i have 40 guis with the same thing lol im just copy pasting them

hard steeple
#

oh x)

covert lily
#

its too avoid for me typing it again

#

i can simply remove it if necessary

hard steeple
#

doesn't really matter, it's just for a cleaner config

covert lily
#

pog

#

its working now

hard steeple
#

👍

covert lily
#

thank you so much

#

can you delete the texts you sent above just dont want people stealing my guis 😅

hard steeple
#

it's just 1 item 🤷

#

but ok

#

and either way, if anyone joins your server and opens a menu, they'll see your items and be able to recreate the config just by looking at them so...

covert lily
#

Thats wicked if they did lol i'll give them 10/10 for the effort