Jump to content

SkBee NBT Data Not Working


GG123Boi

Recommended Posts

Hello there,

I'm having some troubles with the NBT data not working properly...

Here's my code if you need it:

command /items:
	trigger:
		open virtual chest inventory with size 3 named "Items" to player
		format gui slot 4 of player with player skull with nbt "{display:{Name:"{\"text\":\"Diamond\"}"},SkullOwner:{Id:[I;1779249861,-1945615709,-1110092384,68104524],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTY0ZjI1Y2ZmZjc1NGYyODdhOTgzOGQ4ZWZlMDM5OTgwNzNjMjJkZjdhOWQzMDI1YzQyNWUzZWQ3ZmY1MmMyMCJ9fX0="}]}}}" named "&r&l&bDiamond"

Also, if you need them, the errors:

image.png.864e69ead8af395dac38d4e48f529790.png

I have no idea what the problem is so I need some help with this...

Thanks in advance!

Link to comment
Share on other sites

So basically, in Skript, you can't use single quotes in string. So you have to double all the quotes in your nbt for it it work.

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...