9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-26 10:29:13 +00:00
Commit Graph

572 Commits

Author SHA1 Message Date
Dreeam
c6a8f6335f Trigger build 2024-09-06 13:45:03 -04:00
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
bd74ab753a Update workflow 2024-09-05 19:06:35 -04:00
Dreeam
143e40279a Remove useless Event TriState async API 2024-09-03 15:27:31 -04:00
Dreeam
edaef875d1 Fix stuck on loading on some Linux machine caused by wrong common-lang3 dependency scope 2024-09-02 22:14:22 -04:00
Dreeam
c0f827cb67 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@6027593 Updated Upstream (Paper)
2024-09-02 01:41:04 +00:00
Dreeam
1a9ddb5ad3 Add Gale config to Spark profiler & Hide Sentry DSN key in Leaf config 2024-09-01 00:09:27 -04:00
Dreeam
68b8661c06 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@e01ddf4 Fixup porting issue in vanillaBiomeProvider impl (#11185)
PaperMC/Paper@509ea2f Fix horse armor desync (#11341)
PaperMC/Paper@2f0891e Fix InventoryOpenEvent cancellation (#11304)
PaperMC/Paper@227c94a Fix inventory desync when placing blocks with spawn protection (#11090)

Gale Changes:
Dreeam-qwq/Gale@afab253 Updated Upstream (Paper)
2024-08-31 22:53:13 -04:00
Dreeam
910864f84a [ci skip] Format patch 2024-08-29 00:16:24 -04:00
Dreeam
cfdd5f1bea Revert toml version 2024-08-28 17:15:52 -04:00
Dreeam
5eec2e9f4b Don't spawn if lastSpawnState is null 2024-08-27 22:53:43 -04:00
Dreeam
351bb339e8 Bump dependencies 2024-08-27 22:37:46 -04:00
Dreeam
03a888a390 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@2fdb2e9 Fix structure check API (#11307)
PaperMC/Paper@fcedb49 Update spark-paper
PaperMC/Paper@956b3d1 Ensure MaterialChoice materials are items (#11325)
PaperMC/Paper@5625051 Prevent duplicate pickup event for piglins (#11322)
PaperMC/Paper@94444ce Fix incorrect timestamp in region file header recalculation (#11318)
PaperMC/Paper@5b2c43e Remove set damage lootable item function from compasses (#11317)
PaperMC/Paper@5167856 Fix despawn ranges by defaulting to an ellipsoid shape (#11312)
PaperMC/Paper@e2da65c Deprecate API relating to menu title changes (#11309)
PaperMC/Paper@ad4c524 Properly destroy placed blocks on the end platform (#11292)
PaperMC/Paper@374d9c8 Add a method to reset Lodestone compasses back to normal ones (#11308)
PaperMC/Paper@dd8c70a Ensure TabCompleteEvent always has a mutable backing list. (#11302)
PaperMC/Paper@a7b8d95 Add enchantment seed update API (#11282)
PaperMC/Paper@789a267 Re-implement maxLeashDistance world conf and call missing event (#11301)
PaperMC/Paper@e08e667 Fix: synchronise sending chat to client with updating message signature cache (#11332)
PaperMC/Paper@2562124 [ci skip] Create SECURITY.md (#11331)

Gale Changes:
Dreeam-qwq/Gale@d8e8537 Updated Upstream (Paper)
Dreeam-qwq/Gale@492609e Updated Upstream (Paper)
Dreeam-qwq/Gale@d9a7cf0 Updated Upstream (Paper)
Dreeam-qwq/Gale@afbc1ea Updated Upstream (Paper)
2024-08-27 20:27:01 -04:00
Dreeam
19277eec8b Fix built-in spark doesn't load Leaf config 2024-08-25 18:22:10 -04:00
Dreeam
c83b4d4e1b Remove stream in RecipeManager getRecipeFor 2024-08-23 20:24:06 -04:00
Dreeam
25f56b2c5d Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@a994efd Updated Upstream (Paper)
2024-08-22 01:40:47 +00:00
Dreeam
539b8b3e8d Fix version fetcher 2024-08-20 13:12:18 -04:00
Dreeam
424c438a9f Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@8fd3a67 [ci skip] Clean up book limits patch (#11297)
PaperMC/Paper@dae906b Add getWorld method that uses adventure Key (#11199)
PaperMC/Paper@ba1b016 Allow server administrators to disable book size checks (#10457)
PaperMC/Paper@a8cb8e6 [ci skip] Fix JavaDocs for HeightMap#MOTION_BLOCKING_NO_LEAVES (#11291)
PaperMC/Paper@e4b38b4 Fixup config parsing
PaperMC/Paper@3271119 Fix SculkBloomEvent firing for block entity loading (#11306)

Gale Changes:
Dreeam-qwq/Gale@38ba923 Updated Upstream (Paper)
Dreeam-qwq/Gale@7ebf026 Fix code style & Adjust sequence of `organizationDisplayName` and `projectDisplayName` in version fetcher

Purpur Changes:
PurpurMC/Purpur@3510a9e Updated Upstream (Paper)
PurpurMC/Purpur@1d3cef7 Updated Upstream (Paper)
PurpurMC/Purpur@c4a6f63 Updated Upstream (Paper)
PurpurMC/Purpur@568a028 Updated Upstream (Paper)
2024-08-20 13:07:55 -04:00
Dreeam
9aafe0497e Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@b4bc512 Fix entity limit patch deleting unnecessary entities
PaperMC/Paper@be1078f Use player file, not directory, when checking for offline player data

Gale Changes:
Dreeam-qwq/Gale@b87ebba Try to optimize ClassInstanceMultiMap
2024-08-18 23:36:16 -04:00
Dreeam
2d6d4b2ce4 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@06c529f Updated Upstream (Paper)
2024-08-19 01:41:10 +00:00
Dreeam
360c8ea000 Clean up 2024-08-17 19:11:59 -04:00
Dreeam
778edd2e05 Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@1c3c47a Correctly check enchants for ItemStack#damage (#11240)
PaperMC/Paper@1187544 Fix teleport event getTo returning null (#11239)
PaperMC/Paper@dd941cc Re-add patches for can-place/can-destroy API (#11238)
PaperMC/Paper@ab0d24a Configuration for horizontal-only item merging (#11219)
PaperMC/Paper@098bd39 Remove arbitrary book page limit (#11228)
PaperMC/Paper@f97aff7 [ci skip] Fix Effect javadocs (#11182)
PaperMC/Paper@4a97ba3 Fix `setSendViewDistance`'s return (#11247)
PaperMC/Paper@1798e94 Fix BasicCommand suggestion arg count (#11241)
PaperMC/Paper@7c9240f Improve standard messenger logging
PaperMC/Paper@9ab644e Fix `TooltipContext.create` being wrong(#11254)
PaperMC/Paper@11b4ac7 Fix disableEndCredits world config (#11261)
PaperMC/Paper@bf5852a Fix NPE for PlayerPostRespawnEvent#getRespawnedLocation (#11268)
PaperMC/Paper@fb53074 Apply optimise collision checking in move packet handling patch
PaperMC/Paper@81bfda8 [ci skip] Specify rebase location in CONTRIBUTING (#11255)
PaperMC/Paper@9571983 Fix scanForLegacyEnderDragon world config (#11262)
PaperMC/Paper@ec55c11 Fix indestructable light blocks (#11275)
PaperMC/Paper@1b8ab11 Add Configuration for vertical Despawn Ranges (#10440)
PaperMC/Paper@534ab86 [ci-skip] Revert "Add Configuration for vertical Despawn Ranges (#10440)" (#11278)
PaperMC/Paper@e619744 Allow skipping of world symlink validation (#11250)
PaperMC/Paper@78216fe Re-implement portalCreateRadius world config (#11267)
PaperMC/Paper@4829fbf Handle custom registry elements properly (#11230)
PaperMC/Paper@d5ffc57 Implement more methods for horse inventories (#11147)
PaperMC/Paper@52ae4ad Migrate ArmorStand meta to using entity tag (#11107)
PaperMC/Paper@75655ec Add Configuration for vertical Despawn Ranges (#11279)
PaperMC/Paper@0e73617 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11284)
PaperMC/Paper@66a97cc Update item data sanitization (#11227)
PaperMC/Paper@2e82fd2 Add even more Enchantment API (#11115)
PaperMC/Paper@57dd822 Leashable API (#10961)
PaperMC/Paper@8c3018a Fix Selector Arguments not working with permission (#11286)
PaperMC/Paper@4401748 Fix CraftBukkit drag system (#10703)
PaperMC/Paper@64c9ee6 Allow getting/setting the sign's editor uuid (#10637)

Gale Changes:
Dreeam-qwq/Gale@dc228bb Updated Upstream (Paper)
Dreeam-qwq/Gale@ecbaa9c Updated Upstream (Paper)
Dreeam-qwq/Gale@7e2df5b Updated Upstream (Paper)
Dreeam-qwq/Gale@ea59414 Updated Upstream (Paper)
Dreeam-qwq/Gale@e373e97 Updated Upstream (Paper)

Purpur Changes:
PurpurMC/Purpur@366af80 Updated Upstream (Paper)
PurpurMC/Purpur@07979c3 Updated Upstream (Paper)
PurpurMC/Purpur@3f790ac Updated Upstream (Paper)
PurpurMC/Purpur@201e928 Updated Upstream (Pufferfish) (#1575)
PurpurMC/Purpur@f2307b8 Updated Upstream (Paper)
PurpurMC/Purpur@bba87bf Updated Upstream (Paper)
PurpurMC/Purpur@f530395 Fix no exp drops from spawners using silk touch pickaxe without option enabled  (#1582)
2024-08-17 19:03:05 -04:00
Dreeam
61075f8cb2 [ci skip] Remove NachoSpigot: Async Explosion
by setting max-tnt-per-tick to 200 (or higher based on ur machine) in spigot.yml, Server can keep tps20 for ~10w TNTs explosion.
2024-08-14 04:03:38 +08:00
Dreeam
7f806c5f31 [ci skip] Move to remove 2024-08-14 03:49:01 +08:00
Dreeam
d4153953a1 [ci skip] Remove Fix Nova compatibility
Since Nova 0.17 can run on Leaf 1.21.1 fine
2024-08-14 03:48:03 +08:00
Dreeam
ddf3df8d69 Drop Block log4j rce exploit in chat 2024-08-11 23:07:59 +08:00
Dreeam
ebf13124ac Dont send useless entity packets 2024-08-11 22:57:33 +08:00
Dreeam
75799f90ef [ci skip] Remove old multithreaded tracker Petal version 2024-08-11 22:35:57 +08:00
Dreeam
aad915a149 1.21.1 2024-08-11 20:24:46 +08:00
Dreeam
ee6983aa20 Build it ver-1.21 2024-08-11 18:28:15 +08:00
Dreeam
cb54a09d9d Updated Upstream (Paper/Gale/Purpur/Leaves)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@042f15f [ci skip] chore: fix incorrect commit hash in PR builds (#11198)
PaperMC/Paper@4e6a2a1 Check for block type in SculkSensorBlock#canActivate
PaperMC/Paper@77a5779 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11197)
PaperMC/Paper@4d7cef3 Fix source of knockback for spigot events (#11176)
PaperMC/Paper@b1b5d4c Check shooter in configurable projectile relative velocity patch

Gale Changes:
Dreeam-qwq/Gale@33fb580 Updated Upstream (Paper)
Dreeam-qwq/Gale@3a5ff70 Updated Upstream (Paper)

Purpur Changes:
PurpurMC/Purpur@7950960 Updated Upstream (Paper)
PurpurMC/Purpur@73a90e8 Updated Upstream (Paper)
PurpurMC/Purpur@75e81d8 deprecate old anvil api methods
PurpurMC/Purpur@4e55e26 final 1.21 Paper upstream

Leaves Changes:
LeavesMC/Leaves@26e31ff Update fakeplayer, and fix #298
LeavesMC/Leaves@af01380 And make #297 happy
LeavesMC/Leaves@1782bd4 [ci-skip] Serve immediately (#295)
2024-08-11 18:21:21 +08:00
Dreeam
f3b9b961db [ci skip] Clean up 2024-08-09 20:42:32 +08:00
Dreeam
098c822e0b [ci skip] Add donate method 2024-08-09 20:38:25 +08:00
Dreeam
a0295ff4b7 [ci skip] Drop some useless patches 2024-08-09 20:38:06 +08:00
Dreeam
5692cf0521 Filter useless entity type for ttl 2024-08-09 19:52:06 +08:00
Dreeam
d8c2bb9abd Fix config loading issue caused by wrong default config key 2024-08-09 19:51:44 +08:00
Dreeam
572b7ecf5a Paper PR: Prevent zombie reinforcements loading chunks 2024-08-09 19:16:02 +08:00
Dreeam
56d49a52c5 Paper PR: Throttle failed spawn attempts 2024-08-09 19:15:48 +08:00
Dreeam
e85c321d11 Paper PR: Skip AI during inactive ticks for non-aware mobs 2024-08-09 19:12:39 +08:00
Dreeam
dbfeb875d7 Paper PR: Optimise color distance check in MapPalette by removing floating point math 2024-08-09 03:18:20 +08:00
Dreeam
8cfb6f0bd3 Default enable async mob spawning 2024-08-09 03:17:43 +08:00
Dreeam
610f9f35b8 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@725b95a Updated Upstream (Paper)
2024-08-08 01:39:50 +00:00
Dreeam
f316aff347 Configurable unknown command message 2024-08-07 19:24:46 +08:00
Dreeam
b5e6aa58b6 Null safe 2024-08-07 19:23:26 +08:00
Dreeam
ce530c56ee Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@83c7352 Updated Upstream (Paper)
2024-08-07 01:40:07 +00:00
Dreeam
21499235d1 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@791f8d1 Revert "Fix fluidStateCount increment"
Dreeam-qwq/Gale@463fdde Add back Optimize entity coordinate key
Dreeam-qwq/Gale@3b27166 Add configurable xor-shift random support for optimized lighning random tick
Dreeam-qwq/Gale@1acfc2a Add back IceAndSnowTick optimization in Optimize random calls in chunk ticking
2024-08-07 02:20:49 +08:00
Dreeam
711b99293f Updated Upstream (Paper/Gale/Purpur/Leaves)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@df3b654 ConcurrentUtil: Fix concurrent long map resize chain pull function
PaperMC/Paper@5a5c3a4 Remove chunk unload trace debug
PaperMC/Paper@7e44684 Fix wrong assumption about locale being null in the login phase (#11204)

Gale Changes:
Dreeam-qwq/Gale@ac42d6b Remove Optimize entity coordinate key
Dreeam-qwq/Gale@6ce6bd0 Add back Optimize random calls in chunk ticking
Dreeam-qwq/Gale@a8aff53 Fix fluidStateCount increment

Purpur Changes:
PurpurMC/Purpur@9e444c5 Add Entities can use portals patch back (#1571)
PurpurMC/Purpur@930003b Updated Upstream (Paper)

Leaves Changes:
LeavesMC/Leaves@bb803a9 [release-skip] Move protocol config
LeavesMC/Leaves@c279af4 Fix fortress mob spawn (#227)
LeavesMC/Leaves@e6ca163 Update Paper
LeavesMC/Leaves@a1fb5ff [ci skip] reduce cloud upload connect timeout
LeavesMC/Leaves@a8897bd fix CraftScheduler internal plugin logging issue (#284)
LeavesMC/Leaves@91ab4ed Try fix (#286)
LeavesMC/Leaves@ec274f5 Remove Attack Self
LeavesMC/Leaves@ffdcaa8 Update Paper
LeavesMC/Leaves@a7b7a1a Fix Fakeplayer Action
LeavesMC/Leaves@cd53d4c Try to fix #291, #292 (#293)
LeavesMC/Leaves@e2db81a Fix #294
LeavesMC/Leaves@248cb93 Update Paper
2024-08-06 22:05:40 +08:00
Dreeam
cdd9de27f6 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@00bcf2a Updated Upstream (Paper)
2024-08-06 01:39:48 +00:00
Dreeam
1d7173405d Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@09bee62 Temp drop Cache ominous banner item
2024-08-06 02:17:33 +08:00
Dreeam
bcd5cb4277 Rebase 2024-08-05 21:20:01 +08:00