java.lang.Object
rocks.gravili.notquests.spigot.structs.actions.Action
Direct Known Subclasses:
ActionAction, CompleteQuestAction, ConsoleCommandAction, FailQuestAction, GiveItemAction, GiveMoneyAction, GiveQuestAction, GiveQuestPointsAction, GrantPermissionAction, SendMessageAction, SpawnMobAction, StartConversationAction, TriggerCommandAction

public abstract class Action extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getActionType

      public final String getActionType()
    • getActionName

      public final String getActionName()
    • setActionName

      public void setActionName(String actionName)
    • removeActionName

      public void removeActionName()
    • getQuest

      public final Quest getQuest()
    • setQuest

      public void setQuest(Quest quest)
    • getObjective

      public final Objective getObjective()
    • setObjective

      public void setObjective(Objective objective)
    • getActionDescription

      public abstract String getActionDescription()
    • execute

      public abstract void execute(org.bukkit.entity.Player player, Object... objects)
    • save

      public abstract void save(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
    • load

      public abstract void load(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
    • getConditions

      public final ArrayList<Condition> getConditions()
    • addCondition

      public void addCondition(Condition condition, boolean save, org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
    • removeCondition

      public void removeCondition(Condition condition, boolean save, org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
    • clearConditions

      public void clearConditions(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)