9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-19 15:09:27 +00:00

Disable Nether and End portals for non-player entities

We don't need portals for them on SparklyPower

Fixes #9
This commit is contained in:
MrPowerGamerBR
2023-12-26 17:15:11 -03:00
parent 22b3025da2
commit 5889520bba
2 changed files with 15 additions and 6 deletions

View File

@@ -74,10 +74,6 @@ Off-main thread throws can be disabled with `-Dsparklypaper.disableHardThrow=tru
In fact, disabling throws is not an easy way out: Yes, you avoid some functions borking out. But, if the tick thread check has failed, your server is probably going to crash anyway. Example: If a plugin is attempting to teleport a player to world X while they are in a TickThread of world Y, the server will lock up because loading chunks outside of the world's tick thread or from an async thread is not allowed but if you had kept hard throws enabled, your server wouldn't have crashed because the request would've been denied! Fix the dang issues instead!!!
## Timings
Parallel World Ticking does not work with Aikar's Timings because Timings wasn't really meant for asynchronous stuff, so the Timings stack becomes corrupted when the worlds are ticked and the server crashes, please use Spark instead!
## Profiling with Spark
By default, Spark will profile the `Server thread` thread, which ain't good for us if we want to profile what is being used in our worlds.
@@ -98,10 +94,14 @@ I'm not even sure why this question is even here considering that the only real
But you can build, or download SparklyPaper builds, without the parallel world ticking added!
## Plugin Incompatibilities
## Disabled Features and Plugin Incompatibilities
[Here's a list of plugins that have issues with parallel world ticking](PARALLEL_INCOMPATIBLE_PLUGINS.md)
### Disabled/Broken Features
* Parallel World Ticking does not work with Aikar's Timings because Timings wasn't really meant for asynchronous stuff, so the Timings stack becomes corrupted when the worlds are ticked and the server crashes, please use Spark instead!
* Non-player entities cannot cross a Nether/End Portal.
## Implementation Notes
If you are curious about things that I've learned while making this, I wrote [some notes about why some things were implemented the way that they are](PARALLEL_NOTES.md).