Class ShipsConfig

java.lang.Object
org.ships.config.configuration.ShipsConfig
All Implemented Interfaces:
Config, Config.KnownNodes

public class ShipsConfig extends Object implements Config.KnownNodes
  • Field Details

    • ADVANCED_MOVEMENT

      protected final ObjectDedicatedNode<BasicMovement,org.core.config.ConfigurationNode.KnownParser.SingleKnown<BasicMovement>> ADVANCED_MOVEMENT
    • ADVANCED_BLOCKFINDER

      protected final ObjectDedicatedNode<BasicBlockFinder,org.core.config.ConfigurationNode.KnownParser.SingleKnown<BasicBlockFinder>> ADVANCED_BLOCKFINDER
    • ADVANCED_TRACK_LIMIT

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> ADVANCED_TRACK_LIMIT
    • ADVANCED_MOVEMENT_STACK_LIMIT

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> ADVANCED_MOVEMENT_STACK_LIMIT
    • ADVANCED_MOVEMENT_STACK_DELAY

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> ADVANCED_MOVEMENT_STACK_DELAY
    • ADVANCED_MOVEMENT_STACK_DELAYUNIT

      protected final ObjectDedicatedNode<org.core.schedule.unit.TimeUnit,org.core.config.ConfigurationNode.KnownParser.SingleKnown<org.core.schedule.unit.TimeUnit>> ADVANCED_MOVEMENT_STACK_DELAYUNIT
    • ADVANCED_BLOCKFINDER_STACK_DELAY

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> ADVANCED_BLOCKFINDER_STACK_DELAY
    • ADVANCED_BLOCKFINDER_STACK_DELAYUNIT

      protected final ObjectDedicatedNode<org.core.schedule.unit.TimeUnit,org.core.config.ConfigurationNode.KnownParser.SingleKnown<org.core.schedule.unit.TimeUnit>> ADVANCED_BLOCKFINDER_STACK_DELAYUNIT
    • ADVANCED_BLOCKFINDER_STACK_LIMIT

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> ADVANCED_BLOCKFINDER_STACK_LIMIT
    • ADVANCED_ENTITYFINDER_STACK_LIMIT

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> ADVANCED_ENTITYFINDER_STACK_LIMIT
    • EOT_DELAY

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> EOT_DELAY
    • EOT_DELAY_UNIT

      protected final ObjectDedicatedNode<org.core.schedule.unit.TimeUnit,org.core.config.ConfigurationNode.KnownParser.SingleKnown<org.core.schedule.unit.TimeUnit>> EOT_DELAY_UNIT
    • EOT_SPEED

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> EOT_SPEED
    • EOT_ENABLED

      protected final RawDedicatedNode<Boolean,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Boolean>> EOT_ENABLED
    • FALL_DELAY

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> FALL_DELAY
    • FALL_DELAY_UNIT

      protected final ObjectDedicatedNode<org.core.schedule.unit.TimeUnit,org.core.config.ConfigurationNode.KnownParser.SingleKnown<org.core.schedule.unit.TimeUnit>> FALL_DELAY_UNIT
    • FALL_SPEED

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> FALL_SPEED
    • FALL_ENABLED

      protected final RawDedicatedNode<Boolean,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Boolean>> FALL_ENABLED
    • LICENCE_SIGN_TEXT_4TH

      protected final ObjectDedicatedNode<String,org.core.config.ConfigurationNode.KnownParser.SingleKnown<String>> LICENCE_SIGN_TEXT_4TH
    • VISIBLE_BOSS_BAR

      protected final RawDedicatedNode<Boolean,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Boolean>> VISIBLE_BOSS_BAR
    • STRUCTURE_UPDATE_CLICK

      protected final RawDedicatedNode<Boolean,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Boolean>> STRUCTURE_UPDATE_CLICK
    • MOVEMENT_REQUIREMENTS_CHECK_MAX_BLOCK_TYPE

      protected final RawDedicatedNode<Boolean,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Boolean>> MOVEMENT_REQUIREMENTS_CHECK_MAX_BLOCK_TYPE
    • UPDATE_ENABLED

      protected final RawDedicatedNode<Boolean,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Boolean>> UPDATE_ENABLED
    • DISABLED_WORLDS

      protected final CollectionDedicatedNode<org.core.world.WorldExtent,Set<org.core.world.WorldExtent>,org.core.config.ConfigurationNode.KnownParser.CollectionKnown<org.core.world.WorldExtent>> DISABLED_WORLDS
    • LOGIN_COMMAND

      protected final ObjectDedicatedNode<String,org.core.config.ConfigurationNode.KnownParser.SingleKnown<String>> LOGIN_COMMAND
    • SIGN_MOVE_SPEED

      protected final RawDedicatedNode<Integer,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Integer>> SIGN_MOVE_SPEED
    • STRUCTURE_PREVENT_EXPLOSION

      protected final RawDedicatedNode<Boolean,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Boolean>> STRUCTURE_PREVENT_EXPLOSION
    • EVENT_LOAD_FAIL_DELETE

      protected final RawDedicatedNode<Boolean,org.core.config.ConfigurationNode.KnownParser.SingleKnown<Boolean>> EVENT_LOAD_FAIL_DELETE
    • file

      protected org.core.config.ConfigurationStream.ConfigurationFile file
  • Constructor Details

    • ShipsConfig

      public ShipsConfig()
  • Method Details

    • willDeleteFilesIfFailedToLoad

      public boolean willDeleteFilesIfFailedToLoad()
    • getDisabledWorlds

      public Set<org.core.world.WorldExtent> getDisabledWorlds()
    • isPreventingExplosions

      public boolean isPreventingExplosions()
    • isUpdateEnabled

      public boolean isUpdateEnabled()
    • isFallingEnabled

      public boolean isFallingEnabled()
    • getFallingDelayUnit

      public org.core.schedule.unit.TimeUnit getFallingDelayUnit()
    • getDefaultMoveSpeed

      public int getDefaultMoveSpeed()
    • getFallingDelay

      public int getFallingDelay()
    • getFallingSpeed

      public int getFallingSpeed()
    • isEOTEnabled

      public boolean isEOTEnabled()
    • isMovementRequirementsCheckMaxBlockType

      public boolean isMovementRequirementsCheckMaxBlockType()
    • getEOTDelayUnit

      public org.core.schedule.unit.TimeUnit getEOTDelayUnit()
    • getEOTDelay

      public int getEOTDelay()
    • getEOTSpeed

      public int getEOTSpeed()
    • getEntityTrackingLimit

      public int getEntityTrackingLimit()
    • getDefaultFinderStackDelay

      public int getDefaultFinderStackDelay()
    • getDefaultFinderStackDelayUnit

      public org.core.schedule.unit.TimeUnit getDefaultFinderStackDelayUnit()
    • getDefaultMovementStackDelayUnit

      public org.core.schedule.unit.TimeUnit getDefaultMovementStackDelayUnit()
    • isStructureClickUpdating

      public boolean isStructureClickUpdating()
    • getDefaultMovementStackLimit

      public int getDefaultMovementStackLimit()
    • getDefaultFinderStackLimit

      public int getDefaultFinderStackLimit()
    • getDefaultMovementStackDelay

      public int getDefaultMovementStackDelay()
    • getDefaultLoginCommand

      public Optional<String> getDefaultLoginCommand()
    • getDefaultFinder

      public BasicBlockFinder getDefaultFinder()
    • getDefaultMovement

      public BasicMovement getDefaultMovement()
    • isBossBarVisible

      public boolean isBossBarVisible()
    • getDefaultTrackSize

      public int getDefaultTrackSize()
    • getTextOnLicenceForthLine

      @Deprecated(forRemoval=true) public Optional<String> getTextOnLicenceForthLine()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getFile

      public org.core.config.ConfigurationStream.ConfigurationFile getFile()
      Specified by:
      getFile in interface Config
    • recreateFile

      public void recreateFile()
      Specified by:
      recreateFile in interface Config
    • getNodes

      public Set<DedicatedNode<?,?,? extends org.core.config.ConfigurationNode.KnownParser<?,?>>> getNodes()
      Specified by:
      getNodes in interface Config.KnownNodes