Plugin Actions
DISCORDSRV EMBED
Requires DiscordSRV: https://www.spigotmc.org/resources/discordsrv.18494/
It will send an embed message to a specific DiscordSRV channel. Use this format: discordsrv_embed: channel:<channel>;<property>:<value>;<propertyN>:<valueN;
# This will send an alert to an "admin" channel when a player
# uses the /plugins command.
example:
type: player_command
conditions:
- "%main_command% equalsIgnoreCase /plugins"
actions:
default:
- "discordsrv_embed: channel:admin;author_name:Suspicious Activity!;author_avatar:%player%;title:%player% used a forbidden command.;footer: This user has played on the server for: %statistic_time_played%.;description:Command used: %command%;color:255,0,0"
Last updated
Was this helpful?