Class WSponsor
java.lang.Object
com.olziedev.playerwarps.api.warp.WSponsor
Represents a warp sponsor that can provide basic sponsor data for the warp.
-
Constructor Details
-
WSponsor
public WSponsor()
-
-
Method Details
-
getID
- Returns:
- The ID of this sponsor that has been set in the category configuration file.
-
getPlayerWarp
- Returns:
- The Warp that is using this sponsor slot.
-
getTime
public abstract long getTime()- Returns:
- The time that the sponsor slot will go for in milliseconds.
-
getTimeLeft
public abstract long getTimeLeft()- Returns:
- The time left for this sponsor in milliseconds.
-
isAutomatic
public abstract boolean isAutomatic()- Returns:
- If the sponsor is automatically chosen.
-
getRepeatingTime
public abstract long getRepeatingTime()- Returns:
- The repeating time for scheduling commands.
-
getLastRepeatingTime
public abstract long getLastRepeatingTime()- Returns:
- The last repeating time for scheduling commands.
-