I am having an issue where I am trying to use Deluxe Menu to have a requirement of 2 sunflowers named "&eGolden Coin" and for some reason, it is not matching the case no matter what I do. The plugin I'm using for the item is Mythic Mobs, but it produces an item that just has the name "Golden Coin" with the proper yellow text, which should be used by Deluxe Menu. On some attempts, it takes regular, unnamed sunflowers, and I am not sure why it can't match the name case properly. If there are any tips or easy fixes to this, I would greatly appreciate it, thanks
#Deluxe Menu "Has Item" permission issue
1 messages · Page 1 of 1 (latest)
Can you hold the item and type /data get entity @s SelectedItem ?
send a picture of the response
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
Requested by: cj89898 • imgur
{id:"minecraft:sunflower", tag:{HideFlags: 3, DIsplay: {Name: '{"italic":false,"color":"yellow","text":"Golden Coin"}', Lore:['{"italic":false,"color":"dark_gray","text":"A shiny coin."}']}, MYTHIC_TYPE: "Coin"}, Count: 8b}
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
Requested by: cj89898 • paste
📋 Paste Converted!
https://paste.helpch.at/atajofedig
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
Why? - Some other paste services don't have a dark variant and we're all nocturnal.
doesn't have the name in it as a condition, but I have tried the name condition "Golden Coin", "&eGolden Coin" etc
fyi if you use click_commands and click_requirement it works for all click types
Ah okay, that saves some space
okay so if you use name: "&eGolden Coin" it doesn';t work, correct? https://paste.helpch.at/urolowaveb.yaml
i doon't think this will change it, but what about "§eGolden Coin"
Nope, nothing
wait
It's hard to read in the text (which is why picture is nice) but this has a custom nbt value
so we could use that instead of name
You'd have to use checkitem instead of has item
?checkitem
Okay, I can try that
type /papi parse me %checkitem_mat:sunflower,nbtstrings:MYTHIC_TYPE=Coin,amt:1%
should say yes if you have at least 1 coin in your inventory
How would that syntax look in the code itself to check for 2 coins in a player's inventory?
type: string equals
input: "%checkitem_mat:sunflower,nbtstrings:MYTHIC_TYPE=Coin,amt:2%"
output: 'yes'
I have a skript that does that, but would it be easier through dm?
I just want to make sure your player's can't screw yoou over with mm egg get
if DM can do it, that would be preferable
you can use [placeholder] %checkitem_remove_...% to REMOVE items from a player's inventory
- '[placeholder] %checkitem_remove_mat:sunflower,nbtstrings:MYTHIC_TYPE=Coin,amt:2%'
checkin back in on this though
ya, seems like anybody can just type that
I mean, for now, they can haha
ah ok ok
I can use /papi to also give them a mythic item, right?
errr
that would be the way to work around the permission
is there no mm give?
cause i see it's an egg
Yeah, this is for a pokemon-style game, where players summon mobs to attack eachother and destroy each other's bases
hmm
So they are supposed to get the eggs, but if they have the command, that is an issue
I think skript can remove it
Ah, so I can just run that has a [consol] placeholder
ye