Class GenesisConditionTypeServerpinging
java.lang.Object
studio.magemonkey.genesis.core.conditions.GenesisConditionType
studio.magemonkey.genesis.core.conditions.GenesisConditionTypeNumber
studio.magemonkey.genesis.core.conditions.GenesisConditionTypeServerpinging
-
Field Summary
Fields inherited from class studio.magemonkey.genesis.core.conditions.GenesisConditionType
EXP, GROUP, HANDITEM, HEALTH, HUNGER, ITEM, LIGHTLEVEL, LOCATIONX, LOCATIONY, LOCATIONZ, MONEY, PERMISSION, PLACEHOLDERCONTAINS, PLACEHOLDERMATCH, PLACEHOLDERNUMBER, POINTS, REALHOUR, REALMILLISECOND, REALMINUTE, REALMONTH, REALMONTHDAY, REALSECOND, REALWEEK, REALWEEKDAY, REALYEAR, SERVERPINGING, SHOPPAGE, TIME, WEATHER, WORLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]booleanvoiddoublegetNumber(GenesisBuy shopItem, GenesisShopHolder holder, org.bukkit.entity.Player p) booleanmeetsCondition(GenesisShopHolder holder, GenesisBuy shopItem, org.bukkit.entity.Player p, String conditiontype, String condition) String[]Methods inherited from class studio.magemonkey.genesis.core.conditions.GenesisConditionType
detectType, getNames, isType, loadTypes, name, register, registerType, values
-
Constructor Details
-
GenesisConditionTypeServerpinging
public GenesisConditionTypeServerpinging()
-
-
Method Details
-
meetsCondition
public boolean meetsCondition(GenesisShopHolder holder, GenesisBuy shopItem, org.bukkit.entity.Player p, String conditiontype, String condition) - Overrides:
meetsConditionin classGenesisConditionTypeNumber
-
getNumber
- Specified by:
getNumberin classGenesisConditionTypeNumber
-
dependsOnPlayer
public boolean dependsOnPlayer()- Specified by:
dependsOnPlayerin classGenesisConditionType
-
createNames
- Specified by:
createNamesin classGenesisConditionType
-
showStructure
- Overrides:
showStructurein classGenesisConditionTypeNumber
-
enableType
public void enableType()- Specified by:
enableTypein classGenesisConditionType
-