Class StringCondition
java.lang.Object
rocks.gravili.notquests.paper.structs.conditions.Condition
rocks.gravili.notquests.paper.structs.conditions.StringCondition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheckInternally
(QuestPlayer questPlayer) void
deserializeFromSingleLineString
(ArrayList<String> arguments) getConditionDescription
(org.bukkit.entity.Player player, Object... objects) final String
final String
final String
static void
handleCommands
(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder, ConditionFor conditionFor) void
void
void
setStringOperator
(String stringOperator) void
setVariableName
(String variableName) Methods inherited from class rocks.gravili.notquests.paper.structs.conditions.Condition
check, getCategory, getConditionName, getConditionType, getObjective, getProgressNeeded, getQuest, isNegated, setCategory, setConditionName, setNegated, setObjective, setProgressNeeded, setQuest
-
Constructor Details
-
StringCondition
-
-
Method Details
-
getStringOperator
-
setStringOperator
-
getVariableName
-
setVariableName
-
checkInternally
- Specified by:
checkInternally
in classCondition
- Returns:
- String if the condition is not fulfilled. Empty string if the condition is fulfilled. The String should say the still-required condition.
-
save
-
load
-
deserializeFromSingleLineString
- Specified by:
deserializeFromSingleLineString
in classCondition
-
getConditionDescription
- Specified by:
getConditionDescription
in classCondition
-
handleCommands
public static void handleCommands(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder, ConditionFor conditionFor) -
getString
-