Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MineReset

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.

Requirements

  • A PowerNukkitX server
  • The MineReset plugin .jar from the GitHub Releases page
  • SimpleWorldEdit is optional, but needed if you want to create mines in-game with a selection

Installation

  1. Download the latest MineReset .jar from the GitHub Releases page.
  2. Put the .jar file into your server's plugins folder.
  3. If you want to create mines in-game, also install SimpleWorldEdit.
  4. Restart your server.

You do not need to compile anything.

Creating a Mine

  1. Select the mine area with SimpleWorldEdit.

  2. Run this command in-game:

    /minereset create <name> [block] [time]
    

    Example:

    /minereset create mine1 stone 36000
    

    This creates a mine called mine1, fills it with stone, and resets it every 30 minutes.

  3. Set the spawn point where players should be teleported when the mine resets:

    /minereset setspawn mine1
    

    This uses your current position.

Commands

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

Time is written in ticks.

20 ticks = 1 second
1200 ticks = 1 minute
36000 ticks = 30 minutes

Block Chances

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.

Permissions

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

Files

MineReset saves mines here:

plugins/MineReset/mines/

You usually do not need to edit these files manually.

About

A simple mine reset plugin for PowerNukkitX

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages