Mines
Mines are essential to the prison gameplay experience. Vortex Prison Core offers comprehensive mine management features.
Mine Access
Each rank unlocks access to a new mine (A-Z), with higher ranks providing access to more valuable resources.
Setting Up Mines
Select an area using the mine selector tool (
/mine selector)Create a mine with
/mine create <id>Configure the mine settings in the config file
Reset/refill the mine when needed with
/mine reset <mine>
Mine Conversion
If you're migrating from Catamines v3, you can convert existing mines using /mine convert.
Mine Refill System
The mine refill system automates resource regeneration, ensuring players always have materials to mine.
Key Features:
Automatic Refills – Mines refill at set intervals.
Customizable Blocks – Define block spawn rates per mine.
Adjustable Performance Settings – Optimize refill speed to suit your server.
Mine Configuration (config.yml)
config.yml)Settings:
Refill Task Interval: 20 # ticks - Check for new mines to refill every x ticks
Max Blocks Per Tick: 100000 # Maximum blocks to refill per tick
Debug Refill Time: false # Enable for debugging refill performance
Mines:
A:
Name: A
World: world
Lower Corner: 60,62,-17
Upper Corner: 71,59,-9
Refill Type: TIME
Refill: 1m
Blocks:
- STONE:20.0
- COAL_ORE:80.0
B:
Name: B
World: world
Lower Corner: 63,66,-1
Upper Corner: 74,63,7
Refill Type: TIME
Refill: 1m
Blocks:
- EMERALD_ORE:100.0Explanation of Config Options:
Refill Task Interval– How often the plugin checks for mines to refill (in ticks).Max Blocks Per Tick– The maximum number of blocks replaced per tick to optimize performance.Debug Refill Time– Enable debugging to monitor refill efficiency.Mine Settings:
Lower Corner&Upper Corner– Defines the mine area using coordinates.Refill Type– Determines how the mine refills (TIMEfor interval-based,PERCENTAGEfor depletion-based).Refill– Time interval before the mine refills (e.g.,1mfor 1 minute).Blocks– Specifies block types and their spawn percentages.
Example Refill Types:
Time-based refill: Refills every set duration (e.g.,
1m,5m).Percentage-based refill: Triggers when a specific percentage of the mine is depleted.
Last updated