Permission: catamines.
help
Lists every subcommand
/cm create <mine>
Permission: [Link]
Creates a mine. You need to have a selection with WorldEdit
/cm gui (mine) *new*
Permission: [Link]
Please consider reading the warning about the permission down below
Opens the gui
/cm delete <mine>
Permission: [Link]
Deletes a mine
/cm set <mine> <block> (percentage)%
Permission: [Link]
Adds the block to the mine
Examples:
/cm set Stone_Mine stone
/cm set Stone_Mine stone 65%
/cm unset <mine> (block)
Permission: [Link]
Removes every block or the specified block from the mine
Examples:
/cm unset Stone_Mine
/cm unset Stone_Mine stone
/cm setdelay <mine> <seconds>
Permission: [Link]
Sets how many seconds the mine takes to reset
/cm list
Permission: [Link]
Lists every registered mine
/cm info <mine>
Permission: [Link]
Displays information of the mine
/cm reset <mine>
Permission: [Link]
Resets the mine manually
/cm redefine <mine>
Permission: [Link]
Redefines the mines region
/cm tp <mine> (player)
Permission: [Link]
Teleports to the mine
/cm settp <mine>
Permission: [Link]
Sets the teleport of the mine
/cm setresettp <mine>
Permission: [Link]
Sets the reset teleport of the mine
/cm start <mine>
Permission: [Link]
Starts a mine if previously stopped
/cm stop <mine>
Permission: [Link]
Stops a mine
/cm starttasks
Permission: [Link]
Starts all mine tasks
/cm stoptasks
Permission: [Link]
Stops all mine tasks
/cm reload
Permission: [Link]
Reloads the plugin. Changes that were made in the [Link] will now happen
/cm reload mines
/cm reload config
/cm reload messages
/cm reload properties
/cm flag <mine>
Permission: [Link] | Grants access to all commands below
Lists all available flag commands
/cm flag <mine> replacemode <true/false>
If true, mine will only replace air on reset
/cm flag <mine> moveRegion
Moves the mine to your new WorldEdit selection
/cm flag <mine> rename <name>
Renames the mine
/cm flag <mine> teleportplayers <true/false>
Sets if players should teleport on top of the mine on reset
/cm flag <mine> teleportplayerstoresetlocation <true/false>
Sets if players should instead teleport to the designated location using
/cm setresettp
/cm flag <mine> warn <true/false>
If true, mine will warn near players before it resets
/cm flag <mine> warnglobal <true/false>
If true, mine will warn everyone before it resets
/cm flag <mine> warnhotbar <true/false>
If true, mine will by default display remaining seconds in the hotbar
/cm flag <mine> warnhotbarmessage <message>
Sets the message to display in the hotbar
All of warnmessage applies except you are unable to create multiple lines
/cm flag <mine> warnmessage <message>
Sets the warn message of the mine. You can use /n to create a new line.
Also supports color codes
Placeholders:
%cm% | Plugin prefix
%mine% | Name of the mine
%seconds% | Time in seconds (automatically translates to whole minutes)
%time% | Either second(s) or minute(s)
PlacholderAPI placeholders
Examples:
/cm flag Stone_Mine warnmessage &b%mine% &cresets in &a%seconds% %time
%/n&6&lWohooo
Output 3 seconds before reset would be:
Stone_Mine resets in 3 seconds
Wohooo
Output 60 seconds before reset would be:
Stone_Mine resets in 1 minute
Wohooo
/cm flag <mine> resetmessage <message>
Same thing as warnmessage but cant use %seconds% and %time% placeholders
since it wouldnt make any sense.
/cm flag <mine> warnseconds <n1 n2 n3...>
Sets on which seconds the mine should warn
Examples:
/cm flag <mine> warnseconds 1 3 24 47
Would warn 1, 3, 24 and 47 seconds before reset
/cm flag <mine> warnseconds -1
Would never warn before reset. Only on reset
/cm flag warndistance <number>
Sets how far away a player has to be to receive the warn message if the
mine doesn't warn globally