214 lines
6.5 KiB
Plaintext
214 lines
6.5 KiB
Plaintext
# Used internally to track changes to the config. Do not edit manually!
|
|
config-version=1
|
|
# The default locale for plugin messages.
|
|
default-locale="en_US"
|
|
# The default channel that new players will be in when they join.
|
|
# If the channel is not found or the player cannot use the channel, they will speak in basic non-channel chat.
|
|
default-channel="carbon:global"
|
|
# Returns you to the default channel when you use a channel's command while you have that channel active.
|
|
return-to-default-channel=false
|
|
# The service that will be used to store and load player information.
|
|
# One of: JSON, H2, MYSQL, PSQL
|
|
# Note: If you choose MYSQL or PSQL make sure you configure the "database-settings" section of this file!
|
|
storage-type=JSON
|
|
# When "storage-type" is set to MYSQL or PSQL, this section configures the database connection.
|
|
# If JSON or H2 storage is used, this section can be ignored.
|
|
database-settings {
|
|
# JDBC URL. Suggested defaults for each DB:
|
|
# MySQL: jdbc:mysql://host:3306/DB
|
|
# MariaDB: jdbc:mariadb://host:3306/DB
|
|
# PostgreSQL: jdbc:postgresql://host:5432/database
|
|
url="jdbc:mysql://localhost:3306/carbon"
|
|
# The connection username.
|
|
username=username
|
|
# The connection password.
|
|
password=password
|
|
# Settings for the connection pool. This is an advanced configuration that most users won't need to touch.
|
|
connection-pool {
|
|
maximum-pool-size=8
|
|
minimum-idle=8
|
|
maximum-lifetime=1800000
|
|
keepalive-time=0
|
|
connection-timeout=30000
|
|
}
|
|
}
|
|
# Settings for cross-server messaging
|
|
messaging-settings {
|
|
# Whether cross-server messaging is enabled
|
|
enabled=false
|
|
# One of: RABBITMQ, NATS, REDIS
|
|
broker-type=NONE
|
|
url="127.0.0.1"
|
|
port=5672
|
|
# RabbitMQ VHost
|
|
vhost="/"
|
|
# NATS credentials file
|
|
credentials-file=""
|
|
# RabbitMQ username
|
|
username=username
|
|
# RabbitMQ and Redis password
|
|
password=password
|
|
}
|
|
nickname-settings {
|
|
# Whether Carbon's nickname management should be used. Disable this if you wish to have another plugin manage nicknames.
|
|
use-carbon-nicknames=true
|
|
# Paper only. Updates the player's display name in the tab list to match their nickname.
|
|
update-tab-list=true
|
|
# Minimum number of characters in nickname (excluding formatting).
|
|
min-length=3
|
|
# Maximum number of characters in nickname (excluding formatting).
|
|
max-length=16
|
|
black-list=[
|
|
notch,
|
|
admin
|
|
]
|
|
# Regex pattern nicknames must match in order to be applied, can be bypassed with the permission 'carbon.nickname.filter'.
|
|
filter="^[a-zA-Z0-9_]*$"
|
|
# Format used when displaying nicknames.
|
|
format="<nickname>"
|
|
# Whether to skip applying 'format' when a nickname matches a players username, only differing in decoration.
|
|
skip-format-when-name-matches=true
|
|
}
|
|
# Plugin-wide custom placeholders.
|
|
# These will be parsed in all messages rendered and sent by Carbon.
|
|
# This includes chat, command feedback, and others.
|
|
# Make sure to close your tags so they do not bleed into other formats.
|
|
# Only a single pass is done so custom placeholders will not work within each other.
|
|
custom-placeholders {
|
|
fire="🔥"
|
|
100="💯"
|
|
ok_hand="👌"
|
|
thumbs_up="👍"
|
|
thumbs_down="👎"
|
|
tada="🎉"
|
|
heart="❤"
|
|
broken_heart="💔"
|
|
joy="😂"
|
|
rofl="🤣"
|
|
sweat_smile="😅"
|
|
sunglasses="😎"
|
|
point_left="👈"
|
|
point_right="👉"
|
|
point_up="👆"
|
|
point_down="👇"
|
|
gun="🔫"
|
|
angry="😠"
|
|
cry="😢"
|
|
sob="😭"
|
|
poop="💩"
|
|
innocent="😇"
|
|
smile="😄"
|
|
upside_down="🙃"
|
|
melting_face="🫠"
|
|
thinking="🤔"
|
|
partying_face="🥳"
|
|
smirk="😏"
|
|
confused="😕"
|
|
wink="😉"
|
|
sleeping="😴"
|
|
eye="👁"
|
|
eyes="👀"
|
|
skull="💀"
|
|
cat="🐈"
|
|
dog="🐕"
|
|
saluting_face="🫡"
|
|
shrugging="🤷"
|
|
clown="🤡"
|
|
middle_finger="🖕"
|
|
facepalm="🤦"
|
|
walking="🚶"
|
|
star="⭐"
|
|
droplet="💧"
|
|
eggplant="🍆"
|
|
bulb="💡"
|
|
money_bag="💰"
|
|
smoking="🚬"
|
|
knife="🔪"
|
|
headstone="🪦"
|
|
microscope="🔬"
|
|
no_entry="⛔"
|
|
prohibited="🚫"
|
|
warning="⚠"
|
|
zzz="💤"
|
|
notes="🎶"
|
|
tm="™"
|
|
c="©"
|
|
r="®"
|
|
box="☐"
|
|
cross_box="☒"
|
|
check_box="☑"
|
|
dead="😵"
|
|
distorted=""
|
|
aerial_tramway="🚡"
|
|
sparkles="✨"
|
|
shrug="¯\\_(ツ)_/¯"
|
|
owo="❍⩊❍"
|
|
yay="◝(ᵔᗜᵔ)◜"
|
|
lenny="( ͡° ͜ʖ ͡°)"
|
|
annoyed="ಠ_ಠ"
|
|
fuck="ʞɔnɟ"
|
|
table_flip="(╯'□')╯︵ ┻━┻"
|
|
flip_table="┬─┬ ︵ /(.□. \\)"
|
|
}
|
|
# The suggestions shown when using the TAB key in chat.
|
|
custom-chat-suggestions=[]
|
|
# The placeholders replaced in chat messages, this WILL work with chat previews.
|
|
chat-placeholders {}
|
|
# Basic regex based chat filter.
|
|
chat-filter {}
|
|
# Player toggled chat filter. Useful for more mild profanity.
|
|
optional-chat-filter {}
|
|
# Various settings related to pinging players in channels.
|
|
ping-settings {
|
|
# The color your name will be when another player mentions you.
|
|
highlight-text-color=yellow
|
|
prefix="@"
|
|
play-sound=false
|
|
name="minecraft:block.anvil.use"
|
|
source=master
|
|
volume=1
|
|
pitch=1
|
|
}
|
|
party-chat {
|
|
# Whether party chat is enabled
|
|
enabled=false
|
|
expire-invites-after-seconds=45
|
|
play-sound=false
|
|
# Sound for receiving a party message
|
|
message-sound {
|
|
name="minecraft:entity.experience_orb.pickup"
|
|
source=master
|
|
volume=1
|
|
pitch=1
|
|
}
|
|
}
|
|
# Sound for receiving a direct message
|
|
message-sound {
|
|
name="minecraft:entity.experience_orb.pickup"
|
|
source=master
|
|
volume=1
|
|
pitch=1
|
|
}
|
|
# Settings for the clear chat command
|
|
clear-chat-settings {
|
|
# The message that will be sent to each player.
|
|
message=""
|
|
# The number of times the message will be sent to each player.
|
|
iterations=50
|
|
# The message to be sent after chat is cleared.
|
|
broadcast="<gold>Chat has been cleared by </gold><green><display_name><green><gold>."
|
|
}
|
|
# Disables spying when the user doesn't have spy permissions
|
|
spy-permission-required=true
|
|
# Alerts the user when they can no longer spy due to lacking permissions
|
|
spy-disabled-message=false
|
|
# Settings for integrations with other plugins/mods. Settings only apply when the relevant plugin/mod is present.
|
|
integrations {
|
|
miniplaceholders {
|
|
# Enabling relational placeholders may require reworking your format configs due to the way MiniPlaceholders v3 works.
|
|
relational-placeholders=false
|
|
}
|
|
}
|
|
# Whether Carbon should check for updates using the GitHub API on startup.
|
|
update-checker=false
|