DrawethreeXD

Untitled

Jun 29th, 2026
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 9.73 KB | None | 0 0
  1. # ============================================================
  2. #  X-Prison - Auto Miner
  3. # ------------------------------------------------------------
  4. #  The Auto Miner simulates real mining while a player is AFK
  5. #  inside an Auto Miner region. Each reward cycle "mines" blocks
  6. #  from the region's block pool and runs them through your real
  7. #  AutoSell + Enchants + Multipliers pipeline - so income scales
  8. #  with the player's pickaxe, enchants and active multipliers.
  9. #
  10. #  Players need Auto Miner TIME (given via /aam give, sold in a
  11. #  shop, vote rewards, etc.) AND must hold a supported pickaxe.
  12. #  Their TIER (upgraded in the /autominer GUI) controls how good
  13. #  their Auto Miner is.
  14. # ============================================================
  15.  
  16. settings:
  17.  # Currency simulated income is paid in when the AutoSell module
  18.   # cannot provide one. AutoSell's own currency is used otherwise.
  19.   earning-currency: 'money'
  20.   # Keep running the legacy per-region 'rewards' console commands
  21.   # each cycle (for servers migrating from the old Auto Miner).
  22.   # Regions without a 'blocks' pool always run their commands.
  23.   run-legacy-commands: false
  24.  
  25. # ------------------------------------------------------------
  26. #  GUI opened by /autominer
  27. #
  28. #  Every item below is fully configurable: change the material,
  29. #  slot, display name and lore freely. The placeholders shown in
  30. #  the lore (e.g. %time_left%) are replaced at runtime - you may
  31. #  reorder, remove or duplicate any line.
  32. #
  33. #  Custom model data:
  34. #   Every item supports an optional 'custom_model_data: <number>'
  35. #   field. It sets the item's CustomModelData so a resource pack can
  36. #   give it a custom texture/model. Leave it 0 (or remove the line)
  37. #   for no custom model. For items using 'use-tier-icon', the model
  38. #   data is still applied on top of the tier icon material.
  39. #
  40. #  Available placeholders:
  41. #   status item  : %time_left% %tier% %blocks_per_cycle%
  42. #                  %reward_multiplier% %reward_period% %in_region%
  43. #                  %income_per_cycle%
  44. #   stats item   : %blocks_mined% %money_earned%
  45. #   upgrade item : %next_tier% %next_blocks_per_cycle%
  46. #                  %next_reward_multiplier% %next_reward_period%
  47. #                  %upgrade_cost% %upgrade_currency%
  48. # ------------------------------------------------------------
  49. gui:
  50.   title: '&8&lAuto Miner'
  51.   lines: 3
  52.   # Auto-refresh the GUI while it is open so live values (time left, income,
  53.   # lifetime stats) update on their own. The refresh interval follows the
  54.   # player's tier reward-period (the cycle length). Set to false to disable.
  55.   auto-refresh: true
  56.   # Material used to fill empty slots. Set to AIR to disable.
  57.   filler: GRAY_STAINED_GLASS_PANE
  58.   # Strings substituted for the %in_region% placeholder.
  59.   in-region-yes: '&aYes'
  60.   in-region-no: '&cNo'
  61.   items:
  62.    # Shows the player's current Auto Miner status.
  63.     # use-tier-icon: true makes the icon follow the player's tier
  64.     # (the 'material' below is only used as a fallback).
  65.     status:
  66.       slot: 11
  67.       use-tier-icon: true
  68.       material: IRON_PICKAXE
  69.       # Resource-pack CustomModelData for this item (0 = none).
  70.       # Applied even when use-tier-icon swaps in the tier icon.
  71.       custom_model_data: 0
  72.       name: '&6&lAuto Miner'
  73.       lore:
  74.        - '&7Your current Auto Miner status.'
  75.         - ' '
  76.         - '&fTime left: &e%time_left%'
  77.         - '&fTier: &e%tier%'
  78.         - '&fBlocks / cycle: &e%blocks_per_cycle%'
  79.         - '&fReward multiplier: &ex%reward_multiplier%'
  80.         - '&fCycle speed: &eevery %reward_period%s'
  81.         - ' '
  82.         - '&fIn mining region: %in_region%'
  83.         - '&fEst. income / cycle: &a%income_per_cycle%'
  84.     # Lifetime statistics.
  85.     stats:
  86.       slot: 13
  87.       material: BOOK
  88.       # Resource-pack CustomModelData for this item (0 = none).
  89.       custom_model_data: 0
  90.       name: '&e&lStatistics'
  91.       lore:
  92.        - '&7Your lifetime Auto Miner stats.'
  93.         - ' '
  94.         - '&fBlocks mined: &e%blocks_mined%'
  95.         - '&fMoney earned: &a%money_earned%'
  96.     # Upgrade button (shown while a higher tier is available).
  97.     # use-tier-icon: true makes the icon follow the NEXT tier.
  98.     upgrade:
  99.       slot: 15
  100.       use-tier-icon: false
  101.       material: EMERALD
  102.       # Resource-pack CustomModelData for this item (0 = none).
  103.       # Applied even when use-tier-icon swaps in the next-tier icon.
  104.       custom_model_data: 0
  105.       name: '&a&lUpgrade Auto Miner'
  106.       lore:
  107.        - '&7Upgrade to the next tier:'
  108.         - ' '
  109.         - '&fNext tier: %next_tier%'
  110.         - '&fBlocks / cycle: &e%next_blocks_per_cycle%'
  111.         - '&fReward multiplier: &ex%next_reward_multiplier%'
  112.         - '&fCycle speed: &eevery %next_reward_period%s'
  113.         - ' '
  114.         - '&fCost: &a%upgrade_cost% &7%upgrade_currency%'
  115.         - ' '
  116.         - '&eClick to upgrade!'
  117.     # Shown in the upgrade slot when the player is at the max tier.
  118.     max-tier:
  119.       material: BARRIER
  120.       # Resource-pack CustomModelData for this item (0 = none).
  121.       custom_model_data: 0
  122.       name: '&c&lMax Tier Reached'
  123.       lore:
  124.        - '&7Your Auto Miner is fully upgraded!'
  125.     # Close button.
  126.     close:
  127.       slot: 22
  128.       material: BARRIER
  129.       # Resource-pack CustomModelData for this item (0 = none).
  130.       custom_model_data: 0
  131.       name: '&c&lClose'
  132.       lore: []
  133.  
  134. # ------------------------------------------------------------
  135. #  Upgrade tiers. Players start at the lowest tier and upgrade
  136. #  in the /autominer GUI. The highest tier is the cap.
  137. #
  138. #  blocks-per-cycle  : blocks simulated each reward cycle
  139. #  reward-multiplier : flat multiplier on simulated income
  140. #  reward-period     : seconds between reward cycles
  141. #  upgrade-cost      : cost to upgrade INTO this tier
  142. #  upgrade-currency  : currency used to pay the upgrade cost
  143. # ------------------------------------------------------------
  144. tiers:
  145.   1:
  146.     display-name: '&7Tier I'
  147.     icon: STONE_PICKAXE
  148.     blocks-per-cycle: 5
  149.     reward-multiplier: 1.0
  150.     reward-period: 5
  151.     upgrade-cost: 0
  152.     upgrade-currency: 'tokens'
  153.   2:
  154.     display-name: '&aTier II'
  155.     icon: IRON_PICKAXE
  156.     blocks-per-cycle: 10
  157.     reward-multiplier: 1.25
  158.     reward-period: 5
  159.     upgrade-cost: 5000
  160.     upgrade-currency: 'tokens'
  161.   3:
  162.     display-name: '&bTier III'
  163.     icon: GOLDEN_PICKAXE
  164.     blocks-per-cycle: 15
  165.     reward-multiplier: 1.5
  166.     reward-period: 4
  167.     upgrade-cost: 25000
  168.     upgrade-currency: 'tokens'
  169.   4:
  170.     display-name: '&dTier IV'
  171.     icon: DIAMOND_PICKAXE
  172.     blocks-per-cycle: 25
  173.     reward-multiplier: 2.0
  174.     reward-period: 4
  175.     upgrade-cost: 100000
  176.     upgrade-currency: 'tokens'
  177.   5:
  178.     display-name: '&6&lTier V'
  179.     icon: NETHERITE_PICKAXE
  180.     blocks-per-cycle: 40
  181.     reward-multiplier: 3.0
  182.     reward-period: 3
  183.     upgrade-cost: 500000
  184.     upgrade-currency: 'tokens'
  185.  
  186. # ------------------------------------------------------------
  187. #  Auto Miner regions (WorldGuard region name = key)
  188. #
  189. #  blocks : weighted pool of blocks the Auto Miner "mines".
  190. #           Weights are relative (they do not need to total 100).
  191. #  rewards: optional legacy console commands (see settings).
  192. # ------------------------------------------------------------
  193. auto-miner-regions:
  194.   automine:
  195.     world: world
  196.     blocks:
  197.       STONE: 50.0
  198.       COAL_ORE: 30.0
  199.       IRON_ORE: 15.0
  200.       GOLD_ORE: 5.0
  201.     rewards: []
  202.  
  203. messages:
  204.   auto_miner_time_remove: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <gray>You have removed <white>%time% %timeunit% <gray>from <white>%player%<gray>.'
  205.   not_enough_tokens: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <yellow>You do not have enough tokens! (Needed: %tokens%)'
  206.   not_a_number: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <yellow>%input% is not a number!'
  207.   player_not_online: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <white>Player <yellow>%player% <red>is not online!'
  208.   auto_miner_enabled: ''
  209.   auto_miner_disabled: ''
  210.   auto_miner_no_pickaxe: ''
  211.   # Sent once in chat when a player starts auto-mining (enters a region with time
  212.   # and a supported pickaxe). Leave empty to disable.
  213.   auto_miner_start: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <green>Your Auto Miner is now running!'
  214.   # Sent once in chat when a player stops auto-mining (leaves the region, runs out
  215.   # of time or unequips their pickaxe). Leave empty to disable.
  216.   auto_miner_stop: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <red>Your Auto Miner has stopped.'
  217.   auto_miner_time: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <white>You have <yellow>%time% <gray>of Auto-Miner time.'
  218.   auto_miner_time_add: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <white>You added <yellow>%time% %timeunit% <white>to <yellow>%player%<gray>.'
  219.   no_permission_autominer_info: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <red>You do not have permission to use /autominer!'
  220.   tier_upgraded: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <white>You upgraded your Auto Miner to <yellow>%name%<white>!'
  221.   tier_max: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <yellow>Your Auto Miner is already at the maximum tier!'
  222.   tier_not_enough: '<gradient:#FFFF00:#FFD700:#FFA500><bold>AUTOMINER</bold></gradient> <dark_gray>»</dark_gray> <red>You cannot afford this upgrade! (Cost: %cost% %currency%)'
  223.  
Add Comment
Please, Sign In to add comment