Copper Golem Upgrades Guides

Copper Golem Upgrades · Release 2.0.4

Default Configuration Files

Explore the default settings supplied with this release. Server owners can customize these files to suit their server.

config.yml

# ============================================================================
# COPPER GOLEM UPGRADES | Configuration | 2.0.4
# Room-based sorting, crafting, stonecutting, and smelting.
# Minecraft Java 1.21.11 | Paper / compatible forks | By BlindAdam23
# ============================================================================
# Help and support: https://www.chillvillemc.com/
# Discord:          http://discord.chillvillemc.com
# Guides:           plugins/CopperGolemUpgrades/guides/
# Commands:         plugins/CopperGolemUpgrades/COMMANDS-AND-PERMISSIONS.md
#
# EDITING THIS FILE
# - Use spaces, never tabs. Keep setting names and indentation unchanged.
# - Material names use Bukkit names, such as DIAMOND_BLOCK (not display names).
# - Restart after changing upgrade rules, payment modes, or room limits.
# - /mygolems reload applies valid settings without restarting; an invalid reload
#   disables the plugin. Fix the file, then restart to enable it again.
# - Existing levels are retained. Changing the ladder recalculates their capacity;
#   it does not refund purchases or remember the old per-level chest amounts.
# - Times below use server ticks: 20 ticks = 1 second at 20 TPS.
# - Back up this file, rooms.yml, and world/player data before major changes.
#
# CONTENTS
# 1. Room limits          2. Starting memory       3. Memory upgrade ladder
# 4. Upgrade payments     5. Sorting               6. Crafting and stonecutting
# 7. Performance
# ============================================================================

# 1. ROOM LIMITS
# A room may have ONE managed sorter and ONE managed crafter.
# Extra vanilla golems are allowed; they do not gain managed upgrades.
limits:
  # Legacy key name: limits owned ROOMS as well as sorting assignments.
  # A crafter may share its sorter's room; this is not a separate total-entity cap.
  # Positive integer. 0 does NOT mean unlimited.
  golems-per-player: 4

  # Maximum inclusive selection dimensions, measured in blocks. All positive.
  max-room-width: 64
  max-room-height: 32
  max-room-length: 64

  # Maximum inclusive width x height x length. Must also be positive.
  # Room selections may not overlap any other saved room.
  max-room-volume: 131072

# 2. STARTING MEMORY
# Capacity counts remembered inventories, not slots or stacks.
# A connected double chest with one shared inventory counts as ONE.
# Home/output inventories may use capacity too; capacity is not all destination
# chests. The sorter's scan excludes its crafting partner's reserved output.
capacity:
  # Positive integer; applies to both roles before memory upgrades.
  starting-chests: 20

# 3. MEMORY UPGRADE LADDER
# These are the MATERIAL costs to purchase each one-use memory upgrade token.
# Players buy tokens in Buy Upgrade Blocks, then feed them with sneak-right-click.
# Sorter and crafter use the same ladder, but have separate levels and memory.
upgrades:
  # Ordered list. Each entry is one level: material, quantity, added capacity.
  # cost: positive integer; added-chests: zero or positive integer.
  # Defaults yield total capacities: 30, 40, 55, 70, 90, 110.
  fixed:
    - material: COBBLESTONE
      cost: 1
      added-chests: 10
    - material: IRON_BLOCK
      cost: 1
      added-chests: 10
    - material: GOLD_BLOCK
      cost: 1
      added-chests: 15
    - material: EMERALD_BLOCK
      cost: 1
      added-chests: 15
    - material: DIAMOND_BLOCK
      cost: 1
      added-chests: 20
    - material: NETHERITE_BLOCK
      cost: 1
      added-chests: 20

  # Begins after every fixed level has been completed.
  # Default level 7: 1 netherite block + 1 diamond block -> 130 inventories.
  # Default level 8: 1 netherite block + 2 diamond blocks -> 150 inventories.
  # Only the extra-material quantity grows; the base quantity stays constant.
  repeating:
    base-material: NETHERITE_BLOCK
    base-cost: 1
    extra-material: DIAMOND_BLOCK
    extra-cost-increase-per-level: 1
    added-chests: 20

    # 0 = no configured level cap (integer limits still apply).
    # A positive number caps the TOTAL level, including the fixed ladder.
    maximum-level: 0

# 4. MEMORY UPGRADE PAYMENTS
# Payment happens on purchase, not when feeding the golem.
# One outstanding purchased token per player, across all rooms and token types.
# Replacing a token invalidates the old token. Creative players bypass payment.
payments:
  # MATERIALS or VAULT. Vault also needs an installed economy provider.
  # This setting controls sorter AND crafter memory upgrades only.
  method: MATERIALS

  # Block item used for memory upgrade tokens. Must be a valid block item.
  # COPPER_BULB gives the lit bulb look during feeding; no resource pack needed.
  upgrade-block-material: COPPER_BULB

  vault:
    # No currency prices are supplied. Unpriced levels cannot be purchased.
    # Add target-level keys here, e.g. '1': 100.0 (example only, not a default).
    # Values must be finite positive numbers. Exact prices override the formula.
    # The same prices apply to both golem roles' memory upgrades.
    level-prices: {}

    # Optional formula for levels after the fixed ladder. Both keys are required:
    # first-price: <positive price at the first repeating level>
    # price-increase: <nonnegative amount added per subsequent level>
    # With the default ladder, first-price applies to level 7.
    repeating: {}

