this is the code for town upgrades and creating
	
	
	
		Code:
	
	
		towns:
  default-type: SMALL
  creation-cost: 2000
  distance-between: 350
  max: 50
  citizen-activity-check-interval: 1209600000
  town-citizen-requirement-check-interval: 604800000
  default-flags:
    BUILD: members
    PVP: all
    MOB_SPAWNING: false
    ENDER_BUILD: false
  OUTPOST:
    name: Outpost
    enable-regions: false
    channel-enabled: false
    radius: 0
  SMALL:
    name: Hamlet
    min-residents: 5
    max-residents: 30
    num-of-points: 36
    cost: 5000
    tax: 400
    material-costs:
    - item: Cobblestone
      amount: 10000
    - item: Oak Log
      amount: 1250
    - item: Gold Block
      amount: 100
    - item: Iron Block
      amount: 125
    - item: Bookshelf
      amount: 25
    - item: Obsidian
      amount: 100
    - item: Diamond Block
      amount: 30
    - item: Pumpkin
      amount: 50
    - item: Coal
      amount: 500
    - item: Wheat
      amount: 1000
    - item: Cookie
      amount: 20
    - item: Steak
      amount: 10
    - item: Paper
      name: '&fSoulweave Cloth'
      lore:
      - '&fCrafting Reagent           '
      - '&7Woven by the damned.'
      - '&9&oThis is used in advanced crafting'
      amount: 5
    - item: Leather
      name: '&fEnchanted Rawhide Scraps'
      lore:
      - '&fCrafting Reagent           '
      - '&7Enriched with souls.'
      - '&9&oThis is used in advanced crafting'
      amount: 5
    - item: Redstone
      name: '&fSoul Catalyst'
      lore:
      - '&fCrafting Reagent           '
      - '&7A common catalyst used in smithing'
      - '&9&oThis is used in advanced crafting'
      amount: 5
    - item: Iron Ingot
      name: '&5Moonstone Ingot'
      lore:
      - '&fCrafting Reagent           '
      - '&7A rare ingot used in smithing'
      - '&9&oThis is used in advanced crafting'
      amount: 5
    - item: Blue Ink Sack
      name: '&fMana Shards'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in leather working'
      - '&9&oThis is used in advanced crafting'
      amount: 5
    - item: Emerald
      displayname: '&fPeridot'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in enchanting'
      - '&9&oThis is used in advanced crafting'
      amount: 5
    - item: Diamond
      name: '&fSapphire'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in enchanting'
      - '&9&oThis is used in advanced crafting'
      amount: 5
    radius: 75
    enable-subregions: true
    max-subregions: 20
  MEDIUM:
    name: Town
    min-residents: 10
    max-residents: 60
    cost: 15000
    tax: 500
    material-costs:
    - item: Stone
      amount: 10000
    - item: Cobblestone
      amount: 30000
    - item: Oak Log
      amount: 5000
    - item: Gold Block
      amount: 250
    - item: Iron Block
      amount: 500
    - item: Brick
      amount: 500
    - item: TNT
      amount: 200
    - item: Bookshelf
      amount: 250
    - item: Moss Stone
      amount: 100
    - item: Obsidian
      amount: 300
    - item: Diamond Block
      amount: 200
    - item: Ice
      amount: 100
    - item: Cactus
      amount: 1000
    - item: Pumpkin
      amount: 100
    - item: Glowstone
      amount: 500
    - item: Mossy Stone Brick
      amount: 50
    - item: Emerald Block
      amount: 50
    - item: Coal
      amount: 2000
    - item: Cooked Porkchop
      amount: 500
    - item: Golden Apple
      amount: 25
    - item: Clay Brick
      amount: 100
    - item: Cooked Fish
      amount: 500
    - item: Flint
      name: '&aBadge of Loot Finding'
      lore:
      - '&fWorn             Badge'
      - '&2You are lucky!'
      amount: 10
    - item: Paper
      name: '&fSoulweave Cloth'
      lore:
      - '&fCrafting Reagent           '
      - '&7Woven by the damned.'
      - '&9&oThis is used in advanced crafting'
      amount: 10
    - item: Leather
      name: '&fEnchanted Rawhide Scraps'
      lore:
      - '&fCrafting Reagent           '
      - '&7Enriched with souls.'
      - '&9&oThis is used in advanced crafting'
      amount: 10
    - item: Redstone
      name: '&fSoul Catalyst'
      lore:
      - '&fCrafting Reagent           '
      - '&7A common catalyst used in smithing'
      - '&9&oThis is used in advanced crafting'
      amount: 10
    - item: Iron Ingot
      name: '&5Moonstone Ingot'
      lore:
      - '&fCrafting Reagent           '
      - '&7A rare ingot used in smithing'
      - '&9&oThis is used in advanced crafting'
      amount: 10
    - item: Blue Ink Sack
      name: '&fMana Shards'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in leather working'
      - '&9&oThis is used in advanced crafting'
      amount: 10
    - item: Emerald
      displayname: '&fPeridot'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in enchanting'
      - '&9&oThis is used in advanced crafting'
      amount: 10
    - item: Diamond
      name: '&fSapphire'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in enchanting'
      - '&9&oThis is used in advanced crafting'
      amount: 10
    radius: 100
    num-of-points: 50
    enable-subregions: true
    max-subregions: 30
  LARGE:
    name: City
    min-residents: 20
    max-residents: 120
    cost: 25000
    tax: 600
    material-costs:
    - item: Stone
      amount: 20000
    - item: Cobblestone
      amount: 40000
    - item: Oak Log
      amount: 7500
    - item: Gold Block
      amount: 300
    - item: Iron Block
      amount: 500
    - item: Brick
      amount: 500
    - item: TNT
      amount: 250
    - item: Bookshelf
      amount: 300
    - item: Moss Stone
      amount: 125
    - item: Obsidian
      amount: 350
    - item: Diamond Block
      amount: 250
    - item: Ice
      amount: 150
    - item: Cactus
      amount: 1250
    - item: Pumpkin
      amount: 250
    - item: Glowstone
      amount: 1000
    - item: Mossy Stone Brick
      amount: 75
    - item: Emerald Block
      amount: 75
    - item: Coal
      amount: 2500
    - item: Cooked Porkchop
      amount: 500
    - item: Golden Apple
      amount: 25
    - item: Clay Brick
      amount: 150
    - item: Cooked Fish
      amount: 500
    - item: Flint
      name: '&aBadge of Loot Finding'
      lore:
      - '&fWorn             Badge'
      - '&2You are lucky!'
      amount: 20
    - item: Paper
      name: '&fSoulweave Cloth'
      lore:
      - '&fCrafting Reagent           '
      - '&7Woven by the damned.'
      - '&9&oThis is used in advanced crafting'
      amount: 20
    - item: Leather
      name: '&fEnchanted Rawhide Scraps'
      lore:
      - '&fCrafting Reagent           '
      - '&7Enriched with souls.'
      - '&9&oThis is used in advanced crafting'
      amount: 20
    - item: Redstone
      name: '&fSoul Catalyst'
      lore:
      - '&fCrafting Reagent           '
      - '&7A common catalyst used in smithing'
      - '&9&oThis is used in advanced crafting'
      amount: 20
    - item: Iron Ingot
      name: '&5Moonstone Ingot'
      lore:
      - '&fCrafting Reagent           '
      - '&7A rare ingot used in smithing'
      - '&9&oThis is used in advanced crafting'
      amount: 20
    - item: Blue Ink Sack
      name: '&fMana Shards'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in leather working'
      - '&9&oThis is used in advanced crafting'
      amount: 20
    - item: Emerald
      displayname: '&fPeridot'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in enchanting'
      - '&9&oThis is used in advanced crafting'
      amount: 20
    - item: Diamond
      name: '&fSapphire'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in enchanting'
      - '&9&oThis is used in advanced crafting'
      amount: 20
    radius: 125
    num-of-points: 64
    enable-subregions: true
    max-subregions: 40
  HUGE:
    name: Capital
    min-residents: 40
    max-residents: 250
    cost: 50000
    tax: 1000
    material-costs:
    - item: Stone
      amount: 20000
    - item: Cobblestone
      amount: 50000
    - item: Oak Log
      amount: 10000
    - item: Gold Block
      amount: 500
    - item: Iron Block
      amount: 750
    - item: Brick
      amount: 500
    - item: TNT
      amount: 250
    - item: Bookshelf
      amount: 350
    - item: Moss Stone
      amount: 150
    - item: Obsidian
      amount: 500
    - item: Diamond Block
      amount: 300
    - item: Ice
      amount: 150
    - item: Cactus
      amount: 1500
    - item: Pumpkin
      amount: 500
    - item: Glowstone
      amount: 1500
    - item: Mossy Stone Brick
      amount: 100
    - item: Emerald Block
      amount: 100
    - item: Coal
      amount: 3500
    - item: Cooked Porkchop
      amount: 500
    - item: Golden Apple
      amount: 50
    - item: Clay Brick
      amount: 150
    - item: Cooked Fish
      amount: 500
    - item: Flint
      name: '&aBadge of Loot Finding'
      lore:
      - '&fWorn             Badge'
      - '&2You are lucky!'
      amount: 25
    - item: Paper
      name: '&fSoulweave Cloth'
      lore:
      - '&fCrafting Reagent           '
      - '&7Woven by the damned.'
      - '&9&oThis is used in advanced crafting'
      amount: 30
    - item: Leather
      name: '&fEnchanted Rawhide Scraps'
      lore:
      - '&fCrafting Reagent           '
      - '&7Enriched with souls.'
      - '&9&oThis is used in advanced crafting'
      amount: 30
    - item: Redstone
      name: '&fSoul Catalyst'
      lore:
      - '&fCrafting Reagent           '
      - '&7A common catalyst used in smithing'
      - '&9&oThis is used in advanced crafting'
      amount: 30
    - item: Iron Ingot
      name: '&5Moonstone Ingot'
      lore:
      - '&fCrafting Reagent           '
      - '&7A rare ingot used in smithing'
      - '&9&oThis is used in advanced crafting'
      amount: 30
    - item: Blue Ink Sack
      name: '&fMana Shards'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in leather working'
      - '&9&oThis is used in advanced crafting'
      amount: 30
    - item: Emerald
      displayname: '&fPeridot'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in enchanting'
      - '&9&oThis is used in advanced crafting'
      amount: 30
    - item: Diamond
      name: '&fSapphire'
      lore:
      - '&fCrafting Reagent           '
      - '&7Used in enchanting'
      - '&9&oThis is used in advanced crafting'
      amount: 30
    radius: 150
    num-of-points: 100
    enable-subregions: true
    max-subregions: 50
herochat:
  enabled: true
	 
 a few things wrong that is the problem with creating towns
changes i would make include:
- item: 
Cocoa beans
name: '&fEnchanted Rawhide Scraps'
lore:
- '&fCrafting Reagent '
- '&7Enriched with souls.'
- '&9&oThis is used in advanced crafting'
amount: 5