#NBT Or Var

1 messages · Page 1 of 1 (latest)

modern knot
#

Well depends on if you're going to use that data in like a scoreboard or something...
What is it, more specifically you're going to store?

plain pier
#

Nbts are deleted on server restart I believe(?)

modern knot
#

no?

#

Yeah that'd be fine for nbt

#

And easier to find than some variable

#

probably not something to worry about when using skript

turbid mirage
#

one thing i suggest: if a variable is going to be false, don't bother setting it as it will just take up unnecessary space.

viscid rune
#

thought nbt had more overhead than variables

modern knot
#

probably

viscid rune
#

yes

#

true and false both take up the same amount of space, while the variable not being set takes up no space

#

can just check if its true or if it's not set

wind ibex
#

PDC>NBT

modern knot
#

lol yeah

wind ibex
#

Do not use nbt unless necessary (such as for fishing rods)

modern knot
#

I've used nbt a lot and it's fine

plain pier
modern knot
#

persistent data containers

wind ibex
#

PDC is primarily safer, it does not overwrite nbt. It is much easier to connect to java.

modern knot
#

it's also not a thing in skript (without skript-reflect (ofc))

wind ibex
#

nbt too 🙂

modern knot
#

what

wind ibex
#

nbt is in skbee

#

just like pdc in reflect

modern knot
#

🙂