getGuild

fun getGuild(player: OfflinePlayer): Guild?(source)

Get the guild of a player.

Return

the guild that the player is in, or null if the player is not in a guild

Parameters

player

: the player whose guild you want to retrieve


fun getGuild(uuid: UUID): Guild?(source)

Get a guild by its UUID.

Return

the guild with the given UUID, or null if no such guild exists

Parameters

uuid

: the UUID of the guild


fun getGuild(name: String): Guild?(source)

Get a guild by its name.

Return

the guild with the given name, or null if no such guild exists

Parameters

name

: the name of the guild