Overview
TheSettingsManager interface provides access to all plugin configuration settings from config.yml. Access it via SuperiorSkyblockAPI.getSettings().
General Settings
The amount of time between auto-calculations that the plugin runs. If set to 0, the task is disabled.Config path:
calc-intervalReturns: Time in ticksThe main command of the plugin. Aliases can be added by adding ”,” after the command name.Config path:
island-commandReturns: The main command nameThe maximum island size.Config path:
max-island-sizeReturns: Maximum size in blocksThe default height islands will generate.Config path:
islands-heightReturns: Height in blocksWhether world borders are enabled for islands or not.Config path:
world-bordersReturns: True if world borders are enabledDatabase Settings
All settings related to the database of the plugin.Config path:
databaseReturns: Database settings interfacegetType()- Database type (SQLite or MySQL)isBackup()- Whether backup is enabledgetAddress()- MySQL addressgetPort()- MySQL portgetDBName()- Database namegetUsername()- MySQL usernamegetPassword()- MySQL passwordgetPrefix()- Table prefixhasSSL()- SSL enabledhasPublicKeyRetrieval()- Public key retrievalgetWaitTimeout()- Wait timeout in millisecondsgetMaxLifetime()- Max lifetime in milliseconds
Default Values
All the default values for new islands that are created.Config path:
default-valuesReturns: DefaultValues settings interfacegetIslandSize()- Default island sizegetBlockLimits()- Map of block limitsgetEntityLimits()- Map of entity limitsgetWarpsLimit()- Default warps limitgetTeamLimit()- Default team limitgetCoopLimit()- Default coops limitgetCropGrowth()- Default crop growth multipliergetSpawnerRates()- Default spawner rates multipliergetMobDrops()- Default mob drops multipliergetBankLimit()- Default bank limitgetGeneratorsMap()- Map of generator rates by dimensiongetRoleLimits()- Map of role limitsgetIslandEffects()- Map of island effects
Island Level & Worth
The formula used to calculate a block’s level when it has a worth defined but no level specified. The formula can contain a placeholder:
{}, which is replaced with the block worth.Config path: block-level-formulaReturns: The formula stringWhether island levels should be rounded or not.Config path:
rounded-island-levelReturns: True if rounding is enabledThe rounding mode used for the island level when rounded-island-level feature is enabled.Config path:
island-level-rounding-modeReturns: The RoundingMode enum valueWhether to automatically track block counts when players place and break blocks.Config path:
auto-blocks-trackingReturns: True if auto tracking is enabledThe sync-worth status of the plugin.Config path:
sync-worthReturns: The sync worth statusWhether island-worth can be negative or not.Config path:
negative-worthReturns: True if negative worth is allowedWhether island-level can be negative or not.Config path:
negative-levelReturns: True if negative level is allowedIsland Top & Sorting
The default island-top sorting type.Config path:
island-top-orderReturns: The sorting type nameWhether the members list shown in island top should include the leader or not.Config path:
island-top-include-leaderReturns: True if leader should be includedGet the way to sort members in the top islands menu.Config path:
island-top-members-sortingReturns: The sorting methodIsland Names
All settings related to island-names.Config path:
island-namesReturns: IslandNames settings interfaceisRequiredForCreation()- Whether a name is requiredgetMaxLength()- Maximum name lengthgetMinLength()- Minimum name lengthgetFilteredNames()- List of forbidden namesisColorSupport()- Whether color codes are supportedisIslandTop()- Whether names show in island topisPreventPlayerNames()- Prevent using player namesisAnnounceChangeToAll()- Announce name changes
Island Roles
All settings related to the island-roles.Config path:
island-rolesReturns: IslandRoles settings interfaceWorlds
All settings related to the worlds of the plugin.Config path:
worldsReturns: Worlds settings interfacegetDefaultWorldDimension()- Default world dimensiongetWorldName()- Overworld world namegetDefaultWorldName()- Default world namegetNormal()- Normal world settingsgetNether()- Nether world settingsgetEnd()- End world settingsgetDimensionConfig(Dimension)- Settings for a dimensiongetDifficulty()- World difficultygetSeaLevelHeight()- Sea level height
Spawn Island
All settings related to the spawn island.Config path:
spawnReturns: Spawn settings interfacegetLocation()- Spawn location stringisProtected()- Whether spawn is protectedgetSettings()- List of enabled flagsgetPermissions()- List of permissionsisWorldBorder()- Whether world border is enabledgetSize()- Spawn island sizeisPlayersDamage()- Whether players take damage
Stacked Blocks
All settings related to the stacked-blocks system of the plugin.Config path:
stacked-blocksReturns: StackedBlocks settings interfaceisEnabled()- Whether stacked blocks are enabledgetCustomName()- Custom hologram namegetDisabledWorlds()- List of disabled worldsgetWhitelisted()- Whitelisted block typesgetLimits()- Map of block stack limitsisAutoCollect()- Whether auto-collect is enabledgetDepositMenu()- Deposit menu settings
Teleportation
Whether to teleport players to their island when they create it or not.Config path:
teleport-on-createReturns: True if enabledWhether to teleport players to their island when they join it or not.Config path:
teleport-on-joinReturns: True if enabledWhether to teleport players to the spawn when they are kicked from their island or not.Config path:
teleport-on-kickReturns: True if enabledWhether to teleport players to the spawn when they leave an island or not.Config path:
teleport-on-leaveReturns: True if enabledWhether visitors on islands should get teleported to spawn when pvp is enabled on the island they were on or not.Config path:
teleport-on-pvp-enableReturns: True if enabledDelay before teleporting to an island warp, in milliseconds. If 0, no delay will be applied.Config path:
warps-warmupReturns: Delay in millisecondsDelay before teleporting to island home, in milliseconds. If 0, no delay will be applied.Config path:
home-warmupReturns: Delay in millisecondsDelay before teleporting to another island, in milliseconds. If 0, no delay will be applied.Config path:
visit-warmupReturns: Delay in millisecondsVoid Teleport
All settings related to the void teleportation.Config path:
void-teleportReturns: VoidTeleport settings interfaceisMembers()- Whether members are teleportedisVisitors()- Whether visitors are teleported
Player Inventory
Get the list of clear actions to perform on island members when their island is disbanded.Config path:
clear-on-disbandReturns: List of clear actionsGet the list of clear actions to perform on players when they accept an invite.Config path:
clear-on-joinReturns: List of clear actionsGet the list of clear actions to perform on players when they are kicked from their island.Config path:
clear-on-kickReturns: List of clear actionsGet the list of clear actions to perform on players when they leave an island.Config path:
clear-on-leaveReturns: List of clear actionsConfirmations
Whether confirmation menu should be opened before banning a player from an island or not.Config path:
ban-confirmReturns: True if confirmation is requiredWhether confirmation menu should be opened before disbanding an island or not.Config path:
disband-confirmReturns: True if confirmation is requiredWhether confirmation menu should be opened before kicking an island member from an island or not.Config path:
kick-confirmReturns: True if confirmation is requiredWhether confirmation menu should be opened before leaving an island or not.Config path:
leave-confirmReturns: True if confirmation is requiredWhether confirmation menu should be opened before transferring an island or not.Config path:
transfer-confirmReturns: True if confirmation is requiredPermissions & Damage
A list of permissions players will have in the islands world, outside of islands.Config path:
world-permissionsReturns: Collection of permission stringsWhether visitors should take damage on islands or not.Config path:
visitors-damageReturns: True if visitors can take damageWhether coop players should take damage on islands or not.Config path:
coop-damageReturns: True if coop players can take damageWhether coop members are enabled.Config path:
coop-membersReturns: True if coop is enabledShould players be able to edit island privileges for other players?Config path:
edit-player-permissionsReturns: True if editing is allowedCommands
Cooldowns of commands for players. Represented by a map with keys as the command labels, and values as pairs containing the cooldown and a bypass permission.Config path:
commands-cooldownReturns: Map of command cooldownsCustom aliases for commands of the plugin. Represented by a map with keys as commands, and values as aliases.Config path:
command-aliasesReturns: Map of command aliasesList of commands that should be disabled within the plugin.Config path:
disabled-commandsReturns: List of disabled command namesList of blocked commands that visitors cannot run on islands.Config path:
blocked-visitors-commandsReturns: List of blocked commandsAmount of commands to be listed in the
/is help and /is admin commands.Config path: commands-per-pageReturns: Number of commands per pageWhether players should receive a help instead of a
INVALID_COMMAND message when using a command that doesn’t exist or not.Config path: help-on-invalid-commandReturns: True if help should be shownWhether players should receive a help instead of a
NO_COMMAND_PERMISSION message when using a command they don’t have permission for or not.Config path: help-on-no-permissionReturns: True if help should be shown