Class GiveQuestAction

java.lang.Object
rocks.gravili.notquests.spigot.structs.actions.Action
rocks.gravili.notquests.spigot.structs.actions.GiveQuestAction

public class GiveQuestAction extends Action
  • Constructor Details

    • GiveQuestAction

      public GiveQuestAction(NotQuests main)
  • 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)
    • getQuestToGiveName

      public final String getQuestToGiveName()
    • setQuestToGiveName

      public void setQuestToGiveName(String questName)
    • isForceGive

      public final boolean isForceGive()
    • setForceGive

      public void setForceGive(boolean forceGive)
    • 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
    • getActionDescription

      public String getActionDescription()
      Specified by:
      getActionDescription in class Action