Class OfflinePlayerClassInfo
java.lang.Object
ch.njol.skript.classes.ClassInfo<org.bukkit.OfflinePlayer>
org.skriptlang.skript.bukkit.types.OfflinePlayerClassInfo
- All Implemented Interfaces:
Debuggable
-
Nested Class Summary
Nested classes/interfaces inherited from class ClassInfo
ClassInfo.PropertyDocs -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisValidInput(String input) static org.bukkit.OfflinePlayerparseValidated(String input) Parses an input that has already been validated throughisValidInput(String).Methods inherited from class ClassInfo
after, after, before, before, changer, clone, cloner, defaultExpression, description, documentationId, examples, getAllProperties, getC, getChanger, getCloner, getCodeName, getDefaultExpression, getDescription, getDocName, getDocumentationID, getExamples, getName, getParser, getPropertyDocumentation, getPropertyInfo, getRequiredPlugins, getSerializeAs, getSerializer, getSince, getSupplier, getUsage, getUserInputPatterns, hasDocs, hasProperty, isValidCodeName, matchesUserInput, name, parser, property, requiredPlugins, serializeAs, serializer, since, supplier, supplier, toString, toString, toString, usage, user
-
Constructor Details
-
OfflinePlayerClassInfo
public OfflinePlayerClassInfo()
-
-
Method Details
-
isValidInput
- Parameters:
input- Input to validate.- Returns:
- Whether Skript can attempt to interpret
inputas anOfflinePlayer.
-
parseValidated
Parses an input that has already been validated throughisValidInput(String). This method will always return a result.- Parameters:
input- Input to parse.- Returns:
- An OfflinePlayer.
-