Jump to content

Skript Variables not saving.


RealNetwork

Recommended Posts

I've recently realized that when I set a variable, it gets wiped on restart. I tried to reset my server 3 times and the problem still does not go away. I have no idea why this would happen at all. Anyone know why? Thanks in advance.

 

Have I tried searching for fixes for similar problems? Yes

How long is your skript? 300+ lines.

Which addons? Skript, SkRayFall, TuSKe, SkBee, SkQuery, Skellet, Tablisknu

Link to comment
Share on other sites

when sometimes restarting servers it erases player joins so when you join it would say something like 
(player joined for the first time)
this would also effect your skript because you might have something that has the "on first join:"

  • Like 1
Link to comment
Share on other sites

On 6/26/2021 at 8:43 AM, RealXPvP said:

I've recently realized that when I set a variable, it gets wiped on restart. I tried to reset my server 3 times and the problem still does not go away. I have no idea why this would happen at all. Anyone know why? Thanks in advance.

 

Have I tried searching for fixes for similar problems? Yes

How long is your skript? 300+ lines.

Which addons? Skript, SkRayFall, TuSKe, SkBee, SkQuery, Skellet, Tablisknu

what type of variables get deleted? 

Locations, names, integers, etc.?

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

4 hours ago, RealXPvP said:

Sorry for replying so late, but location variables from other worlds are getting deleted. Those worlds are unloaded at server start and don't work even if I load them and then teleport. Sorry for making this very confusing.

Ah yeah that explains it when a world is not loaded when skript loads the variables it just deletes them which means even after loading the world they are gone. I usually install multiverse core to load the worlds on startup so that doesn't happen anymore.

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

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...