Package net. axay. kspigot. chat. input
Types
PlayerInputResult
Link copied to clipboard
Functions
awaitAnvilInput
Link copied to clipboard
fun Player.awaitAnvilInput(invTitle: String = "Type your input!", startText: String = "RENAME ME", renameItemDescription: List<String> = listOf(
"Rename this item to",
"submit your input!"
), timeoutSeconds: Int = 1 * 60, callback: (PlayerInputResult<String>) -> Unit)
Content copied to clipboard
awaitBookInputAsList
Link copied to clipboard
fun Player.awaitBookInputAsList(timeoutSeconds: Int = 1 * 60, callback: (PlayerInputResult<List<String>>) -> Unit)
Content copied to clipboard
awaitBookInputAsString
Link copied to clipboard
fun Player.awaitBookInputAsString(timeoutSeconds: Int = 1 * 60, callback: (PlayerInputResult<String>) -> Unit)
Content copied to clipboard
awaitChatInput
Link copied to clipboard
fun Player.awaitChatInput(question: String = "Type your input in the chat!", timeoutSeconds: Int = 1 * 60, callback: (PlayerInputResult<String>) -> Unit)
Content copied to clipboard