Actions

This wiki provides documentation on the available actions that can be configured in the TravelingMerchant plugin for purposes such as sending messages, playing sounds, executing commands, and more.

Runs a command as the server console. Support Color

- console-cmd:
    - '<command>'

👤 player-cmd

Runs a command as the player. Support Color

- player-cmd:
    - '<command>'

🌐 discord

Sends a message or embed to Discord via plugin-integrated webhooks or bots.

- discord:
    json: '<JSON embed>'

🧪 potion

Applies a potion effect to the player. Only available for spigot

- potion: '<effect_type>;<duration>;<amplifier>'

🚫 remove-potion

Removes a specific potion effect from the player. Only available for spigot

- remove-potion: '<effect_type>'

💰 add-money

Adds money to the player’s balance (requires an economy plugin like Vault). Only available for spigot

- add-money: <amount>

💸 remove-money

Removes money from the player’s balance. Only available for spigot

- remove-money: <amount>

🕊️ fly

Enables or disables fly mode for the player. Only available for spigot

- fly: <true|false>

🎮 gamemode

Changes the player’s game mode. Only available for spigot

Mode: CREATIVE, SURVIVAL, SPECTATOR, ADVENTURE

- gamemode: '<mode>' 

🥊knockback

You throw a player to the back

- knocback: '<strength;<height>'

🥊launch

You throw a player to the front

- launch: '<strength;<height>'

Last updated