P_Alerta 图标

P_Alerta

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/p_alerta
资源信息

Minecraft 版本: 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9

平台: bukkit paper spigot

标签: decoration game-mechanics library

资源介绍

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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
AbsoluteVanish

价格:0 墨喵币
下载量:0

查看详情
Shozamaks Optimized

价格:0 墨喵币
下载量:0

查看详情
NetherLink

价格:0 墨喵币
下载量:0

查看详情
ETO's Mace

价格:0 墨喵币
下载量:0

查看详情