9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-19 15:09:27 +00:00
MrPowerGamerBR 30d0833820 Fix world MSPT calculation affecting the server's global MSPT, use a single thread per world
The single thread per world is actually better because now we can profile each world separately. We still mimick the original thread pool by using a semaphore, this way we don't end up saturating all cores
2023-11-12 23:53:55 -03:00
2023-10-22 11:17:21 -03:00
2023-10-22 11:17:21 -03:00
2023-10-22 11:17:21 -03:00
2023-10-22 11:17:21 -03:00
2023-10-22 11:17:21 -03:00
2023-10-22 11:17:21 -03:00
2023-10-22 11:17:21 -03:00
2023-10-22 11:17:21 -03:00
2023-10-22 11:17:21 -03:00
2023-11-12 20:18:51 -03:00
2023-10-22 11:17:21 -03:00

SparklyPaper

SparklyPower's Paper fork, with a mix of weird & crazy patches from other forks!

While our fork is mostly cherry-picked patches from other forks, we do have some handmade patches too to add and optimize some of the things that we have in our server!

Features

SparklyPaper's config file is sparklypaper.yml, the file is, by default, placed on the root of your server.

  • Configurable Farm Land moisture tick rate when the block is already moisturised
    • The isNearWater check is costly, especially if you have a lot of farm lands. If the block is already moistured, we can change the tick rate of it to avoid these expensive isNearWater checks.
  • Check how much MSPT (milliseconds per tick) each world is using in /mspt
    • Useful to figure out which worlds are lagging your server.
  • Parallel World Ticking

We don't cherry-pick everything from other forks, only patches that I can see and think "yeah, I can see how this would improve performance" or patches that target specific performance/feature pain points in our server are cherry-picked! In fact, some patches that are used in other forks may be actually borked...

Languages
Java 56.4%
Kotlin 43.6%