Skip to content

Commands

CommandPermissionDescriptionDefault
/tebexmessage helptebexmessage.helpDisplays the help menu with available commandstrue
/tebexmessage reloadtebexmessage.reloadReloads all plugin configuration filesOP
/tebexmessage argstebexmessage.argsShows all configured custom argumentsOP
/tebexmessage <template> arg(value)Console onlySends a purchase broadcast using a templateConsole

The main command used to simulate or send a purchase broadcast.

/tebexmessage <template> arg(value)

This command must be executed from console.

The <template> value must match a template defined in the configuration.

Example:

/tebexmessage one player(Senkex) package(VIP) price($10)

Explanation:

  • one → template name
  • player(Senkex) → player who purchased
  • package(VIP) → purchased package
  • price($10) → purchase price

The broadcast system will parse these arguments and inject them into the template placeholders.


Arguments used by the command are defined in the configuration.

Example:

customs-args:
- player
- package
- price

Each argument becomes a placeholder usable inside templates.

Usage inside messages:

{player}
{package}
{price}

If an argument is missing or invalid, the command will return an error.


Console command:

/tebexmessage one player(Senkex) package(ASTRO Rank) price($25)

Template used:

one

Placeholders replaced:

{player} → Senkex
{package} → ASTRO Rank
{price} → $25

The broadcast will then trigger all configured template features such as:

  • chat message
  • title
  • actionbar
  • bossbar
  • sound
  • reward event
  • Discord webhook

PermissionDescriptionDefault
tebexmessage.adminGrants access to all commands and bypasses permission checksOP