FakePlayer icon indicating copy to clipboard operation
FakePlayer copied to clipboard

More convenient ways to handle events

Open SOF3 opened this issue 3 years ago • 0 comments

I'd like to use this in my integration tests. I need to programmatically handle the case where the player receives a message, so that I can check it against expected message. Currently the API only supports packets, which is an unstable API.

There are PocketMine events I can use to handle other stuff like playerinteractevent (and using AwaitStd for the API), but there is no event for receiving messages.

SOF3 avatar Dec 16 '21 12:12 SOF3