mc_protocol v0.0.2 McProtocol.Handler.Kick

Kicks the player from the server with a message. Can be used in Login and Play.

The argument should be a map in the Chat format.

Summary

Functions

enter(reason, map)

Callback implementation for McProtocol.Handler.enter/2.

handle(, , )

Callback implementation for McProtocol.Handler.handle/3.

leave(stash, handler_state)

Callback implementation for McProtocol.Handler.leave/2.