config.yml
# ====================================================================================================
#
# PrimeChat Configuration File
#
# Thank you for using PrimeChat, a premium plugin by AntiMalware.
# This file contains all the settings for the plugin, allowing deep customization.
#
# Credits: Zivush Development Service
# For support, please join our Discord server: https://discord.gg/XTcKTG6vZP
#
# Placeholders: You can use PlaceholderAPI placeholders in any message.
# - %player_name% for the player's name.
# - %vault_rank% for the player's rank (requires Vault).
# - And many more! Visit the PlaceholderAPI eCloud for a full list.
#
# Colors & Formatting:
# - Use '&' for classic color codes (e.g., &c for red).
# - Use Hex colors for modern, vibrant colors: &#RRGGBB.
# - Create stunning gradients: <#FF0000>Text</#FF5500> -> <#FFAA00>Text</#FFFF00>
#
# ====================================================================================================
# General plugin settings
settings:
# If true, some messages (defined below) will be centered in chat for better visibility.
center-messages:
enabled: true
# A list of message paths from messages.yml that should be centered.
messages-to-center:
- "chat.cleared"
- "chat.locked"
- "chat.unlocked"
# Settings related to the public chat channel.
chat:
# Format for public chat messages. Use %player_name% and %message%.
# Example with a sleek, modern look.
format: "&#E0E0E0<%rank%&r&#E0E0E0> %player_name% 󙀸»&#FDFDFD %message%"
# Settings for the hover text that appears when you mouse over a player's name in chat.
hover:
enabled: true
# The lines of text to show in the hover box.
lines:
- "�BFFF&lPlayer Information"
- ""
- "&#FFA500Player: &#FFFFFF%player_name%"
- "&#FFA500Rank: &#FFFFFF%rank%"
- "&#FFA500Money: &#FFFFFF%vault_eco_balance_formatted%"
- "&#FFA500Health: &#FFFFFF%player_health%/%player_max_health%"
# Settings for private messaging (/msg, /reply).
private-messaging:
# The format of the message shown to the person sending the private message.
# Use %receiver% for the recipient's name and %message% for the message content.
sender-format: "&#FF69B4&o(To %receiver%)&r&#D3D3D3: %message%"
# The format of the message shown to the person receiving the private message.
# Use %sender% for the sender's name and %message% for the message content.
receiver-format: "&#FF69B4&o(From %sender%)&r&#D3D3D3: %message%"
# Security features to protect your server's chat.
security:
# Anti-spam settings to prevent players from flooding the chat.
anti-spam:
enabled: true
# The time in seconds a player must wait between messages.
cooldown: 3
# Block certain words or phrases from being said in chat.
blocked-words:
enabled: true
# The list of words to block. Not case-sensitive.
words:
- "badword1"
- "badword2"
- "inappropriate"
# Settings for locking the chat.
chat-lock:
# When true, only players with the 'primechat.bypass.lock' permission can talk.
is-locked: false
# Anti-advertising settings to prevent players from spamming links/IPs.
anti-advertising:
enabled: true
# Automatically block all IPv4 addresses (e.g., 123.456.789.0).
block-ipv4: true
# Automatically block all domain names (e.g., example.com).
block-domains: true
# Automatically block all web links (e.g., http://example.com).
block-links: true
# Where to detect advertisements.
detection:
# Detect in public chat messages.
chat: true
# Detect in commands.
commands: true
# Detect on signs.
signs: true
# Message shown when a player tries to advertise.
message: "&#FF4747✖ Advertising is not allowed on this server!"
Last updated