getChatInput
fun getChatInput(player: Player, timeout: Duration = Duration.ofSeconds(60), consumer: Consumer<AsyncChatEvent?>)(source)
This method is used to get a "One-Time" chat message from a player
Parameters
player
The player which should provide a chat input
timeout
The duration after which the input should be canceled if not answered yet (consumer will receive null)
consumer
The consumer of the chat event