#I need helping making the command give part for the script it wont work

1 messages · Page 1 of 1 (latest)

feral barn
#

what the fuck

blazing karma
#

?

ruby slate
#

so, you're on the right track, however you for one, need the SkBee addon to be able to use NBT in your code (read the wiki, it gives you examples). If you think that's too complicated, then you can use console commands (such as make console execute command "/give %player% diamond_sword{YourNBT:here,DontForgetTo:""UseDoubleQuotes""} 1")

GitHub

SkBee is a Skript addon that aims to add more useful elements to Skript. - ShaneBeee/SkBee

blazing karma
#

so i just need to download and add the addon

#

and it should work?

feral barn
#

not even telling em to not use display:{Name smh

ruby slate
#

You can do most of that code without even touching SkBee as I'm reading it now you aren't using custom tags. I'm gonna split up the process into a more readable form

Setting Item set {_item} to diamond sword
Setting Name set name of {_item} to "&cThis Is Red"
You can also combine the previous two into one: set {_item} to diamond sword named "&eI Support &bColor &dCodes"

Your item also has lore, which can be added like this: set lore of {_item} to "&cLine 1 of lore" and "&eLine 2 of lore"

Guess what? Items can also be enchanted like this: enchant {_item} with silk touch 3 # Doesn't even need to be an enchantment that is natively supported to that type of item, can be any of them!

feral barn
#
  • set {_item} to diamond sword of unbreaking 1
ruby slate
#

that too

dense barn
#

give item with nbt "{}"

#

with skbee

feral barn
blazing karma
#

so, could someone help me turn it into nbt, because its kind of confusing me