Config.yml Tutorial

# Enables or disables the plugin update message when joining the server.
update_notify: true

# This option defines the time (in seconds) to automatically save
# player data.
player_data_save: 300

# If this option is set to false, players will not require to fill
# all the empty slots on the inventory to complete a level.
must_fill_all_empty_slots: true

# List of worlds where the plugin should/shouldn't work.
# When blacklist is true:
#   - ConnectTheBlocks will be blocked in worlds under the 'list' option.
# When blacklist is false:
#   - ConnectTheBlocks will be allowed only in worlds under the 'list' option.
enabled_worlds:
  blacklist: true
  list:
    - survival
    - nether

# Blocks that players will be able to use in game. When creating a level you'll
# be able to use the blocks defined here. You can create your
# own game blocks.
game_blocks:
  # Custom name of the block.
  red:
    # Id/material of the block.
    # Latest Versions Material: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
    # Legacy Materials: https://helpch.at/docs/1.8/org/bukkit/Material.html
    id: RED_WOOL
    # Name to be displayed on the game.
    display_name: "&4Red Wool"
  blue:
    id: BLUE_WOOL
    display_name: "&1Blue Wool"
  green:
    id: GREEN_WOOL
    display_name: "&2Green Wool"
  yellow:
    id: YELLOW_WOOL
    display_name: "&eYellow Wool"
  white:
    id: WHITE_WOOL
    display_name: "&fWhite Wool"
  purple:
    id: PURPLE_WOOL
    display_name: "&5Purple Wool"
  orange:
    id: ORANGE_WOOL
    display_name: "&6Orange Wool"
  black:
    id: BLACK_WOOL
    display_name: "&0Black Wool"
  lime:
    id: LIME_WOOL
    display_name: "&aLime Wool"

# Sounds to be played in different situations.
# Format: <sound>;<volume>;<pitch>
# Set it to 'none' if you don't want to play a sound.
# You can find a list of sounds here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# Use this list instead when using 1.8: https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
sounds:
  change_selected_block: BLOCK_NOTE_BLOCK_PLING;1;1
  next_previous_levels: UI_BUTTON_CLICK;1;1

# Format of the %progress% variable on the lore of category items.
progress_bar_placeholder:
  filled_symbol: "&a|"
  empty_symbol: "&c|"
  amount: 20
  
# MySQL support credentials
mysql_database:
  enabled: false
  host: localhost
  port: 3306
  username: root
  password: root
  database: connecttheblocks
  
  # Pool properties: 
  # https://github.com/brettwooldridge/HikariCP#configuration-knobs-baby
  pool:
    connectionTimeout: 5000
    
  # Advanced properties: 
  # https://dev.mysql.com/doc/connector-j/en/connector-j-reference-configuration-properties.html
  advanced:
    verifyServerCertificate: false
    useSSL: true
    allowPublicKeyRetrieval: true

Last updated