EvolSoft / CustomAlerts

Customize or hide alerts (join/leave messages, whitelist messages, outdated server/client messages, etc...) plugin for PocketMine-MP
MIT License
19 stars 41 forks source link

PocketMine-MP API 4.x.x Update #43

Closed KanekiLeChomeur closed 2 years ago

KanekiLeChomeur commented 2 years ago

Update to PocketMine-MP API 4.x.x

What's new ?

It's an Compatibility Update from PocketMine-MP API 3.x.x to PocketMine-MP API 4.x.x

Player's Name/Username has been removed from Outdated Server/Client Kick Message and Witelist Kick Message has been removed due to PocketMine-MP API 4.x.x Update

CustomAlertsOutdatedClientKickEvent and CustomAlertsOutdatedServerKickEvent has now getPlayer() function edited to getOrigin() that returns NetworkSession or null

CustomAlertsWhitelistKickEvent has now getPlayer() function edited to getPlayerInfo() that returns PlayerInfo or null