From 011d1713c03482c125cf9bd74caf2f53a2e40bc1 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 28 Nov 2020 18:33:08 +0000 Subject: [PATCH] [ci skip] changelog updates --- changelogs/4.0-snapshot.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/changelogs/4.0-snapshot.md b/changelogs/4.0-snapshot.md index 94354649c..093669d0f 100644 --- a/changelogs/4.0-snapshot.md +++ b/changelogs/4.0-snapshot.md @@ -552,8 +552,14 @@ This version features substantial changes to the network system, improving coher - `Permission::loadPermission()` -> `PermissionParser::loadPermission()` - The following API methods have been added: - `PermissionParser::emitPermissions()` + - `Permission->addChild()` + - `Permission->removeChild()` +- The following API methods have been removed: + - `Permission->addParent()` - The following API methods have changes: - `PermissionParser::defaultFromString()` now throws `InvalidArgumentException` on unknown values. +- The following classes have been removed: + - `ServerOperator` ### Player - The following classes have moved to the new `pocketmine\player` namespace: @@ -601,6 +607,8 @@ This version features substantial changes to the network system, improving coher - `IPlayer->setWhitelisted()`: use `Server->setWhitelisted()` instead - `IPlayer->isBanned()`: this was unreliable because it only checked name bans and didn't account for plugin custom ban systems. Use `Server->getNameBans()->isBanned()` and `Server->getIPBans()->isBanned()` instead. - `IPlayer->setBanned()`: use `Server` APIs instead + - `IPlayer->isOp()`: use `Server` APIs instead + - `IPlayer->setOp()`: use `Server` APIs instead ### Plugin - API version checks are now more strict. It is no longer legal to declare multiple minimum versions on the same major version. Doing so will now cause the plugin to fail to load with the message `Multiple minimum API versions found for some major versions`.