hello. so i m working at this plugin and it s already done, but sometimes server crash and give "segmentation fault". i don t know why this is happening. i will be very thankful if someone would look over the code and tell me if it s something wrong that would crash server (ik code is terrible but i m still learning so if u have some good ideas of optimizing please tell me).