Docs

Autominers

Every player owns a virtual autominer. While it is on and has time left, it mines blocks every few seconds and pays them like normal mining. There are no entities or blocks in the world: passive income at zero performance cost.

Configurationautominers.yml
Menumenus/autominer.yml
Command/autominer (aliases /am, /autominero)
Moduleautominers

How it works

  1. The player gets time: buying it in the menu or with vouchers.
  2. They turn the autominer on with /autominer toggle or from the menu.
  3. Every tick-seconds it mines blocks, pays them and subtracts that time.
  4. With tokens they buy speed, fortune and finder upgrades.

Configuration

yaml
settings:
  tick-seconds: 5
  mode: anywhere                 # anywhere, or private-mine: only inside their private mine
  afk-seconds: 0                 # seconds standing still before working, 0 ignores movement
  action-bar: true

blocks:
  use-private-mine-blocks: true  # mines the block mix of their private mine stage
  per-tick: "10 * (1 + {speed} * 0.15) * (1 + {fortune} * 0.10)"
  table:                         # mix when no private mine is loaded
    STONE: 60
    COBBLESTONE: 30
    COAL_ORE: 8
    IRON_ORE: 2

time:
  max-seconds: 86400             # cap of stored time, 0 for none
  purchase:
    seconds: 3600
    cost:
      tokens: 5000
  vouchers:
    one-hour:
      seconds: 3600
      item:
        material: PAPER
        name: "@autominer.items.voucher-name"
        glow: true

rewards:                         # extra currency per cycle
  - currency: tokens
    amount: "{blocks} * 0.5 * (1 + {token_finder} * 0.2)"
  - currency: shards
    amount: "1"
    chance: "2 + {token_finder} * 0.5"

upgrades:
  speed:
    name: "@autominer.items.speed-name"
    description: "@autominer.items.speed-description"
    icon: SUGAR
    max-level: 20
    currency: tokens
    cost: "10000 * 1.35 ^ {level}"
  • Every upgrade id is a variable: speed{speed}, token-finder{token_finder}.
  • rewards accepts {blocks}, {tick_seconds} and the upgrades. chance is optional, in %.
  • The autominer-speed stat multiplies blocks and currency:<id> the rewards.
  • Vouchers are redeemed with right click.

Commands

CommandPermissionDoes
/autominer · /autominer menueveryoneMenu
/autominer toggleeveryoneTurns it on or off
/autominer addtime <player> <time>pulseprison.autominer.adminAdds time, for example 1h30m
/autominer voucher <player> <id> [amount]pulseprison.autominer.adminGives vouchers
/autominer reloadpulseprison.autominer.adminReloads autominers.yml

Milestones can measure autominer blocks with type: autominer-blocks.

Autominers | PulsePrison Core Docs