Class BooleanAction

java.lang.Object
rocks.gravili.notquests.paper.structs.actions.Action
rocks.gravili.notquests.paper.structs.actions.BooleanAction

public class BooleanAction extends Action
  • Constructor Details

    • BooleanAction

      public BooleanAction(NotQuests main)
  • Method Details

    • getOperator

      public final String getOperator()
    • setOperator

      public void setOperator(String mathOperator)
    • getVariableName

      public final String getVariableName()
    • setVariableName

      public void setVariableName(String variableName)
    • setNewValueExpression

      public void setNewValueExpression(String newValueExpression)
    • getNewValueExpression

      public final String getNewValueExpression()
    • 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)
    • evaluateExpression

      public final boolean evaluateExpression(QuestPlayer questPlayer)
    • execute

      public void execute(org.bukkit.entity.Player player, Object... objects)
      Specified by:
      execute in class Action
    • getActionDescription

      public String getActionDescription(org.bukkit.entity.Player player, Object... objects)
      Specified by:
      getActionDescription 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
    • deserializeFromSingleLineString

      public void deserializeFromSingleLineString(ArrayList<String> arguments)
      Specified by:
      deserializeFromSingleLineString in class Action