Skip to content

Commit

Permalink
Cleaned up some config settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jun 3, 2018
1 parent 74fa473 commit e69971d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 171 deletions.
173 changes: 2 additions & 171 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ general:
# balance at the start of an island.
starting-money: 10.0

# Use the control panel as the default display for /island
# /island will always create an island if one does not exist
# If the control panel is not used, then /island will teleport the player home
# Players can change this setting using /island cp on or /island cp off
# Changing this setting will only apply to new players.
use-control-panel: true

### Purge-related Settings ###
purge:
# Only islands below this level will be removed if they are abandoned and admins issue the purge command
Expand Down Expand Up @@ -170,86 +163,6 @@ world:
end:
generate: true
islands: true

### Entities-related Settings ###
entities:
# Sets the limit for number of entities that can spawn in a chunk in this world.
# Note: this does not limit the number of them, just how many spawn naturally.
# Note: If set to a negative number the world will use the server-wide spawn limit instead.
spawn-per-chunk:
# Limit monsters spawn
monsters: 100
# Limits animals spawn
animals: 15
# Limits water animals (Squid) spawn
water-animals: 15

# General entity limiting
# Use this section to limit how many entities can be added to an island.
# 0 means the item will be blocked from placement completely.
# Uncomment to set the limit. The numbers are just suggested values.
# The limit is per-world, so a hopper limit of 30 means up to 30 in the overworld and
# up to 30 in the nether.
limits:
# Mobs, animals and other living entities
#BAT: 10
#BLAZE: 10
#BOAT: 10
#CAVE_SPIDER: 10
#CHICKEN: 10
#COW: 10
#CREEPER: 10
#DONKEY: 10
#ENDERMAN: 10
#HORSE: 10
#HUSK: 10
#IRON_GOLEM: 10
#LLAMA: 10
#MAGMA_CUBE: 10
#MULE: 10
#MUSHROOM_COW: 10
#OCELOT: 10
#PIG: 10
#PIG_ZOMBIE: 10
#POLAR_BEAR: 10
#RABBIT: 10
#SHEEP: 10
#SKELETON: 10
#SKELETON_HORSE: 10
#SLIME: 10
#SNOWMAN: 10
#SPIDER: 10
#SQUID: 10
#STRAY: 10
#WITCH: 10
#WITHER: 10
#WITHER_SKELETON: 10
#WOLF: 10
#ZOMBIE: 10
#ZOMBIE_HORSE: 10
#ZOMBIE_VILLAGER: 10
# These are the ONLY blocks that can be limited (because they are entities).
#BANNER: 20
#ITEM_FRAME: 30
#FURNACE: 10
#CHEST: 50
#TRAPPED_CHEST: 50
#ENDER_CHEST: 1
#JUKEBOX: 5
#DISPENSER: 5
#DROPPER: 5
#SIGN: 10
#MOB_SPAWNER: 10
#NOTE_BLOCK: 5
#ENCHANTMENT_TABLE: 5
#BEACON: 12
#SKULL: 50
#DAYLIGHT_DETECTOR: 10
HOPPER: 30
#REDSTONE_COMPARATOR: 30
#FLOWER_POT: 20
#PAINTING: 5
#ARMOR_STAND: 5

# Disable redstone operation on islands unless a team member is online.
# This may reduce lag but it can cause problems with visitors needing to use a redstone system.
Expand Down Expand Up @@ -282,13 +195,6 @@ island:
# Permission size cannot be less than the default below.
max-team-size: 4

# Ranks for players
# Pre-defined ranks are:
# Owner (1000), Member (700), Visitor (0) and Banned (-1)
# Rank names should be references to locale settings and must be in quotes
# like "ranks.coop".
"ranks.coop": 100

# Default maximum number of homes a player can have. Min = 1
# Accessed via sethome <number> or go <number>
# Use this permission to set for specific user groups: askyblock.island.maxhomes.<number>
Expand Down Expand Up @@ -385,34 +291,7 @@ island:

# Have player's respawn on their island if they die
respawn-on-island: false

# Only allow the island leader to coop players.
# Island members wont be able to coop other players.
only-leader-can-coop: false

# Island and Team Chat
chat:
# Team Chat
# The prefix [Team Chat] that goes in front of team chats is in the locale files
team:
# This enables player to set is so their chat goes to their team mates only
# using the /island teamchat command.
use: true

# Log all messages sent in TeamChats to console.
log: true

# Set this to true will include trust players in the TeamChat.
include-trust: true

# Set this to true will include coop players in the TeamChat.
include-coop: false

# TODO
island:
use: true
log: true


# Ask the player to confirm the command he is using by typing it again.
# The "wait" value is the number of seconds to wait for confirmation.
require-confirmation:
Expand Down Expand Up @@ -489,58 +368,10 @@ protection:

# PVP cooldown in seconds. Players cannot toggle PVP off and on until this timeout
toggle-pvp-cooldown: 60

# TODO
flags: []

### Acid Settings ###
# Originally designed for AcidIsland, but can be used for BSkyBlock as well.
acid:
# Ops receive damage from acid (Set to true if you want Ops to play properly)
damage-op: false

# Damage chickens in acid - true or false - chickens tend to go swimming...
damage-chickens: false

damage:
# Water is acid
acid:
# Acid damage to player per second by being in acid if they have no armor on.
# A fully health player has 20 health points. Players will regen some health
# so the default will give players about 3 seconds to get out the acid
# 0 = no damage, 10 = default damage, 20 = instant death
player: 0

# Damage that monsters will experience in acid.
monster: 0

# Damage that animals will experience in acid.
animal: 0

# Destroy items in water after this many seconds. Timing is variable and may occur
# up to 2x this time. If 0, items will not be removed. Acid damage does not need to
# be on for this setting to work. i.e., it'll work with water too.
# Items fizz when they are destroyed.
item: 0

# Damage that rain does.
rain: 0

# Damage type to apply in addition to acid damage
# Types can be : SLOW, SLOW_DIGGING, CONFUSION, BLINDNESS, HUNGER, WEAKNESS and POISON
# If you just want these to act, then make the acid damage 0 above
# Note - these are potion effects and so can be cured by milk
effects:
#- confusion

# Armor protection
protection:
# Protect players from acid rain if they have a helmet on
helmet: false

# Protect players from all acid if they have a full set of armor on
full-armor: false

### Schematics Settings ###
schematics:
# These are the default settings applied to the schematics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,8 @@ protected AbstractDatabaseHandler(BSkyBlock plugin, Class<T> type, DatabaseConne
*/
public abstract boolean objectExists(String key);

/**
* Closes the database
*/
public abstract void close();
}

0 comments on commit e69971d

Please sign in to comment.