awaitBookInputAsString

fun Player.awaitBookInputAsString(timeoutSeconds: Int = 1 * 60, callback: (PlayerInputResult<String>) -> Unit): ItemStack

Opens a book and uses the text the player inserted on all sites as the players' input. In this case, all pages will be flattened to a single string.