Class RunCommandObjective
java.lang.Object
rocks.gravili.notquests.spigot.structs.objectives.Objective
rocks.gravili.notquests.spigot.structs.objectives.RunCommandObjective
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
final String
getObjectiveTaskDescription
(String eventualColor, org.bukkit.entity.Player player) static void
handleCommands
(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> addObjectiveBuilder) final boolean
final boolean
void
void
onObjectiveUnlock
(ActiveObjective activeObjective) void
void
setCancelCommand
(boolean cancelCommand) void
setCommandToRun
(String commandToRun) void
setIgnoreCase
(boolean ignoreCase) Methods inherited from class rocks.gravili.notquests.spigot.structs.objectives.Objective
addCondition, addReward, clearConditions, clearRewards, getCompletionArmorStandUUID, getCompletionNPCID, getConditions, getObjectiveDescription, getObjectiveDescription, getObjectiveDisplayName, getObjectiveFinalName, getObjectiveID, getProgressNeeded, getQuest, getRewards, removeCondition, removeObjectiveDescription, removeObjectiveDisplayName, removeReward, setCompletionArmorStandUUID, setCompletionNPCID, setObjectiveDescription, setObjectiveDisplayName, setObjectiveID, setProgressNeeded, setQuest
-
Constructor Details
-
RunCommandObjective
-
-
Method Details
-
handleCommands
public static void handleCommands(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> addObjectiveBuilder) -
setCommandToRun
-
setIgnoreCase
public void setIgnoreCase(boolean ignoreCase) -
setCancelCommand
public void setCancelCommand(boolean cancelCommand) -
getObjectiveTaskDescription
- Specified by:
getObjectiveTaskDescription
in classObjective
-
save
-
load
-
onObjectiveUnlock
- Specified by:
onObjectiveUnlock
in classObjective
-
getCommandToRun
-
getAmountToRun
public final long getAmountToRun() -
isIgnoreCase
public final boolean isIgnoreCase() -
isCancelCommand
public final boolean isCancelCommand()
-