kangarko / CoreArena

A high-end monster arena Minecraft plugin with procedural damage and RPG system. Maps included!

Home Page:https://www.mc-market.org/resources/21643/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Saving

sennby opened this issue · comments

corearena seems tosaves playerdata and loads playerdata not async so joining and leaving does file saving operation and while that operation is being done, server momentary stops cause file saving is a thread blocking task. Is it possible for you to make the file saving and loading on player join and leave async instead of tied to the server thread?

Or even make it possible to turn saving off entirely, i dont use it personally. I dont use any of the nuggets kits or anything like that other than save inventory so players dont lose their stuff in the dungeons. Running into performance issues with corearena and hoping to find a fix rather than moving.

Also i dont use procedural damage, schematics reloading or anything of that either.

We already load mysql data async. Mind providing a spark report or anything else I can have a look?

https://spark.lucko.me/qalBPR4VoM

I just re-enabled mysql as well after i posted this spark.

I will reduce the save calls to when the server is stopped or restarted, it should be enough. Thank you.