Class GenesisPointsPluginJobs
java.lang.Object
studio.magemonkey.genesis.pointsystem.GenesisPointsPlugin
studio.magemonkey.genesis.pointsystem.GenesisPointsPluginJobs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetPoints(org.bukkit.OfflinePlayer player) Get the points from an offline playerdoublegivePoints(org.bukkit.OfflinePlayer player, double points) Give points to a playerdoublesetPoints(org.bukkit.OfflinePlayer player, double points) Set the points of a playerdoubletakePoints(org.bukkit.OfflinePlayer player, double points) Take points from a playerbooleanUse double valuesMethods inherited from class studio.magemonkey.genesis.pointsystem.GenesisPointsPlugin
getName, getNicknames, isAvailable, register
-
Constructor Details
-
GenesisPointsPluginJobs
public GenesisPointsPluginJobs()
-
-
Method Details
-
getPoints
public double getPoints(org.bukkit.OfflinePlayer player) Description copied from class:GenesisPointsPluginGet the points from an offline player- Specified by:
getPointsin classGenesisPointsPlugin- 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:GenesisPointsPluginSet the points of a player- Specified by:
setPointsin classGenesisPointsPlugin- Parameters:
player- player to modifypoints- points to set- Returns:
- points to set
-
takePoints
public double takePoints(org.bukkit.OfflinePlayer player, double points) Description copied from class:GenesisPointsPluginTake points from a player- Specified by:
takePointsin classGenesisPointsPlugin- Parameters:
player- the player to modifypoints- points to take- Returns:
- amount taken
-
givePoints
public double givePoints(org.bukkit.OfflinePlayer player, double points) Description copied from class:GenesisPointsPluginGive points to a player- Specified by:
givePointsin classGenesisPointsPlugin- Parameters:
player- player to modifypoints- the amount to give- Returns:
- amount given
-
usesDoubleValues
public boolean usesDoubleValues()Description copied from class:GenesisPointsPluginUse double values- Specified by:
usesDoubleValuesin classGenesisPointsPlugin- Returns:
- true or false
-