[Request] Random Legendary Plugin

Try this:

And then some code (untested):

val pokemonNames = listOf(
  "Arktos",
  "Mewtu",
  "Lugia"
)

registerCommand("giverandomlegendary") {
  action(onlyPlayers = true) {
    val randomPoke = pokemonNames.randomElement
    val command = "pokegive ${player.name} $randomPoke"
    Server.console.executeCommand(command)
  }
}