Class MiscUpgrade
java.lang.Object
org.kingdoms.constants.group.upgradable.MiscUpgrade
- All Implemented Interfaces:
KingdomUpgrade,StandardKingdomUpgrade,Upgrade,org.kingdoms.constants.namespace.Namespaced
-
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 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(MessagePlaceholderProvider settings, int level) org.kingdoms.constants.namespace.Namespacestatic org.kingdoms.constants.namespace.NamespacedRegistry<MiscUpgrade> booleanisEnabled(PlaceholderProvider placeholderProvider) voidperformPermissionOperations(MessagePlaceholderProvider 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, evaluateConditions, getDefaultLevel, getMaxLevel, getScaling, getUpgradeCost, isEnabledMethods inherited from interface org.kingdoms.constants.group.upgradable.Upgrade
getConfigName
-
Field Details
-
ANTI_EXPLOSION
-
ANTI_TRAMPLE
-
NEXUS_GUARDS
-
GUARDS
-
INSANITY
-
GLORY
-
CHEST_SIZE
-
MAX_MEMBERS
-
MAX_TURRETS
-
MAX_CLAIMS
-
FLIGHT
-
KEEP_INVENTORY
-
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
-
toString
-
isEnabled
- Specified by:
isEnabledin interfaceKingdomUpgrade- Specified by:
isEnabledin interfaceStandardKingdomUpgrade
-
executeCommands
-
performPermissionOperations
-
removeAllPermissions
-
addAllPermissions
-
getConfig
- Specified by:
getConfigin interfaceStandardKingdomUpgrade
-
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.Namespaced
-