Class BasicNeedsConfig

java.lang.Object
me.fami6xx.rpuniverse.core.basicneeds.BasicNeedsConfig

public class BasicNeedsConfig extends Object
This class represents the configuration for the basic needs of the player in the game. The configuration includes settings for hunger, thirst, poop, and pee.
  • Constructor Details

    • BasicNeedsConfig

      public BasicNeedsConfig(RPUniverse plugin)
      Constructs a new BasicNeedsConfig with the given plugin.
      Parameters:
      plugin - the plugin used to get the configuration
  • Method Details

    • getInterval

      public int getInterval()
      Returns the interval of the basic needs.
      Returns:
      the interval
    • isPreferPermissionsOverModeForEdit

      public boolean isPreferPermissionsOverModeForEdit()
      Returns whether permissions are preferred over mode for edit.
      Returns:
      true if permissions are preferred, false otherwise
    • getNeededModeToEdit

      public PlayerMode getNeededModeToEdit()
      Returns the needed mode to edit.
      Returns:
      the needed mode to edit
    • getRemovedHunger

      public int getRemovedHunger()
      Returns the amount of hunger removed.
      Returns:
      the amount of hunger removed
    • getRemovedThirst

      public int getRemovedThirst()
      Returns the amount of thirst removed.
      Returns:
      the amount of thirst removed
    • getAddedPoop

      public int getAddedPoop()
      Returns the amount of poop added.
      Returns:
      the amount of poop added
    • getAddedPee

      public int getAddedPee()
      Returns the amount of pee added.
      Returns:
      the amount of pee added
    • isEnabled

      public boolean isEnabled()
      Returns whether the basic needs are enabled.
      Returns:
      true if the basic needs are enabled, false otherwise