Commands
The root command is /mines, with the alias /snmines (configurable in command.aliases). The whole tree is admin-gated. A bare /mines shows the generated help, and mine ids complete with Tab.
Admin commands
| Command | Permission | Description |
|---|---|---|
/mines wand | snmines.admin.wand | Give yourself the selection wand |
/mines create <id> | snmines.admin.create | Create a mine over your current wand selection |
/mines edit [id] | snmines.admin.edit | Open the list of mines, or the editor of one mine |
/mines redefine <id> | snmines.admin.redefine | Move a mine onto your current wand selection |
/mines reset <id> | snmines.admin.reset | Reset a mine now. Refused while its composition is incomplete |
/mines delete <id> | snmines.admin.delete | Delete a mine after a confirmation menu |
/mines tp <id> | snmines.admin.tp | Teleport to the mine's teleport point |
/mines list | snmines.admin.list | List the mines in chat |
/mines help | snmines.admin | Show the help |
/mines reload | snmines.admin.reload | Reload the configuration, language file and menus |
/mines debug | snmines.admin.debug | Toggle the debug output |
create, edit, redefine, delete, tp and wand are player commands. reset and list also work from the console.
The id of a mine uses a-z, 0-9, _ and -, up to 32 characters. create and redefine refuse when there is no complete selection, when the id is taken, or when the region would overlap another mine.
These commands are destructive and cannot be undone: delete removes the mine and its file, and redefine replaces its region.