# 5. SORTING
sorting:
  # When matching storage is full, use empty slots directly above/below in its column.
  vertical-overflow: true
  # Total mixed carrying slots: 1 through 18. A player has 36 storage slots.
  # Each type uses its normal stack limit (64, 16, 1 or a custom item limit).
  # Replaces stacks-per-type; existing saved cargo is retained for delivery.
  # Shared carrying size: sorter and crafter each have their own inventory.
  # Normal stack sizes apply; crafter planning includes output and leftovers.
  cargo-slots: 18

  # false: unrelated empty inventories are excluded. Vertical overflow is configured above.
  # Compatible partial stacks are filled first, then suitable empty slots.
  # true: completely empty non-processing inventories may also be destinations.
  # This does not disable container restrictions or allow arbitrary mixed chests.
  allow-empty-destinations: false

# 6. CRAFTING AND STONECUTTING
# Role upgrades are purchased in the SAME Buy Upgrade Blocks shop.
# Crafter token: glinting crafting table. Stonecutting token: glinting deepslate
# bricks. Both require a reachable physical workstation inside the room.
crafting:
  # Maximum finished output per player order, measured in this item's normal stacks.
  # Default 100: up to 6400 items for 64-stack items, 1600 for 16-stack items, 100 unstackable items.
  # Valid range: 1–1000000. Work is saved and processed in capacity-aware trips.
  # Crafter carrying space follows sorting.cargo-slots (18 by default).
  max-stacks-per-order: 100

  payments:
    # MATERIALS or VAULT, independent of payments.method above.
    # Controls crafter conversion, stonecutting and smelting unlocks.
    method: MATERIALS

    # VAULT only. No currency defaults are supplied; uncomment and set prices.
    # crafter-price: <positive price>
    # stonecutter-price: <positive price shared by stonecutting and smelting>

  # Material quantities: integers from 1 through 4096; at least one entry.
  # Converting a second normal golem requires a sorter upgraded at least once.
  conversion-cost:
    EMERALD_BLOCK: 1
    DIAMOND_BLOCK: 1
    NETHERITE_BLOCK: 1

  # One-time ability unlock, NOT a second memory ladder.
  # Stonecutting always uses this crafter's existing memory and storage access.
  stonecutter-cost:
    DIAMOND_BLOCK: 1
    EMERALD_BLOCK: 1

  # Ingredient collection speed relative to performance.movement-blocks-per-tick.
  # Must be greater than 1 and at most 3. Actual speed is capped at 0.3 blocks/tick.
  collection-speed-multiplier: 1.5

  # Work animation ticks before producing the prepared job result.
  # Positive integer; actual minimum is 20 ticks. Excludes travel and gathering.
  work-ticks: 60

  # Additional result materials to hide/refuse. Exact uppercase Bukkit names.
  # Example: disabled-results: [TNT, TNT_MINECART]
  # Does not turn noncraftable items into recipes or cancel existing saved jobs.
  disabled-results: []

# 7. PERFORMANCE
# Work runs on the server thread with shared scan/search budgets.
# No forced chunk loading: golems wait until their whole room is loaded.
# Change one setting at a time and measure TPS/MSPT on YOUR server.
performance:
  # Positive ticks between storage rescans when a worker next checks storage.
  chest-rescan-ticks: 100

  # Positive ticks before an idle sorter retries after finding no usable task.
  idle-retry-ticks: 100

  # Positive ticks of sorting transfer delay after reaching a destination.
  transfer-delay-ticks: 20

  # Movement distance each tick. Greater than 0 and at most 0.3.
  # Default 0.12 is about 2.4 blocks/second at 20 TPS, before turns and pauses.
  movement-blocks-per-tick: 0.12

  # Positive shared pathfinding node budget per tick across both golem roles.
  # Raising this can reduce search time but increases per-tick CPU work.
  path-nodes-per-tick: 256

  # Routes may leave room bounds through loaded terrain; storage stays inside.
  # Positive search node threshold. The effective search bound is at least the
  # selected room's volume; this is not an absolute global per-search cap.
  maximum-path-nodes: 8192

  # Positive number of sorter room storage scans allowed per tick.
  # Crafter storage/station work also exists; this is not a total plugin CPU cap.
  room-scans-per-tick: 1

  # Positive ticks between dirty-data autosave opportunities; minimum used: 100.
  # Important transactions also save immediately. This is not a world backup.
  autosave-ticks: 600

# FEATURE SWITCHES — all enabled by default.
# False blocks new use and pauses affected jobs with cargo retained.
# Re-enable and reload/restart to resume. Safety reset/admin tools remain available.
features:
  # New managed home chests have 54 slots; existing expanded storage stays accessible when disabled until empty.
  expanded-home-chests: true
  # Allow managed golems to use BlockLocker chests owned by the room owner.
  blocklocker-owner-access: true
  sorting: true
  crafting: true
  stonecutting: true
  smelting: true
  memory-upgrades: true
  waxing: true
  # Owner menu action to reset a managed golem to fresh copper.
  oxidation-clearing: true
  chest-moving: true
  room-creation: true
  room-resizing: true
  naming: true
  owner-tracking: true
  room-outlines: true

# Cosmetic dance: native dips, arm gestures, sways, nods and in-place spins.
# Only idle upgraded golems on their home chest dance. Work/feeding take priority.
dancing:
  enabled: true
  # Music discovery uses loaded chunks only. Radius is clamped to 1–32 blocks.
  # Existing old 12-block defaults are migrated to 20 once on startup.
  # The automatically saved radius-20-migrated flag records that migration.
  jukebox-radius: 20

# Oxidation care menu; Creative players always pay no cost.
oxidation:
  # Diamonds for one complete golem appearance reset (chest is unchanged).
  clear-cost-diamonds: 1