Configuration Preview
# config.yml
# First modification of language file requires restart to take effect
language: zh_CN
# Sub-server identifier, group servers need to configure this first
server: "lobby"
# Custom name for sub-server
# Can be read using PAPI variable %playerChat_server_name% or internal variable ${serverName}
serverName: ""
# Aliases for /plc tell command
tellAlias:
- "/tell"
- "/msg"
# Default channel for players' first login
# Note: If changed to another channel, please grant the corresponding permissions in advance. View: playerChat.chat.channelName Use: playerChat.use.channelName
firstLoginChatDefault: "default"
# AI review settings
ai:
# Whether to enable
enable: false
# Maximum AI warnings per day
chatMaxCount: 3
# Number of successful AI votes required
voteMaxNumber: 5
# Commands to execute after successful AI vote
command:
- "cmi mute ${player} 5m"
- "lb Server Announcement &a${player}&c has been voted to mute for 5 minutes due to violation of chat rules"
# Chat cooldown time (in seconds) (can infinitely expand and modify child nodes, permission format: playerChat.chatTime.vip1)
# 0 means disabled
chatTime:
# Default time for players
default: 0
# VIP1 limit requires permission playerWarp.delayTime.vip1
vip1: 0
# VIP2 limit requires permission playerWarp.delayTime.vip2
vip2: 0
# VIP3 limit requires permission playerWarp.delayTime.vip3
vip3: 0
# Chat blacklist
blacklist:
- '操'
- '草'
- 'cao'
- '%'
# Whether to enable update notifications, recommended to enable
isCheckUpdate: true
# Whether to send update notifications to OPs on login
isCheckUpdateToOpMsg: true
# chat.yml
# Item display
item:
# Whether to enable
enable: true
# Display format
format: "[i]"
# Content format
content: "&5[&aShowing item &f${item} &aClick to view&5]&r"
# Item name length limit, excess will show as...
length: 6
# @ Mention
at:
# Whether to enable
enable: true
# Sound list https://bukkit.windit.net/javadoc/org/bukkit/Sound.html
sound: "BLOCK_ANVIL_LAND"
# Whether to keep @ symbol
keepAt: false
# Default color for @
atColor: "&9"
# Chat management, channels can be infinitely added according to the format below
# Custom channel permissions View: playerChat.chat.channelName Use: playerChat.use.channelName
# Internal variables ${player} player name ${channel} channel name
chat:
# Default channel (do not delete this channel)
default:
# Whether to enable
enable: true
# Channel name 1.0.6+
name: "&7[&aDefault Channel&7]"
# Chat format supports variables
format:
# Chat prefix
prefix:
text: '${channel}%playerTitle_use%'
# Available for 1.16+
hover:
- '&8▪ &6Current chat channel: ${channel}'
- '&8▪ &6Click to execute command /spawn'
# Command to execute on click
click: '/spawn'
# Chat player name
player:
text: '&f${player}&7: '
hover:
- 'Click tpa to me!'
# Command to execute on click
click: '/tpa ${player}'
# Chat message
msg:
text: '&f${message}'
hover:
- '&7Time: %server_time_h:mm:ss a%'
# Command to execute on click
click: ''
# Private message channel (do not delete this channel)
tell:
# Whether to enable
enable: true
# Channel name
name: "&7[&aPrivate Message Channel&7]"
# Chat format supports variables
format:
# Chat prefix
prefix:
text: '${channel}%playerTitle_use%'
# Available for 1.16+
hover:
- '&8▪ &6Current chat channel: ${channel}'
- '&8▪ &6Click to execute command /spawn'
# Command to execute on click
click: '/spawn'
# Chat player name
player:
text: '&f${player}&7: '
hover:
- 'Click tpa to me!'
# Command to execute on click
click: '/tpa ${player}'
# Chat message
msg:
text: '&f${message}'
hover:
- '&7Time: %server_time_h:mm:ss a%'
# Command to execute on click
click: ''
# VIP channel
vip:
# Whether to enable
enable: true
# Channel name
name: "&7[&aVIP Channel&7]"
# Chat format supports variables
format:
# Chat prefix
prefix:
text: '${channel}%playerTitle_use%'
# Available for 1.16+
hover:
- '&8▪ &6Current chat channel: ${channel}'
- '&8▪ &6Click to execute command /spawn'
# Command to execute on click
click: '/spawn'
# Chat player name
player:
text: '&f${player}&7: '
hover:
- 'Click tpa to me!'
# Command to execute on click
click: '/tpa ${player}'
# Chat message
msg:
text: '&f${message}'
hover:
- '&7Time: %server_time_h:mm:ss a%'
# Command to execute on click
click: ''
# Extended guild chat channel (requires PlayerGuild to work)
PlayerGuild:
# Whether to enable
enable: true
# Channel name
name: "&7[&aGuild Channel&7]"
# Chat format supports variables
format:
# Chat prefix
prefix:
text: '${channel}%playerGuild_show_name%'
hover:
- '&8▪ &6Current chat channel: ${channel}'
- '&8▪ &6Guild chat channel, only visible to guild members'
# Command to execute on click
click: ''
# Chat player name
player:
text: '&f${player}&7: '
hover:
- 'Click tpa to me!'
# Command to execute on click
click: '/tpa ${player}'
# Chat message
msg:
text: '&f${message}'
hover:
- '&7Time: %server_time_h:mm:ss a%'
# Command to execute on click
click: ''