Constructors
Link copied to clipboard
open fun Guild(id: UUID, name: String, prefix: String, motd: String, guildMaster: GuildMember, home: GuildHome, guildSkull: GuildSkull, status: Guild.Status, tier: GuildTier, guildScore: GuildScore, balance: Double, members: List<GuildMember>, invitedMembers: List<UUID>, allies: List<UUID>, pendingAllies: List<UUID>, codes: List<GuildCode>, vaults: List<String>, lastDefended: Long)
Types
Functions
Link copied to clipboard
Add player to a guild
Link copied to clipboard
Invite a member by guild code
Link copied to clipboard
Adds a pending ally's id to the list
Link copied to clipboard
Link copied to clipboard
Create a simple method to check if invited
Link copied to clipboard
Checks if they can make another code
Link copied to clipboard
Get a list of active codes
Link copied to clipboard
Get all players as a list
Link copied to clipboard
Get a member in the guild
Link copied to clipboard
Get all online members as players
Link copied to clipboard
Get all online members as UUID
Link copied to clipboard
Returns amount of online members
Link copied to clipboard
Get all the redeemers of a code
Link copied to clipboard
Check if a guild has a code
Link copied to clipboard
Check if a guild has pending allies
Link copied to clipboard
Invites a member to this guild.
Link copied to clipboard
Check if an ally request is pending from another guild
Link copied to clipboard
Determine if a player has role permission
Link copied to clipboard
Removes an ally's id from the list
Link copied to clipboard
Remove a code from a Guild if it exists
Link copied to clipboard
Removes an invited member
Link copied to clipboard
Remove a member by their GuildMember object
Remove a member using it's OfflinePlayer object
Link copied to clipboard
Removes a pending ally's id from the list
Link copied to clipboard
Send a message to the guild
Link copied to clipboard
Simple method to create a new guild home
Link copied to clipboard
Toggle the status of a guild
Link copied to clipboard
open fun transferGuild(current: OfflinePlayer, newPlayer: OfflinePlayer, handler: GuildHandler, permission: Permission)
Transfer the guild from one user to another
Link copied to clipboard
Administration method to move a guild to a new user
Link copied to clipboard