#Console is getting spammed with skript errors
1 messages ยท Page 1 of 1 (latest)
im going through my scripts rn and it seems like a script for the actionbar is the cause of the problem
alright, one minute
still gives the error message in console
i can provide the skript if you would like
is this the full warning?
If I am correct this is whats casing the problem
[12:16:28] [Server thread/INFO]: [Skript] Your configuration has been updated to the latest version. A backup of your old config file has been created as config_2023-10-17_12-16-28.sk
[12:16:28] [Server thread/INFO]: [Skript] The lang file 'english.lang' has been updated to the latest version. A backup of your old lang file has been created as english_2023-10-17_12-16-28.lang
ah okay
my apologies, but what should i do to fix the problem?
the config is in the backups folder
have you edited the config.sk file before?
yes i have
the skript effect commands
I have also deleted the variables.csv along with the backups folder since variables usually get stored there aswell
you probably did something wrong while changing the file
i might have, ill make sure i didnt misspell true or smth
no you will get error if you did that
oh
Honestly, I'm guessing right now
did you get this error before editing the config file?
no, the config file was fine
i deleted the variables file and backups folder because i was adding a new version for me and my friend to bugtest and thats when i noticed the errors in console
and it only gives me the errors when i enable a skript that does cooldowns and actionbars
I have deleted the config file and the variables file but I didn't get any errors
can you send me the script
tips:
this might lag your server so much
the every 5 ticks?
yes it's bad to loop all players every 5 ticks instead use while loop
its worked fine before but ill keep that in mind
everything is under that every 5 ticks though
I recommend you to use while loop, here is an example how to do it:
on join:
while player is online:
if {selected::%player%} is not set:
checklush(player)
wait 1 second
Don't forget the wait 1 second it can crash your server
i have used while {variable} is true: before, but yeah ill probably change that then, i just thought it didnt really matter all too much lol
Unfortunately, I don't know the reason for the warning, so I'll leave that to someone who knows.
alright, im gonna try some tinkering with the skript but thank you though
have a good rest of your day/night
no worries