544 Commits

Author SHA1 Message Date
Dylan K. Taylor
3f64906263
Release 3.18.0 2021-03-12 22:07:01 +00:00
Dylan K. Taylor
30c5cad5b3
Release 3.17.7 2021-03-11 00:22:17 +00:00
Dylan K. Taylor
61391b6e23
Release 3.17.6 2021-03-10 20:48:57 +00:00
Dylan K. Taylor
3907ae6726
Merge remote-tracking branch 'origin/stable' 2021-02-16 22:19:54 +00:00
Dylan K. Taylor
3a0c8dd594
Release 3.17.5 2021-02-16 22:13:05 +00:00
Dylan K. Taylor
561fc62232
Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	.github/workflows/main.yml
#	resources/vanilla
#	src/pocketmine/VersionInfo.php
#	src/world/format/io/region/RegionLoader.php
2021-02-03 17:32:47 +00:00
Dylan K. Taylor
2e9117d102
Release 3.17.4 2021-02-02 14:04:50 +00:00
Dylan K. Taylor
bbae02264d
Merge branch 'stable' 2021-01-27 20:04:13 +00:00
Dylan K. Taylor
b296ae1b87
Release 3.17.3 2021-01-25 17:15:31 +00:00
Dylan K. Taylor
74902d9926
[ci skip] changelog: mention InventoryPickupItemEvent->getItemEntity() rename 2021-01-21 13:58:08 +00:00
Dylan K. Taylor
a90f8601d4
[ci skip] changelog: fixed typo 2021-01-12 21:29:23 +00:00
Dylan K. Taylor
3dd01781d5
[ci skip] changelog: PlayerDisplayNameChangeEvent is new in this version 2021-01-08 20:52:21 +00:00
Dylan K. Taylor
f4d81c0997
[ci skip] changelog: mention DedicatedQueryNetworkInterface 2021-01-08 20:51:56 +00:00
Dylan K. Taylor
eb1c59597d
[ci skip] changelog: mention newly added blocks and items 2021-01-08 20:51:23 +00:00
Dylan K. Taylor
80198daba0
[ci skip] changelog: mention changes to Cancellable 2021-01-08 19:53:15 +00:00
Dylan K. Taylor
f383685c9b
[ci skip] update changelog 2021-01-08 19:44:28 +00:00
Dylan K. Taylor
d76883a5f8
Merge branch 'stable' 2020-12-29 18:00:09 +00:00
Dylan K. Taylor
5066d5225b
Release 3.17.2 2020-12-28 23:03:32 +00:00
Dylan K. Taylor
f215207a27
Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	composer.lock
#	resources/vanilla
#	src/CrashDump.php
#	src/pocketmine/VersionInfo.php
#	src/pocketmine/network/mcpe/protocol/DataPacket.php
2020-12-23 22:34:25 +00:00
Dylan K. Taylor
260c55f23a
Release 3.17.1 2020-12-23 22:20:19 +00:00
Dylan K. Taylor
197b1a8566 Merge branch 'stable'
# Conflicts:
#	resources/vanilla
#	src/network/mcpe/protocol/types/inventory/stackresponse/ItemStackResponseSlotInfo.php
#	src/network/mcpe/raklib/FilterTextPacket.php
#	src/pocketmine/VersionInfo.php
#	src/pocketmine/network/mcpe/protocol/PacketPool.php
#	src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php
2020-12-08 21:34:06 +00:00
Dylan K. Taylor
3903b70ef5 Release 3.17.0 2020-12-08 21:02:13 +00:00
Dylan K. Taylor
e810a68dd7 Merge branch 'stable'
# Conflicts:
#	build/php
#	composer.lock
#	resources/vanilla
#	src/pocketmine/VersionInfo.php
#	src/pocketmine/level/format/io/region/McRegion.php
2020-12-07 18:57:58 +00:00
Dylan K. Taylor
9b01fb3d89 Release 3.16.1 2020-12-07 17:16:10 +00:00
Dylan K. Taylor
070d8efda3 [ci skip] more world stuff for changelog 2020-12-05 01:02:53 +00:00
Dylan K. Taylor
f28bdb5aa2 [ci skip] update changelog to reflect permission changes 2020-12-01 17:24:38 +00:00
Dylan K. Taylor
9867424117 [ci skip] reflect today's changes to Server in changelog 2020-11-28 19:35:12 +00:00
Dylan K. Taylor
011d1713c0 [ci skip] changelog updates 2020-11-28 18:33:08 +00:00
Dylan K. Taylor
8cf589eedd Strip some junk out of IPlayer
these methods have better pathways through Server directly.
Also, setBanned() does not allow customising the reason for banning or the duration, nor does isBanned() account for IP bans because the code is so old ... better to force dependence on a central code path to avoid these inconsistencies.
I want to do the same thing for OP, but that's a separate problem due to its effects on the permission system.
2020-11-28 15:36:46 +00:00
Dylan K. Taylor
c454441646 [ci skip] updated changelog 2020-11-27 18:54:09 +00:00
Dylan K. Taylor
af1fe7c293 Merge branch 'stable' 2020-11-21 21:13:48 +00:00
Dylan K. Taylor
d2f68836c6 Release 3.16.0 2020-11-21 01:25:06 +00:00
Dylan K. Taylor
7469f28f24 Server: rename getPlayer() to getPlayerByPrefix()
closes #3910

