A way to configure lava flow speed using plugins. #1180
-
This would be great to reduce lag on some servers depending on specific conditions, rather than modifying it manually in the configuration file. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
It would not reduce lag unless the lava spread itself was the heaviest thing that's going on. That's basically never the case. |
Beta Was this translation helpful? Give feedback.
-
You can modify Purpur's config values extremely easily by using Paper's paperweight/userdev. Then it is as simple as doing: // get the NMS level
ServerLevel level = ((CraftWorld) player.getWorld()).getHandle();
// set the lava speed in nether dimension types
level.purpurConfig.lavaSpeedNether = 5; // default's to 10
// set the lava speed in non-nether dimension types
level.purpurConfig.lavaSpeedNotNether = 10; // defaults to 30 We don't need an entire API for simple niche things like this, imho. |
Beta Was this translation helpful? Give feedback.
You can modify Purpur's config values extremely easily by using Paper's paperweight/userdev. Then it is as simple as doing:
We don't need an entire API for simple niche things like this, imho.