java.lang.Object
rocks.gravili.notquests.paper.structs.variables.Variable<T>
Direct Known Subclasses:
ActiveQuestsVariable, CompletedQuestsVariable, MoneyVariable, PermissionVariable, PlaceholderAPINumberVariable, PlaceholderAPIStringVariable, PlayerCurrentWorldVariable, PlayerExperienceLevelVariable, PlayerExperienceVariable, PlayerNameVariable, QuestPointsVariable, TownyNationNameVariable, TownyNationTownCountVariable, TownyTownPlotCountVariable, TownyTownResidentCountVariable, UltimateClansClanLevelVariable

public abstract class Variable<T> extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getVariableDataType

      public final VariableDataType getVariableDataType()
    • setCanSetValue

      protected void setCanSetValue(boolean canSetValue)
    • isCanSetValue

      public final boolean isCanSetValue()
    • addRequiredString

      protected void addRequiredString(cloud.commandframework.arguments.standard.StringArgument<org.bukkit.command.CommandSender> stringArument)
    • getRequiredStrings

      public final ArrayList<cloud.commandframework.arguments.standard.StringArgument<org.bukkit.command.CommandSender>> getRequiredStrings()
    • getRequiredStringValue

      protected final String getRequiredStringValue(String key)
    • getValue

      public abstract T getValue(org.bukkit.entity.Player player, Object... objects)
    • setValue

      public abstract boolean setValue(T newValue, org.bukkit.entity.Player player, Object... objects)
    • getPossibleValues

      public abstract List<String> getPossibleValues(org.bukkit.entity.Player player, Object... objects)
    • getVariableType

      public final String getVariableType()
    • getPlural

      public abstract String getPlural()
    • getSingular

      public abstract String getSingular()
    • setAdditionalStringArguments

      public void setAdditionalStringArguments(HashMap<String,String> additionalStringArguments)