public class FailQuestAction
extends Action
-
Field Summary
Fields inherited from class rocks.gravili.notquests.spigot.structs.actions.Action
main
-
Constructor Summary
Constructors
-
Method Summary
void
static void
handleCommands(NotQuests main,
cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager,
cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder,
ActionFor rewardFor)
void
load(org.bukkit.configuration.file.FileConfiguration configuration,
String initialPath)
void
save(org.bukkit.configuration.file.FileConfiguration configuration,
String initialPath)
void
Methods inherited from class rocks.gravili.notquests.spigot.structs.actions.Action
addCondition, clearConditions, getActionName, getActionType, getConditions, getObjective, getQuest, removeActionName, removeCondition, setActionName, setObjective, setQuest
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
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> builder,
ActionFor rewardFor)
-
getQuestToFailName
public final String getQuestToFailName()
-
setQuestToFailName
public void setQuestToFailName(String questName)
-
execute
public void execute(org.bukkit.entity.Player player,
Object... objects)
- Specified by:
execute
in class Action
-
save
public void save(org.bukkit.configuration.file.FileConfiguration configuration,
String initialPath)
- Specified by:
save
in class Action
-
load
public void load(org.bukkit.configuration.file.FileConfiguration configuration,
String initialPath)
- Specified by:
load
in class Action
-