Enum PlayerWarpUpdateEvent.Type
java.lang.Object
java.lang.Enum<PlayerWarpUpdateEvent.Type>
com.olziedev.playerwarps.api.events.update.PlayerWarpUpdateEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<PlayerWarpUpdateEvent.Type>
,java.lang.constant.Constable
- Enclosing class:
PlayerWarpUpdateEvent
The list of data that can bee updated in the
WarpPlayerUpdateEvent
event.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis constant is used whenWarp.setBanned(List)
has been called.This constant is used whenWarp.setManagers(List)
has been called.This constant is used whenWarp.setPaid(List)
has been called.This constant is used whenWarp.setRandomSort(long)
has been called.This constant is used whenWarp.setSponsorCooldown(Long, boolean)
has been called.This constant is used whenWarp.setSponsorWarp(String, long, CommandSender)
has been called.This constant is used whenWarp.setWarpCategory(List)
has been called.This constant is used whenWarp.setWarpCost(Double)
has been called.This constant is used whenWarp.setWarpDate(long)
has been called.This constant is used whenWarp.setWarpDescription(String)
has been called.This constant is used whenWRate.setEarnedRateRewards(List)
has been called.This constant is used whenWIcon.setWarpIcon(ItemStack)
has been called.This constant is used whenWRent.setWarpLastRent(Long)
has been called.This constant is used whenWLocation.setWarpLocation(WLocation)
has been called.This constant is used whenWarp.setWarpLocked(boolean)
has been called.This constant is used whenWarp.setWarpName(String)
has been called.This constant is used whenWarp.setWarpPassword(String)
has been called.This constant is used whenWarp.setWarpPlayer(WPlayer)
has been called.This constant is used whenWRate.setWarpRate(UUID, int, String)
has been called.This constant is used whenWVisit.setWarpVisited(List)
has been called.This constant is used whenWVisit.setWarpVisitedBoosted(List)
has been called.This constant is used whenWVisit.setWarpVisits(int, int)
has been called.This constant is used whenWarp.setWhitelisted(List)
has been called.This constant is used whenWarp.setWhitelistEnabled(boolean)
has been called. -
Method Summary
Modifier and TypeMethodDescriptionstatic PlayerWarpUpdateEvent.Type
Returns the enum constant of this type with the specified name.static PlayerWarpUpdateEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
RANDOM_SORT
This constant is used whenWarp.setRandomSort(long)
has been called. -
WARP_DATE
This constant is used whenWarp.setWarpDate(long)
has been called. -
WARP_NAME
This constant is used whenWarp.setWarpName(String)
has been called. -
WARP_PLAYER
This constant is used whenWarp.setWarpPlayer(WPlayer)
has been called. -
MANAGERS
This constant is used whenWarp.setManagers(List)
has been called. -
WARP_DESCRIPTION
This constant is used whenWarp.setWarpDescription(String)
has been called. -
WARP_CATEGORY
This constant is used whenWarp.setWarpCategory(List)
has been called. -
WARP_COST
This constant is used whenWarp.setWarpCost(Double)
has been called. -
PAID
This constant is used whenWarp.setPaid(List)
has been called. -
BANNED
This constant is used whenWarp.setBanned(List)
has been called. -
WHITELISTED
This constant is used whenWarp.setWhitelisted(List)
has been called. -
WHITELISTED_ENABLED
This constant is used whenWarp.setWhitelistEnabled(boolean)
has been called. -
SPONSOR_WARP
This constant is used whenWarp.setSponsorWarp(String, long, CommandSender)
has been called. -
SPONSOR_COOLDOWN
This constant is used whenWarp.setSponsorCooldown(Long, boolean)
has been called. -
WARP_LOCKED
This constant is used whenWarp.setWarpLocked(boolean)
has been called. -
WARP_PASSWORD
This constant is used whenWarp.setWarpPassword(String)
has been called. -
WARP_LOCATION
This constant is used whenWLocation.setWarpLocation(WLocation)
has been called. -
WARP_RATE
This constant is used whenWRate.setWarpRate(UUID, int, String)
has been called. -
WARP_EARNED_RATE_REWARDS
This constant is used whenWRate.setEarnedRateRewards(List)
has been called. -
WARP_LAST_RENT
This constant is used whenWRent.setWarpLastRent(Long)
has been called. -
WARP_VISITS
This constant is used whenWVisit.setWarpVisits(int, int)
has been called. -
WARP_VISITED_BOOSTED
This constant is used whenWVisit.setWarpVisitedBoosted(List)
has been called. -
WARP_VISITED
This constant is used whenWVisit.setWarpVisited(List)
has been called. -
WARP_ICON
This constant is used whenWIcon.setWarpIcon(ItemStack)
has been called.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-