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β
Key | Type | Default | Description |
---|---|---|---|
seconds-per-check | number | 3 | Interval in seconds to check mine reset conditions |
reset-announcement-radius | number | 30 | Radius 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
}
}