| Modifier and Type | Method and Description |
|---|---|
void |
addDaysLeft(int days) |
int |
getDaysLeft() |
boolean |
getGuiDisabled() |
boolean |
getInfiniteDays() |
IPlayer |
getOwner() |
boolean |
hasOwner() |
boolean |
isFollowing() |
void |
setGuiDisabled(boolean disabled) |
void |
setInfiniteDays(boolean infinite) |
void |
setIsFollowing(boolean following) |
void |
setOwner(IPlayer player) |
void setOwner(IPlayer player)
player - Player who is set as the owner. If null given everything resetsIPlayer getOwner()
boolean hasOwner()
boolean isFollowing()
void setIsFollowing(boolean following)
int getDaysLeft()
void addDaysLeft(int days)
days - The days you want to add to the days remainingboolean getInfiniteDays()
void setInfiniteDays(boolean infinite)
infinite - Sets whether the days hired are infiniteboolean getGuiDisabled()
void setGuiDisabled(boolean disabled)
disabled - Set the gui to be disabled or not