GuildMember

class GuildMember(val uuid: UUID, var role: GuildRole)(source)

A class representing a member of a guild.

Constructors

Link copied to clipboard
fun GuildMember(uuid: UUID, role: GuildRole)

Creates an instance of GuildMember.

Properties

Link copied to clipboard
val asOfflinePlayer: OfflinePlayer

Gets the member's Bukkit OfflinePlayer object.

Link copied to clipboard
val asPlayer: Player?

Gets the member's Bukkit Player object if they are currently online, otherwise returns null.

Link copied to clipboard

Gets a boolean indicating whether the member is currently online or not.

Link copied to clipboard
var joinDate: Long = 0

A Long representing the timestamp of the date the member joined the guild.

Link copied to clipboard
var lastLogin: Long = 0

A Long representing the timestamp of the last time the member logged in.

Link copied to clipboard
val name: String?

Gets the name of the member if available.

Link copied to clipboard

The role of the member as a GuildRole object.

Link copied to clipboard
val uuid: UUID

The unique identifier of the member as a UUID object.