checkAlreadyExist

fun checkAlreadyExist(wrapper: WorldGuardWrapper, guild: Guild): Boolean(source)

Returns a boolean value indicating if a claim with the same name as the given guild already exists.

Return

true if a claim with the same name already exists, false otherwise.

Parameters

wrapper

the WorldGuardWrapper instance to use for checking.

guild

the Guild instance representing the guild.


fun checkAlreadyExist(wrapper: WorldGuardWrapper, player: Player, name: String): Boolean(source)

Returns a boolean value indicating if a claim with the given name already exists in the player's world.

Return

true if a claim with the given name already exists, false otherwise.

Parameters

wrapper

the WorldGuardWrapper instance to use for checking.

player

the Player instance representing the player.

name

the name of the claim to check.