awaitChatInput

fun Player.awaitChatInput(question: String = "Type your input in the chat!", timeoutSeconds: Int = 1 * 60, callback: (PlayerInputResult<String>) -> Unit)

Asks the player a question and uses the next chat input of the player as his input.