Class PlaceHolder<T>
java.lang.Object
com.bencodez.advancedcore.api.placeholder.PlaceHolder<T>
- Type Parameters:
T- the user type
- Direct Known Subclasses:
CalculatingPlaceholder
Abstract class for placeholders.
-
Constructor Summary
ConstructorsConstructorDescriptionPlaceHolder(String identifier) PlaceHolder(String identifier, boolean useStartsWith) PlaceHolder(String identifier, String noValueReturn) PlaceHolder(String identifier, String noValueReturn, boolean useStartsWith) -
Method Summary
Modifier and TypeMethodDescriptionvoidclearCachePlayer(UUID javaUUID) Clears cache for a player.booleanbooleanbooleanbooleanabstract StringplaceholderRequest(T user, String identifier) setUseCache(boolean usesCache, String identifier) updateDataKey(String key) withDescription(String desc)
-
Constructor Details
-
PlaceHolder
-
PlaceHolder
-
PlaceHolder
-
PlaceHolder
-
-
Method Details
-
clearCachePlayer
Clears cache for a player.- Parameters:
javaUUID- the player UUID
-
hasDescription
public boolean hasDescription() -
isCached
-
isCached
-
matches
-
placeholderRequest
-
setUseCache
-
updateDataKey
-
useStartsWith
-
withDescription
-