BBAds
作者:rebot | 分类:模组
Minecraft 版本: 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 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.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8
平台: bukkit paper purpur spigot
标签: decoration game-mechanics utility
BBAds - Enhance Player Engagement with Dynamic BossBar Messages
BBAds is a Minecraft plugin designed to enhance player engagement by displaying dynamic information in the BossBar. This plugin offers a range of features to keep players informed and entertained, improving the overall server experience.
Key Features:
- Server Advertisements: Automatically rotates predefined messages from the
config.ymlfile. This allows you to display important server information to all players. - Player Advertisements: Players with the appropriate permission can display custom messages in the BossBar for a limited time.
- Administrative Control: Enable/disable server ads, mute abusive players, and reload the configuration without restarting the server.
- Mute System: Allows administrators to prevent specific players from sending messages to the BossBar.
- Curse Word Filter: Filters unwanted words and phrases using regular expressions defined in the
regex.ymlfile. - Logging: Records all messages sent to the BossBar in a log file for moderation and analysis purposes.
Commands:
Player Commands:
/bb <time> <bossbar_color> <text_color> <message>- Sends a custom message to the BossBar.<time>: The duration (in seconds) for which the message will be displayed.<bossbar_color>: The color of the BossBar (e.g.,BLUE,RED,GREEN).<text_color>: The color of the message text (e.g.,AQUA,YELLOW).<message>: The text to display.- Example:
/bb 10 RED YELLOW Check out my shop!
Administrator Commands:
/bb mute <player> [time]- Mutes a player, preventing them from sending messages. If no time is specified, the mute is permanent until the player is unmuted./bb unmute <player>- Unmutes a player./bossbarad <on|off|stop|reload>- Server management commands.on: Enables automatic server advertisements.off: Disables server advertisements.stop: Stops all BossBars immediately.reload: Reloads settings from theconfig.ymlandregex.ymlfiles.
Permissions:
bossbarads.use: Allows a player to use the/bbcommand.bossbarads.kd.15: Allows sending messages for 15 seconds.bossbarads.kd.30: Allows sending messages for 30 seconds.bossbarads.kd.60: Allows sending messages for 60 seconds.bossbarads.kd.120: Allows sending messages for 120 seconds.bossbarads.kd.unlimited: Allows sending messages with no time limit.bossbarads.admin: Grants access to administrator commands.
Configuration (config.yml):
enable_logging: true # Enable or disable logging
alternate_ads: true # Alternate between player and server ads
bossbar_id: "ads" # ID of the BossBar (recommended not to change)
player_ads_interval: # Interval between player ads (in seconds)
min: 15
max: 60
server_ads_interval: # Interval between server ads (in seconds)
min: 30
max: 60
server_ads: # List of server advertisements
- "&aJoin us, it's fun here!"
- "&eSubscribe to our Discord!"
muted_players: # List of muted players
player1: 0 # player1 is muted permanently (until unmuted)
player_ad_format: "§7§o%name%§r: %message%" # Format of player advertisements.
%name% - player's name
%message% - player's message
Curse Word Filter (regex.yml):
regex: # List of words and phrases to filter
- "bad_word1"
- "bad_word2"
- ".website\\.com." # Block websites
Installation:
- Download the
.jarfile of the plugin. - Place the
.jarfile into thepluginsfolder of your Minecraft server. - Start the server.
- Configure the
config.ymlandregex.ymlfiles to your liking.
Dependencies:
- Spigot or Paper (or another server that supports Bukkit/Spigot plugins)
请登录后举报
暂无评论,抢个沙发吧~