Skip to content

Commands & Permissions

Robin edited this page Jun 24, 2023 · 2 revisions

Introduction

This page has all the information regarding Commands, Permissions and Placeholders for EternalMines.

How do I use this?

Permission Usage

To use these commands, You need to have the permission nodes associated with them. OP Players will automatically be assigned these permissions. For any player who isn't an operator, You will need to use a permissions plugin such as LuckPerms to set this up.

Command Usage

Aliases for EternalMines commands include /eternalmines, All commands and aliases can be modified in /plugins/EternalMines/commands/mines.yml. Anytime you see <brackets> in a command, you are required to include that argument in your command. If the command arguments contain a [brackets], This argument is optional and can be ignored.

Commands & Permissions

Command Description Permission Node
/mines Displays the base command for the plugin eternalmines.use
/mines help Displays the help menu for the plugin eternalmines.help
/mines blocks General command for editing mine blocks eternalmines.edit
/mines blocks clear Clears all blocks in a mine eternalmines.edit
/mines blocks remove Removes a block from a mine eternalmines.edit
/mines blocks set Sets a block in a mine eternalmines.edit
/mines reload Reloads the plugin eternalmines.reload
/mines create Creates a new prison mine eternalmines.create
/mines delete Deletes a prison mine eternalmines.delete
/mines edit delay Sets the reset delay of a mine eternalmines.edit
/mines edit percentage Sets the reset percentage of a mine eternalmines.edit
/mines edit region Sets the region of a mine eternalmines.edit
/mines edit spawn Sets the spawn of a mine eternalmines.edit
/mines list Lists all mines eternalmines.list
/mines reset Forces a mine to reset eternalmines.reset
/mines teleport Teleports a player to a mine eternalmines.teleport

PlaceholderAPI Placeholders

All PlaceholderAPI placeholders will begin with eternalmines_<mine> and require %percentage symbols% to work. A working example is %eternalmines_example_name%

Placeholder Description
name The name of the mine
left The percentage of blocks left in the mine
broken The percentage of blocks broken in the mine
timer The time until the mine resets in the format HH:MM:SS
timer_raw The time until the mine resets in milliseconds