the existing naming was misleading, and many plugin devs assumed that it returns an exact match. However, this is not guaranteed, and it's possible for two different players to match the same prefix.

- There is no defined behaviour for what happens when multiple players can equally match a prefix (e.g. 'fr' could match 'fred' or 'frog' equally, because the name lengths are the same)
- A prefix might match a different player at a different time (e.g. 'fr' could match 'freddie' before 'fred' joins, after which it will match 'fred' instead)

With these flaws in mind, it's better to break compatibility on this to make the intent more clear, and to make plugin developers reassess their usages of this method. In most non-command use cases, they should likely be using getPlayerExact() instead.
2020-11-14 15:49:41 +00:00
Dylan K. Taylor
04b038ff4b [ci skip] more detail to PM4 changelog 2020-11-12 21:34:12 +00:00
Dylan K. Taylor
d08c9ee634 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	resources/vanilla
#	src/pocketmine/VersionInfo.php
2020-11-10 22:44:59 +00:00
Dylan K. Taylor
e8b6b56330 Release 3.15.4 2020-11-10 16:48:18 +00:00
Dylan K. Taylor
1d02829d6f [ci skip] more detail for World API changes on PM4 2020-11-09 14:01:27 +00:00
Dylan K. Taylor
3bf87378ef Merge branch 'stable'
# Conflicts:
#	resources/vanilla
#	src/pocketmine/VersionInfo.php
#	src/pocketmine/level/LevelTimings.php
2020-11-08 19:44:30 +00:00
Dylan K. Taylor
fa920aa868 Misplaced the changelog AGAIN 2020-11-08 19:25:55 +00:00
Dylan K. Taylor
bd78d0bff8 Player: added getItemCooldownExpiry() 2020-11-03 14:11:28 +00:00
Stephen B
ddc0f137e7
changelog: VanillaEffects -> VanillaEnchantments (#3884) [ci skip] 2020-10-27 21:51:55 +00:00
Dylan K. Taylor
587a4c0095 non-exhaustive updates to changelog [ci skip] 2020-10-27 19:35:03 +00:00
Dylan K. Taylor
44e446b621 Merge remote-tracking branch 'origin/stable' into master
# Conflicts:
#	build/php
#	composer.lock
#	phpstan.neon.dist
#	resources/vanilla
#	src/pocketmine/Server.php
#	src/pocketmine/VersionInfo.php
#	src/pocketmine/entity/Entity.php
#	src/pocketmine/lang/locale
#	src/utils/Timezone.php
#	tests/phpstan/bootstrap.php
#	tests/phpstan/configs/custom-leveldb.neon
2020-10-13 17:51:49 +01:00
Dylan K. Taylor
d7a66ad755 Release 3.15.2 2020-10-06 13:33:42 +01:00
Dylan K. Taylor
0aee39027e Merge branch 'stable' into master
# Conflicts:
#	composer.lock
#	resources/vanilla
#	src/entity/Living.php
#	src/pocketmine/Player.php
#	src/pocketmine/VersionInfo.php
#	src/pocketmine/block/Potato.php
#	src/pocketmine/block/Sugarcane.php
#	src/pocketmine/entity/Entity.php
#	src/pocketmine/item/Item.php
#	src/pocketmine/level/format/Chunk.php
#	src/pocketmine/level/format/io/leveldb/LevelDB.php
#	src/world/generator/GeneratorRegisterTask.php
#	tests/phpstan/configs/check-explicit-mixed-baseline.neon
#	tests/phpstan/configs/l7-baseline.neon
#	tests/phpstan/configs/l8-baseline.neon
#	tests/plugins/TesterPlugin/src/pmmp/TesterPlugin/tests/AsyncTaskMainLoggerTest.php
#	tests/plugins/TesterPlugin/src/pmmp/TesterPlugin/tests/AsyncTaskMemoryLeakTest.php
#	tests/plugins/TesterPlugin/src/pmmp/TesterPlugin/tests/AsyncTaskPublishProgressRaceTest.php
2020-09-04 01:43:52 +01:00
Dylan K. Taylor
9f60484212 Release 3.15.1 2020-09-03 15:09:52 +01:00
Dylan K. Taylor
a35ca1fa71 Merge branch 'stable' into master 2020-08-15 20:32:14 +01:00
Dylan K. Taylor
4b9712fdee fixed changelog typo 2020-08-11 21:37:15 +01:00
Dylan K. Taylor
a498b0415a Release 3.15.0 2020-08-11 21:26:12 +01:00
Dylan K. Taylor
a7fc245291 Release 3.14.3 2020-08-11 21:06:38 +01:00