8941 Commits

Author SHA1 Message Date
Dylan K. Taylor
3af18917f0
Player: remove note about bans from getUniqueId()
while it's true that you might be able to skip the CPU waste from verifying a player's login just to find out that they are banned, this is generally a minority case anyway, so it doesn't make a lot of difference overall. This additional note is essentially a recommendation premature optimisation, which will likely lead to people making security mistakes.
2021-07-22 22:14:14 +01:00
Dylan K. Taylor
61528393c2
Player: rewrite the confusing documentation of getUniqueId() 2021-07-22 21:14:31 +01:00
Dylan K. Taylor
59b8453228
Player: added extra debug message for XUID mismatches 2021-07-22 21:04:40 +01:00
Dylan K. Taylor
13f114f30e
bootstrap: report loaded php.ini in error, as well as php binary path
in some cases extension loading issues are caused by incorrect php.ini path, which should be easy to spot if the path is given.
2021-07-17 21:50:30 +01:00
Dylan K. Taylor
bd5f379c4c
apparently opcache_get_status() may return false? 2021-07-17 21:11:12 +01:00
Dylan K. Taylor
2588895ab0
bootstrap: add a giant yellow warning about JIT 2021-07-17 19:00:19 +01:00
Dylan K. Taylor
68699dbff9
PlayerAuthInputFlags: Fixed a mistake in the documentation 2021-07-14 21:08:23 +01:00
Dylan K. Taylor
bfbe3d83de
3.22.1 is next 2021-07-13 18:31:34 +01:00
Dylan K. Taylor
c32c21464c
Release 3.22.0 2021-07-13 18:31:28 +01:00
Dylan K. Taylor
4d6ac57a26
Fixed particle IDs 2021-07-13 17:54:40 +01:00
Dylan K. Taylor
8b79253d3b
Protocol changes for 1.17.10 2021-07-09 19:29:34 +01:00
Dylan K. Taylor
1122131c8d
3.21.2 is next 2021-07-05 18:49:26 +01:00
Dylan K. Taylor
a50ef2af6f
Release 3.21.1 2021-07-05 18:49:26 +01:00
Dylan K. Taylor
0cdc04f9b5
Player: Fixed so-called 'pot lag'
this occurred because of transactions arriving before MobEquipmentPacket updating the player's own held item slot. This was only a problem while rapidly changing hotbar slots and simultaneously using items, like projectiles.
closes #4168
2021-06-26 18:56:30 +01:00
Dylan K. Taylor
0a6ce18322
CrashDump: Sort plugins list 2021-06-17 20:56:49 +01:00
Dylan K. Taylor
492ad6bb66
3.21.1 is next 2021-06-13 15:38:22 +01:00
Dylan K. Taylor
82e8eb46ac
Release 3.21.0 2021-06-13 15:38:22 +01:00
Dylan K. Taylor
c7868a810d
Move PHP minimum to 7.4
7.3 isn't actively tested anymore, and since 7.4 has been out for so long already, it doesn't make sense to keep pandering to users who can't be bothered to update their PHP binaries.
In most cases, these users are also experiencing problems caused by older versions of pthreads that were long since fixed.
In addition, pthreads is no longer tested or supported on 7.3, so users can't get newer bug fixes even if they wanted to.
2021-06-13 15:34:24 +01:00
Stephen B
8e2829bdd4
Remove movement workaround from 1.14.30 (#4246) 2021-06-13 14:32:40 +01:00
Dylan K. Taylor
5503fadf13
3.20.1 is next 2021-06-08 20:21:55 +01:00
Dylan K. Taylor
99964709c9
Release 3.20.0 2021-06-08 20:21:55 +01:00
Dylan K. Taylor
57d274901d
Protocol changes for 1.17.0 2021-06-08 19:40:28 +01:00
Dylan K. Taylor
908b627846
3.19.4 is next 2021-06-08 18:52:01 +01:00
Dylan K. Taylor
afb21c1df2
Release 3.19.3 2021-06-08 18:51:48 +01:00
Dylan K. Taylor
b257348a3a
Renamed fields of AddEntityPacket and RemoveEntityPacket 2021-06-04 17:18:24 +01:00
Dylan K. Taylor
12c66d3362
CraftingDataPacket: fixed assert failure on debug builds 2021-06-04 17:13:50 +01:00
Carson
92fd2d35a4
SetDisplayObjectivePacket: added order and display slot constants (#4232) 2021-05-24 20:33:24 +01:00
Dylan K. Taylor
61077c48f1
Worker: fixed quit() usually being useless
Worker::isRunning() returns false after it exits the run() function, even if tasks are stacked and it isn't shutdown.
While this is mostly harmless (since the internal destructor will join the thread anyway), this should be fixed anyway.
2021-05-21 01:24:07 +01:00
Dylan K. Taylor
e0c61071e1
3.19.3 is next 2021-05-19 22:53:31 +01:00
Dylan K. Taylor
813d431208
Release 3.19.2 2021-05-19 22:53:30 +01:00
Dylan K. Taylor
c47ecb55c0
Sign: Do not allow edits by any player except the one who placed it, and only while that player is online
signs now become finalized if:
- the player quits and rejoins (because the entity runtime ID of the player will not be the same)
- the chunk is unloaded and reloaded (because the tagged entity runtime ID is not saved).

closes #4198
2021-05-02 13:22:31 +01:00
Dylan K. Taylor
4b5f279a3e
UseItemOnEntityTransactionData: added missing type 2021-04-29 19:13:52 +01:00
Dylan K. Taylor
89260d788c
3.19.2 is next 2021-04-25 20:34:13 +01:00
Dylan K. Taylor
a7cd081002
Release 3.19.1 2021-04-25 20:34:13 +01:00
Dylan K. Taylor
361be8fe36
Normal: drop MOUNTAINS and SMALL_MOUNTAINS from biome selection
this would cause disruption to generation on a patch release, which is unacceptable.
This would be better for 3.20 or 4.0.
2021-04-25 20:27:19 +01:00
Dylan K. Taylor
177b963d8e
TaskScheduler: do not push cancelled repeating tasks back onto the queue 2021-04-19 13:23:31 +01:00
TheNewHEROBRINEX
8d1a1628de
Item: Remove "ench" tag when all enchantments are removed from an item (#4184)
fixes #4144
2021-04-18 20:56:07 +01:00
Dylan K. Taylor
6f80b8979d
Particle: added some missing IDs 2021-04-16 18:20:47 +01:00
Dylan K. Taylor
3c8eb29d4e
Limit blockitem metadata hack to just blockitems
for some reason putting NBT on some items makes the creative inventory go haywire. Sadly, we currently need this hack, so I limit it to only stuff which actually needs it (blockitems).
closes #4159
2021-04-16 00:41:19 +01:00
Dylan K. Taylor
b94bbf6f5e
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2021-04-16 00:11:01 +01:00
Dylan K. Taylor
314a8a1297
protocol: updated particle type constants
closes #4173
2021-04-16 00:10:48 +01:00
TheShermanTanker
547503e8f4
Normal: Fixed bug that never lets mountainous terrain generate (#4170) 2021-04-13 17:56:57 +01:00
Dylan K. Taylor
6c351357ab
NetworkBinaryStream: bail if finding unexpected trailing data on item extradata
this may help to discover additional bugs and/or missing data on items that we don't know about yet.
2021-04-11 16:02:41 +01:00
Dylan K. Taylor
3433406cff
3.19.1 is next 2021-04-07 19:03:36 +01:00
Dylan K. Taylor
b307cd0aa1
Release 3.19.0 2021-04-07 19:03:36 +01:00
Dylan K. Taylor
c9b83d7276
Protocol changes for 1.16.220 2021-04-07 18:59:01 +01:00
Dylan K. Taylor
e22b6ff566
Revert "Revert "Backport InventoryTransactionPacket impl from PM4""
This reverts commit c7cdaeae8569c766df7db9f889c67f4e65a38d15.
2021-04-07 18:42:07 +01:00
Dylan K. Taylor
af88f49a21
3.18.3 is next 2021-04-07 18:32:14 +01:00
Dylan K. Taylor
599d5253db
Release 3.18.2 2021-04-07 18:32:10 +01:00
Dylan K. Taylor
54cb5ee0fa
ItemTranslator: ensure that the correct meta value is returned after translation
-1 is a PM-specific thing. Right now there is a hack in the NetworkBinaryStream which prevents this from becoming a problem, but that might not be the case in future.
2021-04-07 13:10:29 +01:00