#Skript variables just rollbacked

1 messages · Page 1 of 1 (latest)

fluid current
#

I restarted my server after 4 days and even though everything else saved it seems that none of the skript variables saved.

#

Wondering if anyone knows what couldve caused this

fluid current
#

I loaded a backup and that didnt work either ?

glacial nexus
#

There are different types of variables when using them in skript, and I'm pretty sure one of the types makes it so they get reset on server restart (that being {-var} as opposed to {var} or {_var}) so make sure you don't use that. Still, it probably should have kept the variables in the backup.
(Also, someone correct me if im wrong, i saw that {-var} once and never again, but when trying it it didnt give an error)

slender ingot
#

skript variables saves every 5 minutes but im pretty sure it needs like a lot of writes before it saves

fluid current
#

Probably just gonna store the important ones in a yml file going forward, cant figure out how this happened.

glacial nexus
#

Yeah it was just a suggestion, i didn't think that was the case