Ancient-Broadcast

Ancient-Broadcast

AncientBroadcast. Easy Clean and Lagg-free!

139 downloads 1 followers

๐Ÿ“ข Ancient-Broadcast

Ancient-Broadcast is a modern, lightweight, and highly configurable broadcast plugin for Paper / Spigot 1.20+, built with Java 21.
โœจ Designed to be lag-free, scalable, and easy to manage for both small and large servers.

Ancient-Broadcast allows server owners to send professional-looking broadcasts to all online players, either automatically on a schedule โฑ๏ธ or manually via commands ๐Ÿง‘โ€๐Ÿ’ป. Everything can be configured in-game or via the configuration file.


๐Ÿงฉ What Ancient-Broadcast does

Ancient-Broadcast periodically sends messages (broadcasts) to all online players ๐Ÿ‘ฅ.

Every broadcast is always sent in the same clean format ๐Ÿงผ:

  • โž– one empty spacer line
  • ๐Ÿ“ข the broadcast message block (single-line or multi-line group)
  • โž– one empty spacer line

๐Ÿ”Š Optionally, a sound is played for all players when the broadcast is sent.
This keeps chat readable and prevents spam ๐Ÿšซ.


โœจ Features (complete and explained)

โฑ๏ธ Scheduled broadcasts

Each broadcast has its own scheduler and runs independently from others.
Supported interval units:

  • โฒ๏ธ SECONDS
  • โฐ MINUTES
  • ๐Ÿ•’ HOURS

This allows you to run multiple broadcasts at different intervals at the same time.


๐Ÿ” Rotation system

If a broadcast contains multiple messages or multiple groups, rotation can be enabled.

Rotation modes:

  • ๐Ÿ”ข SEQUENTIAL โ€“ messages or groups are sent in order
  • ๐ŸŽฒ RANDOM โ€“ a random message or group is selected each time

Rotation is controlled globally and can be enabled, disabled, and switched between modes.


โญ Grouped broadcasts (multi-line as ONE broadcast)

Grouped broadcasts allow multiple lines to be linked together and sent as one complete broadcast block.

๐Ÿ”„ Rotation happens per group, not per line.

Grouped broadcasts are ideal for:

  • ๐Ÿ’ก tips with multiple lines
  • ๐Ÿ“ฃ announcements
  • ๐Ÿท๏ธ server information blocks
  • ๐Ÿ”— messages containing clickable links

When sent, a grouped broadcast appears between one spacer line above and one spacer line below.


๐ŸŽจ Colors & formatting

Ancient-Broadcast supports both modern and classic formatting systems.

๐Ÿงฉ MiniMessage is fully supported, including colors, gradients, formatting, and click events.

๐ŸŽจ Minecraft & color codes are also supported:

  • &0 โ€“ &9
  • &a โ€“ &f
  • &l bold
  • &o italic
  • &n underline
  • &m strikethrough
  • &k magic
  • &r reset
  • ๐ŸŒˆ HEX colors using &#RRGGBB

MiniMessage and & color codes can be mixed in the same message.


๐Ÿ”— Clickable links & websites

Clickable links are supported using MiniMessage click events ๐Ÿ–ฑ๏ธ.

This allows linking:

  • ๐ŸŒ websites
  • ๐Ÿ’ฌ Discord invites
  • ๐Ÿ›’ web shops
  • ๐Ÿ”— any external URL

๐Ÿ”Š Sounds

Each broadcast can optionally play a sound ๐ŸŽต.

Sound features:

  • ๐Ÿ”‡ enable or disable sounds per broadcast
  • ๐Ÿ”” choose a custom sound per broadcast
  • ๐Ÿ”Š custom volume
  • ๐ŸŽš๏ธ custom pitch
  • ๐ŸŽ›๏ธ a global default sound

The default sound is also used by the broadcast-now command.

๐Ÿ“„ On first startup, the plugin automatically generates a sounds.yml file in the plugin folder.
This file contains all valid sound names you can use in the configuration or commands.


๐Ÿ”Œ PlaceholderAPI support

If PlaceholderAPI is installed, placeholders work automatically ๐Ÿงฉ.

Examples:

  • %player_name%
  • %vault_eco_balance%

Placeholders are resolved per player, meaning each player sees their own data ๐Ÿ‘ค.

PlaceholderAPI is optional โ€” the plugin works perfectly without it.


โšก Performance & optimization

