MineReset is a simple PowerNukkitX plugin for creating mines that reset automatically.
When a mine resets, players inside the mine are teleported to the mine spawn and the selected area is filled again with the configured blocks.
- A PowerNukkitX server
- The MineReset plugin
.jarfrom the GitHub Releases page - SimpleWorldEdit is optional, but needed if you want to create mines in-game with a selection
- Download the latest MineReset
.jarfrom the GitHub Releases page. - Put the
.jarfile into your server'spluginsfolder. - If you want to create mines in-game, also install SimpleWorldEdit.
- Restart your server.
You do not need to compile anything.
-
Select the mine area with SimpleWorldEdit.
-
Run this command in-game:
/minereset create <name> [block] [time]Example:
/minereset create mine1 stone 36000This creates a mine called
mine1, fills it with stone, and resets it every 30 minutes. -
Set the spawn point where players should be teleported when the mine resets:
/minereset setspawn mine1This uses your current position.
| Command | What it does |
|---|---|
/minereset create <name> [block] [time] |
Creates a mine from your SimpleWorldEdit selection. |
/minereset refill <name> |
Resets a mine instantly. |
/minereset settime <name> <time> |
Changes how often the mine resets. |
/minereset setspawn <name> |
Sets the mine spawn to your current position. |
/minereset addblock <name> <block> [amount] |
Adds a block to the mine. |
/minereset removeblock <name> <block> [amount] |
Removes a block from the mine. |
Time is written in ticks.
20 ticks = 1 second
1200 ticks = 1 minute
36000 ticks = 30 minutes
You can add the same block multiple times to make it appear more often.
Example:
/minereset addblock mine1 stone 70
/minereset addblock mine1 coal_ore 20
/minereset addblock mine1 iron_ore 10
This makes the mine roughly 70% stone, 20% coal ore, and 10% iron ore.
Give admins this permission to use all MineReset commands:
minereset.command
Individual command permissions:
| Permission | Allows |
|---|---|
minereset.command.create |
Creating mines |
minereset.command.refill |
Resetting mines manually |
minereset.command.settime |
Changing reset times |
minereset.command.setspawn |
Setting mine spawns |
minereset.command.addblock |
Adding blocks |
minereset.command.removeblock |
Removing blocks |
MineReset saves mines here:
plugins/MineReset/mines/
You usually do not need to edit these files manually.