Class GenesisPointsPluginGadgetsMenu

java.lang.Object
studio.magemonkey.genesis.pointsystem.GenesisPointsPlugin
studio.magemonkey.genesis.pointsystem.GenesisPointsPluginGadgetsMenu

public class GenesisPointsPluginGadgetsMenu extends GenesisPointsPlugin
  • Constructor Details

    • GenesisPointsPluginGadgetsMenu

      public GenesisPointsPluginGadgetsMenu()
  • Method Details

    • getPoints

      public double getPoints(org.bukkit.OfflinePlayer player)
      Description copied from class: GenesisPointsPlugin
      Get the points from an offline player
      Specified by:
      getPoints in class GenesisPointsPlugin
      Parameters:
      player - player to get points from
      Returns:
      points of player
    • setPoints

      public double setPoints(org.bukkit.OfflinePlayer player, double points)
      Description copied from class: GenesisPointsPlugin
      Set the points of a player
      Specified by:
      setPoints in class GenesisPointsPlugin
      Parameters:
      player - player to modify
      points - points to set
      Returns:
      points to set
    • takePoints

      public double takePoints(org.bukkit.OfflinePlayer player, double points)
      Description copied from class: GenesisPointsPlugin
      Take points from a player
      Specified by:
      takePoints in class GenesisPointsPlugin
      Parameters:
      player - the player to modify
      points - points to take
      Returns:
      amount taken
    • givePoints

      public double givePoints(org.bukkit.OfflinePlayer player, double points)
      Description copied from class: GenesisPointsPlugin
      Give points to a player
      Specified by:
      givePoints in class GenesisPointsPlugin
      Parameters:
      player - player to modify
      points - the amount to give
      Returns:
      amount given
    • usesDoubleValues

      public boolean usesDoubleValues()
      Description copied from class: GenesisPointsPlugin
      Use double values
      Specified by:
      usesDoubleValues in class GenesisPointsPlugin
      Returns:
      true or false