HomeJavaModsP_Alerta
P_Alerta
ModsJava

P_Alerta

by Mr_Haruki · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.6 · Bukkit⬇ Download for 1.8.3–1.8.9 · Bukkit⬇ Download for 1.21–1.21.6 · Paper⬇ Download for 1.8.4–1.8.9 · Paper⬇ Download for 1.21–1.21.6 · Spigot⬇ Download for 1.8.4–1.8.9 · Spigot
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
P_Alerta — screenshot 1P_Alerta — screenshot 2

P_Alerta Plugin – Description

The P_Alerta plugin provides a command for broadcasting customizable alert messages to all online players on a Minecraft server. Alerts are displayed as titles, subtitles, and action bar messages, with support for legacy color codes (&), MiniMessage formatting, PlaceholderAPI placeholders, and configurable sound effects. The plugin ensures all messages are correctly formatted and automatically truncated if they exceed the configured character limits.

Commands /alerta

Description: Sends an alert message to all online players. The title uses a configurable prefix (default: [ALERTA] in red), while the subtitle and action bar show the message provided by the sender.

Features:

Supports legacy color codes (&)

Supports MiniMessage modern formatting

Supports PlaceholderAPI placeholders (if installed)

Plays a configurable sound when the alert is sent

Automatically truncates oversized messages

Configurable action bar duration and refresh rate

Permission: p_alerta.alerta

Usage Examples

/alerta &cAtenção! Evento começará em 5 minutos! Sends a red alert saying “Atenção! Evento começará em 5 minutos!” to all players.

/alerta Manutenção programada às 14:00 Uses MiniMessage formatting to send a red maintenance alert.

Behavior

If no players are online, the command sender is notified.

If the message is empty, the sender receives a warning that the message cannot be empty.

Messages exceeding the configured maximum lengths (title-max-length, actionbar-max-length) are automatically shortened with ....

The action bar message persists for the configured duration (actionbar-duration-ticks) and refreshes every 0.2 seconds.

If PlaceholderAPI is enabled, placeholders in the message are replaced per player.

A configurable sound effect (alert-sound, sound-volume, sound-pitch) can be played for all players when sending an alert.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more