9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-25 01:49:28 +00:00
MrPowerGamerBR 30bd3d6baa Update docs
2023-11-17 12:42:08 -03:00
2023-10-22 11:17:21 -03:00
2023-11-17 12:42:08 -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-14 00:21:23 +00:00
2023-10-22 11:17:21 -03:00
2023-10-22 11:17:21 -03:00
2023-11-17 12:42:08 -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.
  • Skip distanceToSqr call in ServerEntity#sendChanges if the delta movement hasn't changed
    • The distanceToSqr call is a bit expensive, so avoiding it is pretty nice, around ~15% calls are skipped with this check. Currently, we only check if both Vec3 objects have the same identity, that means, if they are literally the same object. (that works because Minecraft's code reuses the Vec3 object when caching the current delta movement)
  • Check how much MSPT (milliseconds per tick) each world is using in /mspt
    • Useful to figure out which worlds are lagging your server. Per World MSPT
  • 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...

Support

Because this is a fork made for SparklyPower, we won't give support for any issues that may happen in your server when using SparklyPaper. We know that SparklyPaper may break some plugins, but unless we use these plugins on SparklyPower, we won't go out of our way to fix it!

If you only care about some of the patches included in SparklyPaper, it is better for you to create your own fork and cherry-pick the patches, this way you have full control of what patches you want to use in your server, and even create your own changes!

Downloads

You can download SparklyPaper's Paperclip JAR here. Click on a workflow run, scroll down to the Artifacts, and download!

Languages
Java 56.4%
Kotlin 43.6%