Dylan K. Taylor
7611155ff9
CS
2023-02-15 15:13:12 +00:00
Dylan K. Taylor
c0f3dbdd70
Regenerate constants for block and item data handling
2023-02-15 15:12:53 +00:00
Dylan K. Taylor
c5dcd268ad
CS
2023-02-15 15:04:41 +00:00
Dylan K. Taylor
2fd6e769e6
NetworkSession: Improved packet budgeting
...
this fixes players getting kicked during server lag spikes.
closes #5532
2023-02-15 14:59:05 +00:00
Dylan K. Taylor
aacd92bf08
Command: fix setPermissions docblock
2023-02-13 14:46:37 +00:00
Dylan K. Taylor
caebe14dab
Use an array for command permissions
...
it doesn't make sense to have to parse the string every time we want to verify permissions, nor to expect that people will somehow know to use ; to separate them without it being documented anywhere...
2023-02-13 14:44:55 +00:00
Dylan K. Taylor
cb10360c20
SimpleCommandMap: require commands to have a permission
...
fixes #5305
2023-02-13 14:24:30 +00:00
Dylan K. Taylor
082f9e1647
Deny permission to use a command if no permission is set
...
Having no permission is almost always a bug. We already have behaviour elsewhere in the core that assumes undefined permission = permission denied.
This behaviour might confuse some people, but I think it's much less dangerous than accidentally allowing everyone to use your command.
2023-02-13 14:22:36 +00:00
Dylan K. Taylor
d891646d0a
Fix CS
2023-02-13 14:10:42 +00:00
Dylan K. Taylor
886b40a455
ÂLocalize disconnect reasons for RakLib disconnects
2023-02-13 14:10:25 +00:00
Dylan K. Taylor
525f62e1e4
ÂRakLib 0.15
2023-02-13 14:00:16 +00:00
Dylan K. Taylor
2d56aa50b9
A bunch of mostly inseparable changes to PlayerPreLoginEvent
...
including support for separated disconnect reasons and disconnect screen messages (closes #4512 )
While the refactoring of kick reason -> kick flag wasn't exactly in my agenda, I realized that these changes would become pretty confusing and inconsistent with other events if they weren't refactored.
Hopefully I don't have to break this API again for a while...
2023-02-13 11:32:32 +00:00
Dylan K. Taylor
5d0388e747
PlayerPreLoginEvent no longer implements Cancellable
...
please see #5516 for motivation on this, but I don't think anyone will be complaining - this behaviour made no sense and caused a lot of confusion for people who were trying to set custom ban messages.
2023-02-13 11:10:29 +00:00
Dylan K. Taylor
074e7586cb
Merge branch 'next-minor' into next-major
2023-02-11 17:17:08 +00:00
Dylan K. Taylor
2c413768a5
Merge branch 'stable' into next-minor
2023-02-11 17:15:12 +00:00
Dylan K. Taylor
c62845e92a
4.14.1 is next
2023-02-08 20:21:43 +00:00
Dylan K. Taylor
c7930ce9ec
Release 4.14.0
2023-02-08 20:21:42 +00:00
Dylan K. Taylor
475888b031
InGamePacketHandler: do not process repeated skin change requests for the same full skin ID
...
this fixes a feedback loop with persona skins in 1.19.60.
2023-02-08 20:16:41 +00:00
Dylan K. Taylor
40b90bb722
InGamePacketHandler: log a debug when processing skin change requests
2023-02-08 19:47:12 +00:00
Dylan K. Taylor
5a4550a4fc
CS
2023-02-08 18:55:49 +00:00
Dylan K. Taylor
7bbc04e6de
Silence PlayerSkinPacket debug messages during spawn response stage
...
the client sends its skin here in 1.19.60 for some reason, which makes no sense - I can only assume it's a bug
2023-02-08 18:55:38 +00:00
Dylan K. Taylor
3ba662f64f
1.19.60
2023-02-08 18:46:37 +00:00
Dylan K. Taylor
2f12bb9943
Merge branch 'next-minor' into next-major
2023-02-06 12:34:57 +00:00
Dylan K. Taylor
41ab698f93
wrong filename
2023-02-06 12:29:54 +00:00
alvin0319
981385cf4a
GeneratorManager: Removed redundant Closure wrapping ( #5551 )
2023-02-04 14:04:31 +00:00
Dylan K. Taylor
433b0ca6cc
Fix PHPStan
2023-02-02 16:23:21 +00:00
Dylan K. Taylor
da5302ca86
BlockStateData: introduce and use current()
2023-02-02 16:21:50 +00:00
Dylan K. Taylor
6b7a4e2c41
Split up ItemDataUpgrader (preparing for code backport)
2023-02-02 16:08:49 +00:00
Dylan K. Taylor
e9b994cbc3
Allow limiting max schema ID loaded for item ID upgrading
2023-02-02 15:29:45 +00:00
Dylan K. Taylor
cfa1e7486a
Move legacy recipes and creative items in-house
...
having them here allows BedrockData to represent latest versions freely, without being limited by technical limitations of PM4.
2023-02-02 15:25:03 +00:00
Dylan K. Taylor
3c46bf01c6
Begin removing dependence on obsolete files from BedrockData
...
these files were only kept for backwards compatibility, and aren't actively maintained. They are only needed for legacy conversions in the modern day era.
2023-02-02 14:47:38 +00:00
Dylan K. Taylor
0e15a8698a
BlockStateUpgrader: do not use blockstate version to manage internal schemas
...
these are no longer reliable.
2023-02-01 22:35:59 +00:00
Dylan K. Taylor
d3fff4e0b2
Updated to newer BedrockBlockUpgradeSchema
2023-02-01 21:21:55 +00:00
Dylan K. Taylor
4562cfb85b
4.13.1 is next
2023-01-30 21:55:26 +00:00
Dylan K. Taylor
cb1aac3cd4
Release 4.13.0
2023-01-30 21:55:26 +00:00
Dylan K. Taylor
2f283678c7
Merge branch 'next-minor' into next-major
2023-01-30 13:26:29 +00:00
Dylan K. Taylor
96c32d24ba
Update composer dependencies
2023-01-30 13:23:40 +00:00
IvanCraft623
5226300b99
Ring bell when hit by a projectile ( #5505 )
2023-01-27 23:07:41 +00:00
ipad54
0f81b7be15
Fixed deepslate drops ( #5535 )
...
Co-authored-by: Dylan T <dktapps@pmmp.io>
2023-01-26 15:08:15 +00:00
Dylan K. Taylor
2b987b450b
always the CS...
2023-01-26 14:58:32 +00:00
zSALLAZAR
7eca3e8081
Fix typo
...
closes #5533
2023-01-26 14:52:50 +00:00
Dylan K. Taylor
f56339c306
Fix build
2023-01-26 14:48:43 +00:00
Dylan K. Taylor
2cd8e4d270
...
2023-01-25 19:02:42 +00:00
Dylan K. Taylor
0a3ecfdae9
Clean up terminology around block state IDs and their handling
2023-01-25 19:01:15 +00:00
Dylan K. Taylor
2f469ef4a0
Added mangrove, azalea and flowering azalea leaves
2023-01-25 18:50:14 +00:00
Dylan K. Taylor
cbaff1caec
BlockPlaceEvent: use BlockTransaction, closes #1760
...
BlockPlaceEvent no longer extends BlockEvent, since it's now a multi-block event
getBlockReplaced() is removed
getTransaction() is added
to be honest, BlockPlaceEvent should be something like PlayerBlockPlaceEvent...
2023-01-24 15:49:42 +00:00
Dylan K. Taylor
92896c78da
5.0.0-ALPHA9 is next
2023-01-23 20:38:35 +00:00
Dylan K. Taylor
5aa8b953a8
Release 5.0.0-ALPHA8
2023-01-23 20:38:35 +00:00
Dylan K. Taylor
375ec8e00c
Fix CS
2023-01-23 20:36:02 +00:00
Dylan K. Taylor
002f7d6826
PlayerDuplicateLoginEvent: remove dead code
2023-01-23 20:21:06 +00:00