TChat
Tect.host
  • Introduction
  • General
    • Addons
    • Basic chat
    • Commands and permissions
    • Utils
    • Placeholders
  • Autobroadcast
    • Configuration
    • Command
  • BannedCommands
    • Configuration
    • Command
  • BannedWords
    • Configuration
    • Command
  • Channels
    • Configuration
    • Command
  • Chat Color
    • Configuration
    • Command
    • Menu
  • Chat Games
    • Configuration
      • Key words
    • Command
  • Custom Commands
    • Configuration
      • Conditionals
      • Loops
  • Ignore
    • Configuration
    • Command
  • Invsee
    • Configuration
  • Levels
    • Configuration
  • Me formatter
    • Configuration
    • Command
  • Polls
    • Configuration
    • Command
  • Print formatter
    • Configuration
    • Command
  • Show Ender Chest
    • Configuration
  • Tags
    • Configuration
    • Menu configuration
    • Command
  • Worlds
    • Configuration
Powered by GitBook
On this page
  • General tags
  • [MESSAGE]
  • [DEBUG]
  • [GLOBAL]
  • [BROADCAST]
  • [WARNING]
  • [ANNOUNCEMENT]
  • [TITLE]
  • [PLAYER_COMMAND]
  • [CONSOLE_COMMAND]
  • [SOUND]
  • [PARTICLE]
  • [TELEPORT]
  • [ACTION_BAR]
  • [INVENTORY]
  • [POTION_EFFECT]
  • [BUNGEECORD]
  • [CLICK_ACTION]
  • [CHATCOLOR]
  • [MUTE]
  • [SLEEP]
  • [XP]
  • [LEVEL]
  1. Custom Commands

Configuration

All messages in chat or titles, etc... are supported with & colors, HEX (&#rrggbb) colors and PlaceholderAPI.

General tags

[MESSAGE]

Send a message to the player

Example:

- "[MESSAGE] &aThis a test &#c03afem&#af31fae&#9e28f5s&#8e1ff1s&#7d15eda&#6c0ce8g&#5b03e4e for %player_name%" 

[DEBUG]

Send a message to the console

Example:

- "[DEBUG] This is a test message to the console"

[GLOBAL]

Sends a message without format to all players

Example:

- "[GLOBAL] This is a global message"

[BROADCAST]

Sends a TChat broadcast to all players

Example:

- "[BROADCAST] This is a broadcast message with the TChat format"

[WARNING]

Sends a TChat warning to all players

Example:

- "[WARNING] This is a warning message with the TChat format"

[ANNOUNCEMENT]

Sends a TChat announcement to all players

Example:

- "[ANNOUNCEMENT] This is a announcement message with the TChat format"

[TITLE]

Send a title and subtitle to the player

Example:

- "[TITLE] Title:subtitle"

[PLAYER_COMMAND]

Execute a command as a player

Example:

- "[PLAYER_COMMAND] warp survival"

[CONSOLE_COMMAND]

Execute a command as a console

Example:

- "[CONSOLE_COMMAND] kill {player}"

[SOUND]

Plays a sound when executing the command

Example:

- "[SOUND] AMBIENT_CRIMSON_FOREST_MOOD"

[PARTICLE]

Executes a particle at the player's coordinates when executing the command

Example:

- "[PARTICLE] CHERRY_LEAVES"

[TELEPORT]

Teleports the player to a specific coordinate when executing the command

Example:

- "[TELEPORT] world;54;70;23"

[ACTION_BAR]

Displays an action bar when executing the command

Example:

- "[ACTION_BAR] &bThis a test action bar!"

[INVENTORY]

Interacts with the player's inventory

ADD - Add an item to the player's inventory REMOVE - Removes an item from player's inventory CHANGE- Checks to see if he has the first item and if he does, removes it and gives him the second item

Example:

- "[INVENTORY] ADD DIRT 1"
- "[INVENTORY] REMOVE APPLE 1"
- "[INVENTORY] CHANGE DIRT 1 GRASS_BLOCK 1"

[POTION_EFFECT]

Interacts with player's potion effects (add/remove)

Example:

- "[POTION_EFFECT] ADD SPEED:240:2"

(240 = time in seconds | 2 = effect level)

[BUNGEECORD]

Moves a server from the bungeecord to the player when executing a command

Example:

- "[BUNGEECORD] lobby"

[CLICK_ACTION]

Send a message with action on click (Text Component)

Example:

- "[CLICK_ACTION] OPEN https://tect.host/ | Click here to go to tect.host
- "[CLICK_ACTION] EXECUTE /msg %player% This is a test MSG from TChat by Tect.host | Click here to execute a test command
- "[CLICK_ACTION] SUGGEST /spawn | Click here to get a suggested command

[CHATCOLOR]

Sets the color or format of the executing player

COLOR - Sets the color in chatcolor FORMAT - Sets the format in chatcolor

Example:

- "[CHATCOLOR] COLOR &2"
- "[CHATCOLOR] FORMAT &l"

[MUTE]

Mutes the executing player

Duration:

  • s = seconds

  • m = minutes

  • h = hours

  • d = days

  • w = weeks

  • M = months

Example:

- "[MUTE] 5m"
- "[MUTE] -1"

[SLEEP]

Wait a specified number of seconds, ticks or ms before proceeding with actions

Example:

- "[SLEEP] 5s"
- "[SLEEP] 100t"
- "[SLEEP] 5000ms"

[XP]

Adds a removes an amount of XP from chat levels

Example:

- "[XP] ADD 5"
- "[XP] REMOVE 10"
- "[XP] SET 90"

[LEVEL]

Adds a removes an amount of level from chat levels

Example:

- "[LEVEL] ADD 5"
- "[LEVEL] REMOVE 10"
- "[LEVEL] SET 90"

Last updated 8 months ago