Skip to main content

Mines Module

Features​

  • Define and reset mine regions via WorldGuard integration
  • Customizable reset check interval and broadcast radius
  • Commands and menu for creating and managing mines

Configuration Reference​

KeyTypeDefaultDescription
seconds-per-checknumber3Interval in seconds to check mine reset conditions
reset-announcement-radiusnumber30Radius for broadcast when a mine reset occurs

Example​

mine:
seconds-per-check: 3
reset-announcement-radius: 30

Creation​

To create a mine you must create a worldguard region with the same name before, then you can use:

/mine create <name>

After that you can edit the mine using the commands or the menu /mine menu <mine> (Not needed to touch the json).

Mine file Example​

{
"name": "goldmine",
"world": "world",
"ores": [
{
"type": "GOLD_ORE",
"chance-points": 100.0,
"experience": 3
}
],
"version": 0,
"reset-settings": {
"last-reset": 1697118751139,
"reset-time": 770,
"reset-mode": "TIMER_AND_PERCENTAGE",
"current-blocks": 72,
"percentage-to-reset": 53.0
},
"stopped-date": -1,
"stopped": false,
"warn-settings": {
"warn": true,
"warn-global": true,
"warn-actionbar": true,
"warn-distance": 30
}
}