java.lang.Object
rocks.gravili.notquests.spigot.managers.registering.TriggerManager

public class TriggerManager extends Object
  • Constructor Details

    • TriggerManager

      public TriggerManager(NotQuests main)
  • Method Details

    • registerDefaultTriggers

      public void registerDefaultTriggers()
    • registerTrigger

      public void registerTrigger(String identifier, Class<? extends Trigger> trigger)
    • getTriggerClass

      public final Class<? extends Trigger> getTriggerClass(String type)
    • getTriggerType

      public final String getTriggerType(Class<? extends Trigger> trigger)
    • getTriggersAndIdentifiers

      public final HashMap<String,Class<? extends Trigger>> getTriggersAndIdentifiers()
    • getTriggers

      public final Collection<Class<? extends Trigger>> getTriggers()
    • getTriggerIdentifiers

      public final Collection<String> getTriggerIdentifiers()
    • addTrigger

      public void addTrigger(Trigger trigger, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context)