java.lang.Object
rocks.gravili.notquests.spigot.structs.triggers.Trigger
Direct Known Subclasses:
BeginTrigger, CompleteTrigger, DeathTrigger, DisconnectTrigger, FailTrigger, NPCDeathTrigger, WorldEnterTrigger, WorldLeaveTrigger

public abstract class Trigger extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • setQuest

      public void setQuest(Quest quest)
    • setTriggerID

      public void setTriggerID(int triggerID)
    • setAction

      public void setAction(Action action)
    • setApplyOn

      public void setApplyOn(int applyOn)
    • setWorldName

      public void setWorldName(String worldName)
    • setAmountNeeded

      public void setAmountNeeded(long amountNeeded)
    • getQuest

      public final Quest getQuest()
    • getTriggerID

      public final int getTriggerID()
    • getTriggerType

      public final String getTriggerType()
    • getWorldName

      public final String getWorldName()
    • getTriggerAction

      public final Action getTriggerAction()
    • getApplyOn

      public final int getApplyOn()
    • getAmountNeeded

      public final long getAmountNeeded()
    • trigger

      public void trigger(ActiveQuest activeQuest)
    • 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)
    • getTriggerDescription

      public abstract String getTriggerDescription()