my sql error. Please help me. https://pastebin.com/1m63LXFW my server don't have custom plugin. I will pay you if can help me fix 20USD. Thank you.
Don't run your SQL queries on the main thread, instead, run it in an async task (BukkitScheduler::runTaskAsynchronously)
I think the issue is what @DarkSeraphim says. You shouldn't be running MySQL on the main thread. The issue is most likely that you have an extremely poor and slow MySQL server and regularly execute queries, which causes the server to build up so much delay that it stops responding. Fix for your solution: Get a propper MySQL server, and run queries async