← Plugins · HyPrison Core

Mines

Multiple mines with regions, block composition, auto-reset, teleport, and rank/prestige requirements. Configured in mines.json.

Blocks in mines break in one hit. The block’s break sound still plays at the block position so mining has audio feedback.

Mine definition

Each mine has a region (CornerOne, CornerTwo), world, spawn point, optional warp, and rank/prestige requirements (RequiredRank, Prestige, AllowedPrestige). Admins (hyprisoncore.admin) can bypass for management.

Block composition

BlockComposition (blockId → weight) plus optional BlockOverrides (sell price) and BlockXpOverrides (XP per block). Higher-tier mines can award more tokens per block via mine/block setup and pickaxe XP config.

Auto-reset

In the Mine Editor you can set Reset mode: Percent — when mined blocks reach the threshold (ResetPercentage), the mine resets after ResetDelaySeconds; Timer — the mine resets on a fixed interval (ResetTimerSeconds). mines.json supports ResetMode, ResetPercentage, and ResetTimerSeconds.

Teleport

Players open Mine Teleport UI (/mine with no args), select a mine they have access to, and teleport. TeleportCooldownSeconds is global or per mine.

Creating a mine (admin)

  1. /mine create <name>
  2. Stand at first corner → /mine pos1
  3. Stand at second corner → /mine pos2
  4. Stand at spawn → /mine setspawn
  5. /mine save

Use /mine linkwarp <mine> <warpId> to link a warp. /mine autoprice auto-configures block prices. The Mine Editor UI (from admin or guide) allows editing regions, composition, reset, and requirements.

Mining and (where applicable) interactions/pickups are allowed inside mine regions; outside is protected. See Protection.