Hello There!
So, ive always had a problem with lag on my server, but i never knew what was the cause, until i decided to test out if skript was causing the problem. I disabled all my skript, and sure enough the server ran like butter.
Yes, i am a skript developer, and ive coded skripts up to 2000 lines, but can that be a problem? I've refactored my code so all time or damage events are in one event. That helped a bit, but the server was still laggy. Also, since i have been using Skript for a long time now, i know how to code efficiently in it, so bad code is really not the case here.
I've also tried updating my Skript to the latest version, but that didn't seem to help.
If you need more information on this, please tell me, and i will reply as soon as i can.
(Also, im sorry if this is the wrong category for this sort of thread.)
Thanks for Helping!
So, ive always had a problem with lag on my server, but i never knew what was the cause, until i decided to test out if skript was causing the problem. I disabled all my skript, and sure enough the server ran like butter.
Yes, i am a skript developer, and ive coded skripts up to 2000 lines, but can that be a problem? I've refactored my code so all time or damage events are in one event. That helped a bit, but the server was still laggy. Also, since i have been using Skript for a long time now, i know how to code efficiently in it, so bad code is really not the case here.
I've also tried updating my Skript to the latest version, but that didn't seem to help.
If you need more information on this, please tell me, and i will reply as soon as i can.
(Also, im sorry if this is the wrong category for this sort of thread.)
Thanks for Helping!