Skip to content

DialogPlayerNameInput

data class DialogPlayerNameInput(val name: String) : IncomingGamePacket()
Example
on_input<DialogPlayerNameInput> { player ->
val other = World.findPlayer(name) ?: return@on_input player.message("$name is not online.")
player.teleport(other.tile4)
}
val name: String