#Need help removing flags in giveitem script.

1 messages · Page 1 of 1 (latest)

dense cobalt
#

I can't seem to fix it so when a player joins their item doesn't show the stats. In the first picture you see how it is currently, but in the second it is what is needs to look like.

#

This is my script at the moment.

#
    give player unbreakable wooden shovel named "&ke &f| &e&lDefault Spoon I" with lore "&f&oNo enchants available."```
thick flicker
#

add with all flags hidden at the end

give player unbreakable wooden shovel named "&ke &f| &e&lDefault Spoon I" with lore "&f&oNo enchants available." with all flags hidden

dense cobalt
thick flicker
#

odd

peak lynx
#

you could do this instead
give player unbreakable wooden shovel named "&ke &f| &e&lDefault Spoon I" with lore "&f&oNo enchants available." with nbt from "{HideFlags:63}"

dense cobalt
peak lynx
#

nah

#

just do

  give player unbreakable wooden shovel named "&ke &f| &e&lDefault Spoon I" with lore "&f&oNo enchants available." with nbt from "{HideFlags:63}"```
#

thats it

dense cobalt
#

Doesn't work.

#

I don't know why, it works for others.

#

Here my plugins.

peak lynx
#

do

  set {_n} to nbt compound from "{HideFlags:63}"
  give player unbreakable wooden shovel named "&ke &f| &e&lDefault Spoon I" with lore "&f&oNo enchants available." with nbt {_n}```
dense cobalt
#

you smart man!

peak lynx
#

(:

dense cobalt
#

Thanks for helping man, I highly appreciate it

dense cobalt
#

or is it a different line of code

dense cobalt
#

Alrightyy

#

Oh are you sure?

#

everytime I rejoin I get the item

#

Oops nevermind

#

didn't say anything