Interface GangInvitation
public interface GangInvitation
Represents an invitation sent to a player to join a gang in the XPrison plugin.
Stores information about who invited whom, to which gang, and when the invitation was sent.
-
Method Summary
Modifier and TypeMethodDescriptiongetGang()
Gets the gang the invitation is associated with.Gets the date and time when the invitation was created.org.bukkit.OfflinePlayer
Gets the player who sent the invitation.org.bukkit.OfflinePlayer
Gets the player who received the invitation.
-
Method Details
-
getGang
Gang getGang()Gets the gang the invitation is associated with.- Returns:
- the
Gang
the invited player is being invited to join
-
getInvitedBy
org.bukkit.OfflinePlayer getInvitedBy()Gets the player who sent the invitation.- Returns:
- the
OfflinePlayer
who sent the invitation
-
getInvitedPlayer
org.bukkit.OfflinePlayer getInvitedPlayer()Gets the player who received the invitation.- Returns:
- the
OfflinePlayer
who was invited
-
getInviteDate
Date getInviteDate()Gets the date and time when the invitation was created.- Returns:
- the
Date
when the invitation was made
-