getArena

abstract fun getArena(@NotNull prefix: @NotNull String, @NotNull id: @NotNull String): Arena(source)

Gets a single arena from the database by its ID.

Return

the retrieved arena, or `null` if an arena with the specified ID does not exist.

Parameters

tablePrefix

the prefix, if any, to use for the container.

id

the ID of the arena to retrieve.

Throws

if an I/O error occurs while retrieving the arena.