Code (YAML):
# ▒█▀▀█ ▒█▀▄▀█ ▒█▀▀▄ ▒█▀▄▀█ ▒█▀▀▀ ▒█▀▀▀█ ▒█▀▀▀█ ░█▀▀█ ▒█▀▀█ ▒█▀▀▀ ▒█▀▀▀█
# ▒█░░░ ▒█▒█▒█ ▒█░▒█ ▒█▒█▒█ ▒█▀▀▀ ░▀▀▀▄▄ ░▀▀▀▄▄ ▒█▄▄█ ▒█░▄▄ ▒█▀▀▀ ░▀▀▀▄▄
# ▒█▄▄█ ▒█░░▒█ ▒█▄▄▀ ▒█░░▒█ ▒█▄▄▄ ▒█▄▄▄█ ▒█▄▄▄█ ▒█░▒█ ▒█▄▄█ ▒█▄▄▄ ▒█▄▄▄█
# Prefix for all command fallback messages. (Default gradient string [AutoBroadcast] created with https://www.birdflop.com/resources/rgb/)
prefix
:
"§x§E§F§3§4§3§4[§x§F§0§3§5§3§3A§x§F§1§3§7§3§3u§x§F§1§3§8§3§2t§x§F§2§3§9§3§2o§x§F§3§3§A§3§1B§x§F§4§3§C§3§0r§x§F§4§3§D§3§0o§x§F§5§3§E§2§Fa§x§F§6§4§0§2§Fd§x§F§7§4§1§2§Ec§x§F§8§4§2§2§Da§x§F§8§4§3§2§Ds§x§F§9§4§5§2§Ct§x§F§A§4§6§2§BP§x§F§B§4§7§2§Bl§x§F§B§4§8§2§Au§x§F§C§4§A§2§As§x§F§D§4§B§2§9] §f"
# This message will be sent to players who don't have permission for a certain action.
no-permission
:
"&cYou are not allowed to do that!"
# This message will be sent to players if they misuse the usage syntax of the AutoBroadcastPlus command.
usage
:
"&cCorrect usage: /abp <reload/test> [<ID for testing>]"
# This message will be sent to players if they try to use "/abp test <id>", where the ID is not defined in this configuration.
non-existing-announcement
:
"&cThis ID doesn't exist."
# This message will be sent to player before showing the "test" of an announcement. You can use %ID% to return the ID of the tested announcement.
testing
:
"&aTesting announcement: &e%ID%"
# Success message after reloading the plugin.
reloaded
:
"&aPlugin has been successfully reloaded."
# ░█▀▀█ ▒█▄░▒█ ▒█▄░▒█ ▒█▀▀▀█ ▒█░▒█ ▒█▄░▒█ ▒█▀▀█ ▒█▀▀▀ ▒█▀▄▀█ ▒█▀▀▀ ▒█▄░▒█ ▀▀█▀▀ ▒█▀▀▀█
# ▒█▄▄█ ▒█▒█▒█ ▒█▒█▒█ ▒█░░▒█ ▒█░▒█ ▒█▒█▒█ ▒█░░░ ▒█▀▀▀ ▒█▒█▒█ ▒█▀▀▀ ▒█▒█▒█ ░▒█░░ ░▀▀▀▄▄
# ▒█░▒█ ▒█░░▀█ ▒█░░▀█ ▒█▄▄▄█ ░▀▄▄▀ ▒█░░▀█ ▒█▄▄█ ▒█▄▄▄ ▒█░░▒█ ▒█▄▄▄ ▒█░░▀█ ░▒█░░ ▒█▄▄▄█
# This is the main section for all your announcements.
# Each announcement is defined by a unique ID (e.g., 'welcome_message', 'daily_tips').
announcements
:
# --- Announcement 1: Welcome Message with Interactive Features ---
welcome_message
:
# How often this announcement should be displayed, in seconds.
# 300 seconds = 5 minutes.
interval
: 300
# Optional: A permission node required for players to see this announcement.
# If left empty (""), all players will see it.
# Example: "myplugin.see.welcome"
permission
:
""
# A list of worlds where this announcement should appear.
# Use '*' to display in all worlds.
# Example: ['world', 'lobby']
worlds
:
- '*'
# The sequence of actions that make up this announcement.
# Actions are executed in the order they appear here.
execute
:
# Send a chat message with standard Minecraft color codes.
- '<chat>&a&lWELCOME! &r&fThanks for joining our server,
%player_name%! Enjoy your stay!</chat>'
# Wait for 2 seconds (40 ticks, as 20 ticks = 1 second) before the next action.
- '<wait:40>'
# Send a title and subtitle to the player's screen.
- '<title>&6&lHello Adventurer!</title><subtitle>&eExplore, Build, Survive!</subtitle>'
# Play a sound effect. Format: <sound:SOUND_NAME:volume:pitch>
# Use TAB + F3 in-game to see sound names. Volume and pitch are optional (default to 1.0).
- '<sound:ENTITY_EXPERIENCE_ORB_PICKUP:0.8:1.2>'
# Send a clickable JSON message to chat. This allows for complex text formatting,
# hover effects, and click actions (like opening a URL or running a command).
- '<chat><json>
{
"text":
"[Click here to visit our Website!]",
"color":
"aqua",
"bold":true,
"clickEvent":
{
"action":
"open_url",
"value":
"https://yourserver.com"
},
"hoverEvent":
{
"action":
"show_text",
"contents":
"Click to open the server website!"
}
}</json></chat>'
# Wait for another 3 seconds.
- '<wait:60>'
# Send a message to the player's action bar (above their hotbar).
- '<actionbar>&bRemember to read the rules at /rules!</actionbar>'
# --- Announcement 2: Random Daily Tip ---
daily_server_tips:
interval
: 900
# Every 15 minutes
permission
:
""
worlds
:
- '*'
execute
:
# The <random> and </random> tags define a block where only ONE action
# within this block will be randomly chosen and executed each time the announcement runs.
- '<random>'
# This is one possible chat tip.
- '<chat>&b&lServer Tip
:
&r&fDon''t forget to claim your daily rewards by typing &a/daily</chat>'
# This is another possible chat tip.
- '<chat>&b&lServer Tip
:
&r&fCheck out our discord for updates! &9/discord</chat>'
# This is a group of actions. When chosen randomly, ALL actions inside this <group>
# and </group> block will be executed sequentially as if they were a single random choice.
- '<group>'
- '<chat>&b&lServer Tip
:
&r&fConsider donating to support the server!</chat>'
- '<actionbar>&eGet exclusive perks at our store! &a/store</actionbar>'
- '</group>'
# End of the group block.
# Another individual random chat tip.
- '<chat>&b&lServer Tip
:
&r&fProtect your builds with a claim! Use &a/kit starter_tools</chat>'
# End of the random block.
- '</random>'
# --- Announcement 3: VIP Perk Highlight ---
vip_perk_highlight:
interval
: 1200
# Every 20 minutes
# Only players with the 'autobroadcast.vipannouncement' permission will see this.
permission
:
"autobroadcast.vipannouncement"
worlds
:
- 'spawn'
- 'world'
# Only in these specific worlds
execute
:
# Play a distinct sound for VIP announcements.
- '<sound:ENTITY_EXPERIENCE_ORB_PICKUP:1.0:2.0>'
# A chat message highlighting a VIP perk.
- '<chat>&d&lVIP Perk
:
&r&fVIP members enjoy exclusive access to &b/fly &fand priority queue!</chat>'
- '<wait:30>'
# Wait 1.5 seconds.
# A clickable JSON message leading to the store.
- '<chat><json>
{
"text":
"[Upgrade to VIP Today!]",
"color":
"light_purple",
"bold":true,
"clickEvent":
{
"action":
"open_url",
"value":
"https://yourstore.com/vip"
},
"hoverEvent":
{
"action":
"show_text",
"contents":
"Click to see VIP ranks!"
}
}</json></chat>'
# --- Announcement 4: Server Event Countdown (Using Groups & Waits) ---
event_countdown:
interval
: 1800
# Every 30 minutes (could be triggered by a command for events)
permission
:
""
worlds
:
- '*'
execute
:
# This group creates a sequence of actions for a mini-countdown effect.
- '<group>'
- '<sound:BLOCK_BELL_USE:1.0:0.8>'
- '<title>&eEvent Starting Soon!</title><subtitle>&fGet Ready!</subtitle>'
- '</group>'
- '<wait:20>'
# Wait 1 second after the first message/sound.
- '<actionbar>&6Event starts in 5 minutes! Head to the /warp eventarena</actionbar>'
- '<wait:40>'
# Wait 2 seconds.
- '<sound:BLOCK_BELL_USE:1.0:1.0>'
- '<chat>&a&lPvP Arena Event &r&fis about to begin! Final call!</chat>'
# --- Announcement 5: Discord & Vote Promotion ---
discord_vote_promo:
interval
: 2400
# Every 40 minutes
permission
:
""
worlds
:
- '*'
execute
:
- '<random>'
# Pick one of these two options randomly.
- '<chat>&9&lJoin our Discord! &r&fStay connected with the community and get support
:
&b/discord</chat>'
- '<group>'
# This group promotes voting, with multiple elements.
- '<chat>&c&lSupport us! &r&fVote for the server daily and earn rewards!</chat>'
- '<sound:ENTITY_VILLAGER_TRADE:0.7:1.5>'
- '<actionbar>&aClick to Vote
: /vote</actionbar>'
- '<chat><json>
{
"text":
"[Click here to VOTE!]",
"color":
"green",
"bold":true,
"clickEvent":
{
"action":
"open_url",
"value":
"https://yourserver.com/vote"
},
"hoverEvent":
{
"action":
"show_text",
"contents":
"Support the server & get rewards!"
}
}</json></chat>'
- '</group>'
- '</random>'