Class MiscUpgrade
java.lang.Object
org.kingdoms.constants.group.upgradable.MiscUpgrade
- All Implemented Interfaces:
KingdomUpgrade,StandardKingdomUpgrade,Upgrade,org.kingdoms.constants.namespace.NamespaceContainer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MiscUpgradestatic final MiscUpgradestatic final MiscUpgradestatic final MiscUpgradestatic final MiscUpgradestatic final MiscUpgradestatic final MiscUpgradestatic final MiscUpgradestatic final MiscUpgradestatic final MiscUpgradestatic final MiscUpgradestatic final MiscUpgrade -
Constructor Summary
ConstructorsConstructorDescriptionMiscUpgrade(org.kingdoms.constants.namespace.Namespace namespace, boolean canBeDisabled) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllPermissions(Collection<UUID> players) booleanvoidexecuteCommands(MessageBuilder settings, int level) getCondition(MessageBuilder settings) org.kingdoms.constants.namespace.Namespacestatic org.kingdoms.constants.namespace.NamespaceRegistry<MiscUpgrade>booleanisEnabled(PlaceholderContextProvider placeholderProvider) voidperformPermissionOperations(MessageBuilder settings, int level) static voidvoidremoveAllPermissions(Collection<UUID> players) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kingdoms.constants.group.upgradable.KingdomUpgrade
getScalingMethods inherited from interface org.kingdoms.constants.group.upgradable.StandardKingdomUpgrade
eval, getDefaultLevel, getMaxLevel, getScaling, getUpgradeCost, isEnabled
-
Field Details
-
ANTI_EXPLOSION
-
ANTI_TRAMPLE
-
NEXUS_GUARDS
-
GUARDS
-
INSANITY
-
GLORY
-
CHEST_SIZE
-
MAX_MEMBERS
-
MAX_TURRETS
-
MAX_CLAIMS
-
INVASION_TELEPORTATION
-
INVASIONS
-
-
Constructor Details
-
MiscUpgrade
public MiscUpgrade(org.kingdoms.constants.namespace.Namespace namespace, boolean canBeDisabled)
-
-
Method Details
-
registerAll
public static void registerAll() -
getRegistry
-
canBeDisabled
public boolean canBeDisabled() -
getDataName
- Specified by:
getDataNamein interfaceStandardKingdomUpgrade- Specified by:
getDataNamein interfaceUpgrade
-
getConfig
-
toString
-
isEnabled
- Specified by:
isEnabledin interfaceKingdomUpgrade- Specified by:
isEnabledin interfaceStandardKingdomUpgrade
-
executeCommands
-
performPermissionOperations
-
removeAllPermissions
-
addAllPermissions
-
getCondition
-
getEnabledOption
- Specified by:
getEnabledOptionin interfaceStandardKingdomUpgrade
-
getScalingOption
- Specified by:
getScalingOptionin interfaceStandardKingdomUpgrade
-
getUpgradeCostOption
- Specified by:
getUpgradeCostOptionin interfaceStandardKingdomUpgrade
-
getMaxLevelOption
- Specified by:
getMaxLevelOptionin interfaceStandardKingdomUpgrade
-
getDefaultLevelOption
- Specified by:
getDefaultLevelOptionin interfaceStandardKingdomUpgrade
-
getDisplayName
- Specified by:
getDisplayNamein interfaceUpgrade
-
getNamespace
public org.kingdoms.constants.namespace.Namespace getNamespace()- Specified by:
getNamespacein interfaceorg.kingdoms.constants.namespace.NamespaceContainer
-