Commit Graph

18468 Commits

Author SHA1 Message Date
Dylan T.
7ec548774c Limit SubChunk to 2 layers, avoid arrays (#6747)
Initially proposed in #6575

This shows about a 10% performance improvement to both SubChunk->getBlockStateId() and SubChunk->setBlockStateId(), so definitely worth doing. It does result in increased complexity, but for a double digits performance gain, I think it's worth it.

Closes #6575
2025-09-27 18:51:15 +01:00
Dylan K. Taylor
9eadf59bf5 Merge branch 'major-next' of github.com:pmmp/PocketMine-MP into major-next 2025-09-26 15:56:04 +01:00
Dylan K. Taylor
c863c737f4 Merge branch 'minor-next' into major-next 2025-09-26 15:55:55 +01:00
Dylan T.
3b363cb86d Merge pull request #6813 from pmmp/r5.34.0
R5.34.0
5.34.0
2025-09-26 15:52:32 +01:00
Dylan K. Taylor
236fa062f0 Prepare 5.34.0 release 2025-09-26 15:48:55 +01:00
Dylan K. Taylor
5ca8e15027 tidy 2025-09-25 18:18:33 +01:00
Dylan T.
3336cda34a First pass ext-encoding support (high-level network I/O and read-only data) (#6799)
This implements ext-encoding only in high-level network I/O (only BedrockProtocol and stuff implemented in PM) and read-only data.
This should net a significant performance advantage while being low-risk in the case of critical issues with the extension. Any problems affecting protocol won't do permanent damage while being fairly easy to debug.

Next passes will integrate ext-encoding versions of RakLib, RakLibIpc and NBT, as well as generally using ext-encoding for writeable data.
2025-09-25 17:32:38 +01:00
pmmp-admin-bot[bot]
87f1bd49de Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17989633681
2025-09-24 21:06:15 +00:00
pmmp-admin-bot[bot]
6fede8a67f Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17989633681
2025-09-24 21:06:13 +00:00
dependabot[bot]
65cdf68f59 Bump build/php from 627f8d6 to 8fe1873 (#6812)
Bumps [build/php](https://github.com/pmmp/php-build-scripts) from `627f8d6` to `8fe1873`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases)
- [Commits](627f8d670c...8fe187335f)

---
updated-dependencies:
- dependency-name: build/php
  dependency-version: 8fe187335f666b8fb251927940f66ef372bfd3a6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-24 13:20:37 +01:00
pmmp-admin-bot[bot]
c088dedbc0 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17959045221
2025-09-23 21:05:49 +00:00
pmmp-admin-bot[bot]
8b70456669 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17959045221
2025-09-23 21:05:48 +00:00
Dylan K. Taylor
45698e4bb9 SendUsageTask: fixed php_uname() call with invalid mode
this now throws in PHP 8.4. Previously it returned the same as php_uname(a).
Presumably the intent was to capture the CPU arch and not a repeat of the machine field.

closes #6811
2025-09-23 13:07:47 +01:00
pmmp-admin-bot[bot]
ee8c1356f6 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17898936142
2025-09-21 21:05:37 +00:00
Dylan T.
31f4b496a1 Implement new OpenID authentication system (#6798)
Co-authored-by: Dries C <15795262+dries-c@users.noreply.github.com>
2025-09-20 22:40:38 +01:00
Dylan K. Taylor
352cd4f9fd Merge branch 'minor-next' of github.com:pmmp/PocketMine-MP into major-next 2025-09-20 18:09:32 +01:00
IvanCraft623
ebeee29a88 Implement firework rocket & firework star (#5455)
Co-authored-by: Dylan T <dktapps@pmmp.io>
Co-authored-by: ipad54 <63200545+ipad54@users.noreply.github.com>
2025-09-20 18:04:05 +01:00
Dylan K. Taylor
dd9cbb74f0 Added NeverSavedWithChunkEntity interface
closes #6809

turns out we can actually use this for players too.
we need this also for fireworks and probably lightning in the future.
2025-09-20 00:01:16 +01:00
Dylan K. Taylor
1dea350261 shut 2025-09-19 23:43:04 +01:00
Dylan K. Taylor
bbcc0c08b5 Updated NBT library to get new ListTag handling features 2025-09-19 23:40:04 +01:00
Dylan K. Taylor
25dae2f5ae Fix merge error 2025-09-18 22:17:47 +01:00
pmmp-admin-bot[bot]
1ec8754979 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17841374387
2025-09-18 21:06:04 +00:00
IvanCraft623
6d2d23a210 Implement Trident (#4547)
Co-authored-by: Dylan T. <dktapps@pmmp.io>
2025-09-18 19:00:55 +01:00
pmmp-admin-bot[bot]
46b92f8fc3 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17810657304
2025-09-17 21:05:40 +00:00
pmmp-admin-bot[bot]
fbf09d990e Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17810657304
2025-09-17 21:05:39 +00:00
dependabot[bot]
dd5a7adec4 Bump build/php from 1d9cda6 to 627f8d6 (#6802) 2025-09-17 02:15:15 +00:00
Dylan T.
f46fc18c57 Trigger branch merge at 9pm instead of midnight 2025-09-17 01:59:39 +01:00
Dylan K. Taylor
a65722d0aa Merge branch 'minor-next' into major-next 2025-09-17 01:49:29 +01:00
Dylan K. Taylor
7d50c9d146 Merge branch 'stable' of github.com:pmmp/PocketMine-MP into minor-next 2025-09-17 01:38:53 +01:00
pmmp-admin-bot[bot]
40a1a29f0d 5.33.3 is next
Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/17748879758
2025-09-15 22:54:12 +00:00
Dylan T.
1e797b9897 Prepare 5.33.2 release (#6804) 5.33.2 2025-09-15 23:53:05 +01:00
Dylan K. Taylor
a056af1617 Update composer dev dependencies 2025-09-15 22:41:02 +01:00
Dylan K. Taylor
b237cacfc9 InGamePacketHandler: don't resync blocks if the client predicted an interact fail
if the prediction was a fail, we can assume that the client didn't do anything visual on its end,
which avoids the need to resend blocks.
This fixes block lag when towering as discussed in #6803.

The more general issue in #6803 remains unresolved (that the server's block resyncing may overwrite
additional client side predictions if it places a block before the server's resync for the initial
placement arrives), but that's more complicated to fix and I'm not convinced on the correct method
to resolve it yet.

In any case, this change nets a decent improvement for everyone, regardless.
2025-09-15 19:36:29 +01:00
Dylan K. Taylor
e7ad3c25fa InGamePacketHandler: ignore CREATIVE_PLAYER_DESTROY_BLOCK
fixes #6757

we get PREDICT_DESTROY_BLOCK anyway, so it's not needed
2025-09-15 18:02:10 +01:00
Dylan K. Taylor
c6a28d8df0 InventoryManager: fixed window sending getting stuck on client rejecting window opening
closes #6778

honestly, we could just stop checking the window ID entirely, considering the need for delaying and waiting
for window close acks, it seems useless at this point...
2025-09-15 17:34:35 +01:00
pmmp-admin-bot[bot]
919492bdca Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17718404883
2025-09-15 00:03:10 +00:00
Dylan K. Taylor
e47c189cb6 Add support for private timings pasting 2025-09-14 18:01:33 +01:00
Dylan K. Taylor
01028ee404 Merge branch 'minor-next' into major-next 2025-09-12 01:15:40 +01:00
Dylan K. Taylor
aee1ab0ae0 Merge branch 'stable' into minor-next 2025-09-12 01:14:16 +01:00
Dylan K. Taylor
636b96a9a5 Updated composer dependencies 2025-09-12 01:13:55 +01:00
Dylan K. Taylor
1a71152195 Merge remote-tracking branch 'origin/minor-next' into major-next 2025-09-12 01:09:35 +01:00
pmmp-admin-bot[bot]
527eda30c9 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17629911301
2025-09-11 00:03:05 +00:00
Dylan K. Taylor
c854f2c765 ItemSerializer: avoid slow NBT check
hasNamedTag() rebuilds the NBT from item properties to decide if there's any NBT.
This is a waste of resources when we then fetch the tag to encode anyway.
2025-09-10 20:06:35 +01:00
Dylan K. Taylor
4b4fc52cd7 Updated Bitcoin donation address 2025-09-10 19:10:56 +01:00
Dylan K. Taylor
54e8ad2a9c Update BedrockProtocol 2025-09-10 16:21:29 +01:00
pmmp-admin-bot[bot]
47dac7244f Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17567495443
2025-09-09 00:02:55 +00:00
pmmp-admin-bot[bot]
9fcb16b6c1 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17567495443
2025-09-09 00:02:53 +00:00
dependabot[bot]
ce90835c7b Bump build/php from b839e52 to 1d9cda6 (#6796) 2025-09-08 10:21:54 +00:00
pmmp-admin-bot[bot]
1133d49c92 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17507094833
2025-09-06 00:02:55 +00:00
pmmp-admin-bot[bot]
2f2c53067b Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17507094833
2025-09-06 00:02:53 +00:00