18229 Commits

Author SHA1 Message Date
Dylan T.
de1573728e
Merge branch 'major-next' into command-alias-handling 2025-05-24 15:36:57 +01:00
pmmp-admin-bot[bot]
a8e898b13b Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/15221216334
2025-05-24 00:02:50 +00:00
pmmp-admin-bot[bot]
f656d7d3d7 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/15221216334
2025-05-24 00:02:49 +00:00
Dylan T.
3636173d75
... 2025-05-23 23:28:15 +01:00
Dylan T.
9606c0e0bb
Remove stale labels as well as Waiting on Author labels
actions/stale is far too slow to do this itself since it processes lots of irrelevant crap on every run
2025-05-23 22:16:57 +01:00
pmmp-admin-bot[bot]
d907d72e9b Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/15090310700
2025-05-18 00:03:34 +00:00
pmmp-admin-bot[bot]
55123b36e1 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/15090310700
2025-05-18 00:03:33 +00:00
Dylan K. Taylor
94fb5d95b9
CommonThreadPartsTrait: fixed thread crashes sometimes missing cause info
closes #6669

this happens because isTerminated returns true before the thread's shutdown handler runs,
so we join with the thread to make sure that shutdown handlers are done before returning.

... hopefully we don't get servers randomly deadlocking in shutdown handlers ???
2025-05-17 19:09:54 +01:00
Dylan K. Taylor
b5f236c019
Apparently we're supposed to use replace for this, not provide 2025-05-17 18:09:14 +01:00
pmmp-admin-bot[bot]
9d532b6e95 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/15087062558
2025-05-17 16:31:33 +00:00
pmmp-admin-bot[bot]
7169f8e553 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/15087062558
2025-05-17 16:31:32 +00:00
Dylan K. Taylor
657e6c8130
Added trigger cron workflow for RestrictedActions branch sync
we're having problems with the restricted action getting disabled due to repo inactivity,
so it's best we trigger it from here, since this repo's activity is what it's
interested in anyway.
2025-05-17 17:29:35 +01:00
pmmp-admin-bot[bot]
647c2587a8 5.28.3 is next
Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/15086729525
2025-05-17 15:45:22 +00:00
Dylan T.
81d3017ad5
Murphy's Law (#6698) 5.28.2 2025-05-17 16:44:19 +01:00
Dylan K. Taylor
a37353c060
composer: fixed borked version constraints
bruhhhhhhhhhhhh
2025-05-17 16:37:22 +01:00
pmmp-admin-bot[bot]
280911ec59 5.28.2 is next
Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/15085916916
2025-05-17 14:01:49 +00:00
Dylan T.
abb004fbc5
Ready 5.28.1 (#6696) 5.28.1 2025-05-17 15:00:53 +01:00
Dylan K. Taylor
e0864e7ee8
composer: also axe unnecessary ctype polyfill 2025-05-17 14:54:26 +01:00
Dylan K. Taylor
dca37d5842
Hack: forcibly remove symfony/polyfill-mbstring
we don't need this dependency anyway because mbstring is already provided.
2025-05-17 14:11:57 +01:00
Dylan K. Taylor
67f3bb9c52
Update composer dependencies
and fix an error found by new PHPStan update
2025-05-17 13:46:33 +01:00
Dylan K. Taylor
acf4341d71
always the CS... 2025-05-17 13:35:55 +01:00
Dylan K. Taylor
84bb9d2ab4
Consolidate Bedrock data version info
this ensures we don't have to go into a bunch of randomly scattered files to update version numbers.
2025-05-17 13:33:42 +01:00
zSALLAZAR
bb7bfee0cd
Remove ServerEvent class (#6695) 2025-05-14 08:06:22 +02:00
pmmp-admin-bot[bot]
88cdc2eb67 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/14951134662
2025-05-11 01:49:35 +00:00
pmmp-admin-bot[bot]
50f3fe2578 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/14951134662
2025-05-11 01:49:34 +00:00
Sergi del Olmo
04de72e85e
Fix changelog typo (#6690) 2025-05-10 14:34:37 +01:00
pmmp-admin-bot[bot]
112bcf7af9 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/14940598161
2025-05-10 01:40:10 +00:00
pmmp-admin-bot[bot]
4bcef443f7 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/14940598161
2025-05-10 01:40:09 +00:00
ItzxDwi
d90fc3415c
fixed wrong version info (#6689) 2025-05-09 16:33:55 +01:00
pmmp-admin-bot[bot]
1c70cee72e Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/14931383427
2025-05-09 14:38:29 +00:00
pmmp-admin-bot[bot]
e2e16a4ec5 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/14931383427
2025-05-09 14:38:28 +00:00
pmmp-admin-bot[bot]
134c7309c5 5.28.1 is next
Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/14931216524
2025-05-09 14:30:04 +00:00
Dries C
5e830c7320
Protocol changes for 1.21.80 (#6687)
* Bedrock 1.21.80 support

* Update bedrock-data

* Add required tags to models

* Fixed biome data loading

* Support newest world format
apparently I messed up the blockstate data version last time around... it hasn't changed since 1.21.60

* always CS has to complain...

* Sync with release versions

* Ready 5.28.0 release

* this might help...

---------

Co-authored-by: Dylan T. <dktapps@pmmp.io>
5.28.0
2025-05-09 15:29:05 +01:00
Dylan K. Taylor
7847524df6
Merge branch 'minor-next' into major-next 2025-05-08 02:28:09 +01:00
Dylan K. Taylor
c1cee1fc24
Merge branch 'stable' into minor-next 2025-05-08 02:27:51 +01:00
Dylan K. Taylor
d789c75c00
Improve PHPStan error reporting for unsafe foreaches
these are actually two separate concerns: one for dodgy PHPStan type suppression on implicit keys, and the other for arrays being casted to strings by PHP.
2025-05-08 02:26:09 +01:00
Dylan K. Taylor
bc54380876
CS 2025-05-04 17:22:51 +01:00
Dylan K. Taylor
8035d6619d
Merge branch 'major-next' into command-alias-handling 2025-05-04 17:22:27 +01:00
Dylan K. Taylor
1d26b21fe0
Merge branch 'minor-next' into major-next 2025-05-04 17:21:24 +01:00
Dylan K. Taylor
6196b9c995
Merge branch 'stable' into minor-next 2025-05-04 17:20:27 +01:00
Dylan K. Taylor
f2e7473629
Update PHP-CS-Fixer 2025-05-04 17:19:15 +01:00
Dylan K. Taylor
91dad0a5b5
Merge branch 'major-next' into command-alias-handling 2025-05-04 17:10:12 +01:00
Dylan K. Taylor
eb3922fc7e
shut 2025-05-04 17:10:01 +01:00
Dylan K. Taylor
912a5d6ad0
Remove TODO 2025-05-04 16:45:25 +01:00
Dylan K. Taylor
2a42e2c75d
Drop PluginLoader from Plugin, expose path instead
we already had this anyway, and it's already being reflected into.
Instead of DevTools checking for FolderPluginLoader instances, it
could just check if the file is a directory instead.
2025-05-04 16:44:28 +01:00
Dylan K. Taylor
7eff658ade
Add ability to register & unregister specific command aliases for existing commands 2025-05-04 16:07:31 +01:00
Dylan K. Taylor
084774e56c
Don't allow registering the same command instance twice 2025-05-04 15:48:24 +01:00
Dylan K. Taylor
579aecfad7
First step in restructuring command alias handling
This decouples Command from CommandMap, and moves the burden of tracking registered
aliases to CommandMap. This allows lots of simplification, and also solves a few
weird usage message issues.

- Active (registered) aliases are now tracked via CommandMapEntry
- Commands overriding other commands' aliases now update the original command's registered alias list properly
- Command alias lists now include prefixed aliases
- Prefixed aliases are now included in command data provided to the client
- Server-side /pocketmine:help is now visible on the client
- Permission testing can now provide context that's more relevant to the command invocation - e.g. if a user doesn't have /time set permission, it'll now show a more specific message where previously it would just show that the permission for /time was denied
- User-specified label is now used for permission messages instead of command name - this is more consistent with user expectations
- /help can now see prefixed aliases
- Removed magic alias registration behaviour for VanillaCommand that I don't think anyone expected
- Aliases are now provided to CommandMap via register() parameters, instead of being retrieved from the provided Command
- Command->get/setAliases(), get/setLabel() and getName() are removed
- Command->getName() pushed down to PluginCommand, as it's only useful for CommandExecutors as a command ID and shouldn't be used anywhere else
2025-05-04 15:23:25 +01:00
pmmp-admin-bot[bot]
3de604ef95 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/14816570368
2025-05-04 01:51:27 +00:00
Dylan K. Taylor
6bf9a305de
Rename confusing PHPStan rule name
it never occurred to me that this was misleading until I read some Devin documentation,
noticed that Devin misunderstood was the class was for, and then realized actually
Devin understood correctly, and it was the name of the class that was wrong. Funny
how that happens...
2025-05-03 19:24:21 +01:00