TCommandBlocker
Tect.host
  • Introduction
  • General
    • Utils
    • Commands & Permissions
    • Comparation
  • Lite
    • Configuration
    • Default files
  • Pro
    • Configuration
    • Groups
    • Actions
    • Default files
Powered by GitBook
On this page
  • Example
  • Tags
  • [MESSAGE]
  • [TITLE]
  • [CANCEL_EVENT]
  1. Pro

Actions

Configuration file: actions.yml

Example

commands:
  "pl":
    actions:
      - "[MESSAGE] &7"
      - "[MESSAGE] &#FF0000&l            ! ERROR !"
      - "[MESSAGE] &#FF0000🚫 &#FF0000This Command Is Restricted! &#FF0000🚫"
      - "[MESSAGE] &7"
      - "[CANCEL_EVENT]"

Tags

[MESSAGE]

Sends a message to the player (supports PlaceholderAPI placeholders, '&' colors and HEX colors with format &#rrggbb)

Example:

commands:
  "test":
    actions:
      - "[MESSAGE] &aThis is a test message."
      - "[MESSAGE] &#c03afeT&#9e28f5h&#7d15edi&#5b03e4s &ais a test message."
      - "[MESSAGE] &e%player_name%&a, this is a test message."

[TITLE]

Sends a title to the player (supports PlaceholderAPI placeholders, '&' colors and HEX colors with format &#rrggbb)

Example:

commands:
  "test":
    actions:
      - "[TITLE] &aThis is a test title;&cAnd this a test subtitle"

[CANCEL_EVENT]

Cancels the command execution (recommended if you want to block it)

Example:

commands:
  "test":
    actions:
      - "[CANCEL_EVENT]"

Last updated 2 months ago