Ancient-Broadcast is optimized to be fast and lag-free ๐Ÿš€:

  • โš™๏ธ uses the Paper scheduler
  • ๐Ÿšซ no blocking operations
  • ๐Ÿง  cached message parsing
  • ๐Ÿ” PlaceholderAPI only used if installed and needed
  • ๐Ÿ›ก๏ธ safe sound resolution (Paper 1.21+ compatible)

๐Ÿ“ฆ Requirements

  • โ˜• Java 21
  • ๐Ÿงฑ Paper / Spigot 1.20+ (Paper recommended)
  • ๐Ÿงฉ Optional: PlaceholderAPI

๐Ÿš€ Installation

1๏ธโƒฃ Download the Ancient-Broadcast jar file
2๏ธโƒฃ Place it into the server plugins folder
3๏ธโƒฃ Start the server once (generates config.yml and sounds.yml)
4๏ธโƒฃ Edit plugins/Ancient-Broadcast/config.yml
5๏ธโƒฃ Apply changes using /ab reload
6๏ธโƒฃ Enable broadcasting globally using /ab toggle

โš ๏ธ The plugin is disabled by default.


๐Ÿ” Permissions

All commands require OP or the following permission ๐Ÿ”‘:

ancientbroadcast.admin

Default: OP


๐Ÿง‘โ€๐Ÿ’ป Commands (complete list with explanation)

๐Ÿ“‹ General

  • /ab help โ€“ ๐Ÿ“– shows all available commands
  • /ab reload โ€“ ๐Ÿ”„ reloads the configuration file
  • /ab toggle โ€“ ๐Ÿ”Œ global enable or disable switch
  • /ab list โ€“ ๐Ÿ“„ lists all broadcasts and their status

๐Ÿ“ข Broadcast management

  • /ab add <id> โ€“ โž• create a new broadcast
  • /ab remove <id> โ€“ โŒ delete a broadcast
  • /ab enable <id> โ€“ โœ… enable a broadcast
  • /ab disable <id> โ€“ ๐Ÿšซ disable a broadcast

โœ๏ธ Message editing

  • /ab setmessage <id> <message> โ€“ โœ๏ธ set a single message (overwrites groups and messages)
  • /ab addline <id> <message> โ€“ โž• add a rotating single-line message
  • /ab clearlines <id> โ€“ ๐Ÿงน clear rotating messages

โญ Grouped broadcast management

  • /ab addgroup <id> โ€“ ๐Ÿ“ฆ add a new empty group
  • /ab addgroupline <id> <groupIndex> <message> โ€“ ๐Ÿ“ add a line to a group (groupIndex starts at 0)
  • /ab listgroups <id> โ€“ ๐Ÿ“Š list all groups and line counts

โฒ๏ธ Interval & scheduler

  • /ab setinterval <id> <value> <SECONDS|MINUTES|HOURS>

๐Ÿ”Š Sounds

  • /ab setsound <id> <on|off> [sound] [volume] [pitch]
  • /ab defaultsound <on|off> [sound] [volume] [pitch]

๐Ÿ” Rotation

  • /ab rotation <on|off>
  • /ab setmode <SEQUENTIAL|RANDOM>

๐Ÿงช Testing & instant broadcasts

  • /ab test <id> โ€“ โšก instantly sends the next broadcast
  • /ab broadcastnow <message> โ€“ ๐Ÿ“ข sends a one-time broadcast

โš™๏ธ Configuration overview

The configuration file contains the following sections ๐Ÿงพ:

  • ๐Ÿ”Œ Global enabled toggle
  • ๐Ÿ” Rotation settings (enabled and mode)
  • ๐Ÿ”Š Default sound settings (enabled, sound, volume, pitch)
  • ๐Ÿ“ข Broadcast definitions

Each broadcast contains:

  • โœ… enabled toggle
  • โฑ๏ธ interval value and unit
  • ๐Ÿ”Š sound settings
  • ๐Ÿ’ฌ message, messages, or groups

Message types:

  • ๐ŸŸข message โ€“ single-line broadcast
  • ๐Ÿ”ต messages โ€“ rotating single-line broadcasts
  • โญ groups โ€“ rotating multi-line broadcasts sent as one block

If groups are defined, message and messages are ignored.


โค๏ธ Support

Need help, found a bug, or have a feature request? ๐Ÿ› ๏ธ

  • ๐Ÿž Open an issue on Modrinth
  • ๐Ÿ’ฌ Or contact the author directly

Enjoy using Ancient-Broadcast ๐ŸŽ‰

No gallery available for this project.

Version Minecraft Loader Download

Ancient-Broadcast

1.0.3

1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
paper
Download