[ci skip] changelog updates

This commit is contained in:
Dylan K. Taylor 2020-11-28 18:33:08 +00:00
parent b40720749b
commit 011d1713c0

View File

@ -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`.