Configuration Preview
# config.yml
# Server identifier, required for group servers
server: "lobby"
# Custom server name
# Can be read using papi variable %playerChat_server_name% or internal variable ${serverName}
serverName: ""
# First time modifying language file requires restart
language: zh_CN
# Whether to enable update notifications, recommended to enable
isCheckUpdate: true
# Whether to send update notifications when OP logs in
isCheckUpdateToOpMsg: true
# Default channel for players after first login
# Note: If modified to other channel, grant corresponding permissions in advance: playerChat.chat.channel_name for viewing, playerChat.use.channel_name for using
firstLoginChatDefault: "default"
# Chat cooldown time (in seconds) (can be infinitely expanded and modified with sub-nodes, permission format: playerChat.chatTime.vip1)
# 0 means disabled
chatTime:
# Default player time
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
# Blacklist, keywords replaced with *
blacklist:
- 'fuck'
- 'shit'
- 'cao'
# chat.yml
# Item display
item:
# Whether enabled
enable: true
# Display format
format: "[i]"
# Content format
content: "&5[&aDisplayed an &f${item} &aClick to view&5]"
# Item name length limit, excess shown as ...
length: 6
# @ mention
at:
# Whether enabled
enable: true
# Sound list https://bukkit.windit.net/javadoc/org/bukkit/Sound.html
sound: "BLOCK_ANVIL_LAND"
# Chat management, channels can be infinitely added following the format below
# Custom channel permissions: playerChat.chat.channel_name for viewing, playerChat.use.channel_name for using
# Internal variables: ${player} player name, ${channel} channel name
chat:
# Default channel (DO NOT DELETE this channel)
default:
# Whether enabled
enable: true
# Channel name 1.0.6+
name: "&7[&aDefault Channel&7]"
# Chat format supports variables
format:
# Chat prefix
prefix:
text: '${channel}%playerTitle_use%'
# hover available for 1.16+
hover:
- '&8▪ &6Current chat channel: ${channel}'
- '&8▪ &6Click to execute command /spawn'
# Command to execute when clicked
click: '/spawn'
# Chat player name
player:
text: '&f${player}&7: '
hover:
- 'Quick click to tpa me~'
# Command to execute when clicked
click: '/tpa ${player}'
# Chat content
msg:
# Custom message prefix
text: '&f'
# Custom message content
content: '${message}'
hover:
- '&7Time: %server_time_h:mm:ss a%'
# Command to execute when clicked
click: ''
# Private message channel (DO NOT DELETE this channel)
tell:
# Whether enabled
enable: true
# Channel name
name: "&7[&aPrivate Message Channel&7]"
# Chat format supports variables
format:
# Chat prefix
prefix:
text: '${channel}%playerTitle_use%'
# hover available for 1.16+
hover:
- '&8▪ &6Current chat channel: ${channel}'
- '&8▪ &6Click to execute command /spawn'
# Command to execute when clicked
click: '/spawn'
# Chat player name
player:
text: '&f${player}&7: '
hover:
- 'Quick click to tpa me~'
# Command to execute when clicked
click: '/tpa ${player}'
# Chat content
msg:
# Custom message prefix
text: '&8&o${player} whispers to you: '
# Custom message content
content: '${message}'
hover:
- '&7Time: %server_time_h:mm:ss a%'
# Command to execute when clicked
click: ''
# VIP channel
vip:
# Whether enabled
enable: true
# Channel name
name: "&7[&aVIP Channel&7]"
# Chat format supports variables
format:
# Chat prefix
prefix:
text: '${channel}%playerTitle_use%'
# hover available for 1.16+
hover:
- '&8▪ &6Current chat channel: ${channel}'
- '&8▪ &6Click to execute command /spawn'
# Command to execute when clicked
click: '/spawn'
# Chat player name
player:
text: '&f${player}&7: '
hover:
- 'Quick click to tpa me~'
# Command to execute when clicked
click: '/tpa ${player}'
# Chat content
msg:
# Custom message prefix
text: '&f'
# Custom message content
content: '${message}'
hover:
- '&7Time: %server_time_h:mm:ss a%'
# Command to execute when clicked
click: ''
# Extended guild chat channel (requires PlayerGuild to work)
PlayerGuild:
# Whether enabled
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, visible only to guild members'
# Command to execute when clicked
click: ''
# Chat player name
player:
text: '&f${player}&7: '
hover:
- 'Quick click to tpa me~'
# Command to execute when clicked
click: '/tpa ${player}'
# Chat content
msg:
# Custom message prefix
text: '&f'
# Custom message content
content: '${message}'
hover:
- '&7Time: %server_time_h:mm:ss a%'
# Command to execute when clicked
click: ''
# lb.yml
# Megaphone management (can be infinitely expanded following the format below)
# &#FF0000 format can only be used in 1.16+
lb:
# Megaphone type - must be unique
Global Megaphone:
name: "&#FF0000全&#FF0033服&#FF0066大&#FF0099喇&#FF00B4叭"
enable: true
# rgb node, ${player} is the player name variable sending the message
rgb: "&#FF0000"
# Megaphone server range
server:
- "lobby1"
- "pvp"
# Text message
message:
enable: true
format:
- "&a------------------------"
- "${message}"
- "&a------------------------"
# Actionbar message, only available in 1.9+
actionbar:
enable: true
format: "${message}"
# Boss health bar message, only available in 1.13+
boss:
enable: true
# Health bar color https://bukkit.windit.net/javadoc/org/bukkit/boss/BarColor.html
color: "PINK"
# Health bar style https://bukkit.windit.net/javadoc/org/bukkit/boss/BarStyle.html
style: "SOLID"
time: 3
format: "${message}"
# Title message, only available in 1.9+
title:
enable: true
format: "${message}"