mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-20 02:14:01 +00:00
[ci skip] reflect today's changes to Server in changelog
This commit is contained in:
parent
dd200ca8cd
commit
9867424117
@ -674,6 +674,11 @@ This version features substantial changes to the network system, improving coher
|
|||||||
- `AsyncTask->saveToThreadStore()`: use `AsyncTask->worker->saveToThreadStore()`
|
- `AsyncTask->saveToThreadStore()`: use `AsyncTask->worker->saveToThreadStore()`
|
||||||
|
|
||||||
### Server
|
### Server
|
||||||
|
- The following API methods have been added:
|
||||||
|
- `subscribeToBroadcastChannel()` - allows subscribing a `CommandSender` to receive chat messages (and other message types) on any channel
|
||||||
|
- `unsubscribeFromBroadcastChannel()`
|
||||||
|
- `unsubscribeFromAllBroadcastChannels()`
|
||||||
|
- `getBroadcastChannelSubscribers()`
|
||||||
- The following API methods have been removed:
|
- The following API methods have been removed:
|
||||||
- `reloadWhitelist()`
|
- `reloadWhitelist()`
|
||||||
- `getLevelMetadata()`
|
- `getLevelMetadata()`
|
||||||
@ -691,6 +696,7 @@ This version features substantial changes to the network system, improving coher
|
|||||||
- `getGamemodeString()` - replaced by `pocketmine\player\GameMode->getTranslationKey()`
|
- `getGamemodeString()` - replaced by `pocketmine\player\GameMode->getTranslationKey()`
|
||||||
- `getGamemodeName()` - replaced by `pocketmine\player\GameMode->name()`
|
- `getGamemodeName()` - replaced by `pocketmine\player\GameMode->name()`
|
||||||
- `getGamemodeFromString()` - replaced by `GameMode::fromString()`
|
- `getGamemodeFromString()` - replaced by `GameMode::fromString()`
|
||||||
|
- `broadcast()` - use `broadcastMessage()` instead
|
||||||
- The following API methods have changed:
|
- The following API methods have changed:
|
||||||
- `getOfflinePlayerData()` no longer creates data when it doesn't exist.
|
- `getOfflinePlayerData()` no longer creates data when it doesn't exist.
|
||||||
- The following API methods have been renamed:
|
- The following API methods have been renamed:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user