9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-23 08:59:23 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Dreeam
43fae827ad Add Mutltithreaded Tracker & Async playerdata saving (#109)
* init Multithreaded Tracker

* Rebase & Clean up

* Some clean up

* Some work

* Checked some petal issues

* Fix tracker

* Unify thread name again

* Nitori: Async playerdata Save

* Rebase

* Fix Citizens player type NPC tracking issue (WIP)

Temporary move sendChanges to off-main only. This can fix Citizens's player type NPC visible issue. But still working on making updatePlayer async too, since it also takes big part of performance, and also need to be compat with Citizens.

* Drop useless patch

* Adjust comments

* Optimize tracker, batch processing sendChanges tasks

* Clean up and fix

* Rebase

* Partial update player asynchronously & Fix citizens player type NPC visual issue

This made async tracker compat with CItizens, but still need to further optimize

* Optimize and update config

* Fix realPlayer detect condition & Made more async & Update patch comment

* Add compat mode for tracker

By isolating Citizens compat logic into compat mode, it can gain more performance if Citizens is not installed.

* Update comment
2024-09-06 13:44:53 -04:00
Dreeam
143e40279a Remove useless Event TriState async API 2024-09-03 15:27:31 -04:00
Dreeam
d4fcc796c6 Add Leaf Bootstrap
Also fixed Ignore terminal provider warning not working
2024-07-31 22:24:37 +08:00
Dreeam
8b6170a774 Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@645a677 Make max interaction range configurable (#11164)
PaperMC/Paper@66165f7 Fix PickupStatus getting reset (#11154)
PaperMC/Paper@dcbd99d Fix Owen's typos (#11179)
PaperMC/Paper@f82bea6 Add argument for FinePosition to brig API (#11094)
PaperMC/Paper@694b120 Remove Entity tracker field
PaperMC/Paper@f774787 Copy missed changes to chunk system from Folia
PaperMC/Paper@50bdfc3 Null check tracker in Entity#resendPossiblyDesyncedEntityData
PaperMC/Paper@3234b20 Do not allow chunk unloading outside of the regular tick loop
PaperMC/Paper@0246a9d Add mob bucket items to item id to entity map in DataConverter
PaperMC/Paper@438863c Shutdown L4J cordially if the server stops before it's even started (#11172)
PaperMC/Paper@100d75a Don't entirely die just because a plugin jar was bad

Gale Changes:
Dreeam-qwq/Gale@0e82dc2 Updated Upstream (Paper)
Dreeam-qwq/Gale@a6f7132 Updated Upstream (Paper)
Dreeam-qwq/Gale@dc88322 Completely remove /perf command
Dreeam-qwq/Gale@0a50015 Use vanilla values for hopper checking nearby items
Dreeam-qwq/Gale@169d56c Updated Upstream (Paper)

Purpur Changes:
PurpurMC/Purpur@72ccfbd Updated Upstream (Paper)
2024-07-30 00:05:32 +08:00
Dreeam
6acb949d2d Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@681c013 Bundle spark (#11093)
PaperMC/Paper@5fee9c6 Move configuration option to a system property
PaperMC/Paper@aa3b356 Improve server startup logging (#11110)
PaperMC/Paper@9aea240 Properly lookup plugin classes when looked up by spark
PaperMC/Paper@7e91a2c Update the bundled spark version

Gale Changes:
Dreeam-qwq/Gale@a4ed885 Updated Upstream (Paper)
Dreeam-qwq/Gale@3932464 [ci skip] Remove TODOs

Purpur Changes:
PurpurMC/Purpur@936c29a Updated Upstream (Paper)
PurpurMC/Purpur@032697e Updated Upstream (Paper)
PurpurMC/Purpur@b2d1fea always output bukkit/paper plugin header in plugin command
2024-07-21 08:02:22 +08:00
Dreeam
02125666c1 Add back Linear region format 2024-07-20 15:07:42 +08:00