World Chests Configuration Examples

This page will show you a few examples of world chests configuration for you to get inspiration

world_chests.yml

# The world's name
world:
  # The default item table. This item table will be used for any chest than do not
  # match one of the listed locations below (meaning ALL the world 'world' chests
  # will be modified
  item-table: item_table1
  # Whether to add or replace the content of the chests
  action: ADD
  # The order matters. The higher on the list the higher the priority.
  # This matters for situation where a STRONGHOLD is in a DARK_FOREST.
  # If STRONGHOLD is higher than DARK_FOREST on the list, the chests
  # will be replaced by item_table3 and not item_table2
  locations:
    # Any biome works.
    # See https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Biome.html for
    # the full list
    DEEP_DARK:
      action: ADD
      item-table: item_table3
    # Any chest placed on bookshelf, stone bricks, oak planks
    STRONGHOLD:
      action: ADD
      item-table: item_table3
    # Any minecart chest
    MINESHAFT:
      action: REPLACE
      item-table: item_table2
    # Any chest placed on (mossy) cobblestone and between y=6 and y=60
    DUNGEON:
      action: ADD
      item-table: item_table2
    DARK_FOREST:
      action: REPLACE
      item-table: item_table2
world2:
  #There's no default item table for world2 meaning only the chests matching the
  #listed locations will be modified
  locations:
    # Useful to replace chests in ancient cities
    DEEP_DARK:
      action: ADD
      item-table: item_table1
    STRONGHOLD:
      action: ADD
      item-table: item_table1
    MINESHAFT:
      action: REPLACE
      item-table: item_table1
    # Useful for replacing plains villages chests
    PLAINS:
      action: REPLACE
      item-table: item_table1
    

Last updated