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.

📦 Example Configuration

actions:
 - broadcast:
   - '&fPlayer &a%player% &fperformed action'
 - message:
   - '&a&nCongratulations you performed an action'

Now let's take a look at what all actions this plugin offerswht a offers

📢 broadcast

Sends a message to all players on the server. Support Color

- broadcast:
   - '<message>'

💬 message

Sends a private message to the player who triggered the action. Support Color

- message:
   - '<message>'

📊 action-bar

Displays a short action bar message above the hotbar for the player. Support Color

🖥️ title

Displays a title and optional subtitle in the center of the player's screen. Support Color

Parameters:

  • fadeIn, stay, and fadeOut are measured in ticks (20 ticks = 1 second).

🔊 sound

Plays a sound effect to a player. Only works on Spigot/Bukkit

💻 console-cmd

Runs a command as the server console. Support Color

👤 player-cmd

Runs a command as the player. Support Color

🌐 discord

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

🧪 potion

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

🚫 remove-potion

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

💰 add-money

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

💸 remove-money

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

🕊️ fly

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

🎮 gamemode

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

Mode: CREATIVE, SURVIVAL, SPECTATOR, ADVENTURE

📋open-menu

You open the menu you have in the menu folder

Last updated