mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
95 lines
3.8 KiB
YAML
95 lines
3.8 KiB
YAML
# https://github.com/MiniDigger/MiniMessage/blob/feature/adventure/DOCS.md
|
|
# ^^^^ is outdated :(
|
|
|
|
# IMPORTANT: Use the <pre> tag around ALL user inputs.
|
|
# All <message> placeholders should be prefixed with <pre> and suffixed with </pre>
|
|
# Failure to do so may and likely will result in users being able to inject formatting in messages.
|
|
|
|
# All of the settings under this 'default' section can be applied to each channel individually to override these.
|
|
# These are provided as a way to configure default channel settings.
|
|
default:
|
|
switch-message: '<gray>You are now in <color><channel> <gray>chat!'
|
|
toggle-on-message: '<gray>You can now see <color><channel> <gray>chat!'
|
|
toggle-off-message: '<gray>You can no longer see <color><channel> <gray>chat!'
|
|
formats:
|
|
discord-to-mc: '<gray>[<blue>Discord<gray>] <username><white>: <pre><message>' # Placeholders: username, displayname, channel, server, message, primaryrole
|
|
staff: '<gray>{[%vault_prefix%<gray>]} %player_displayname% <gray>» <white><pre><message>'
|
|
default: '<gray>[%vault_prefix%<gray>] %player_displayname%<gray>: <white><pre><message>'
|
|
color: '#FFFFFF' # Removing this option defaults to '#FFFFFF'
|
|
ignorable: true # Removing this option defaults to 'true'
|
|
distance: -1 # Set to -1, comment out, or remove to disable distance checking
|
|
forward-format: true # Removing this option defaults to 'true'. Forces all other servers to use this server's formatting for this channel.
|
|
should-bungee: true # Removing this option defaults to 'false'. Enables/disables cross server chat for this channel.
|
|
|
|
channels:
|
|
global:
|
|
name: 'Global'
|
|
aliases: 'global|g'
|
|
id: -1 # Set to -1, comment out, or remove to disable channel bridge
|
|
webhook: '' # Comment out / remove to disable webhook
|
|
default: true # Removing this option defaults to 'false'
|
|
announcements:
|
|
name: 'Announcements'
|
|
formats:
|
|
default: '<gold>Broadcast: <yellow><pre><message></pre>'
|
|
ignorable: false
|
|
should-bungee: false
|
|
|
|
filters:
|
|
- 'lag'
|
|
- 'la[g]+'
|
|
|
|
filter-text: '****'
|
|
|
|
replacements:
|
|
'%shrug%': '¯\_(ツ)_/¯'
|
|
|
|
bot-token: ""
|
|
|
|
language:
|
|
ignoring-user: '<green>You are now ignoring <gold><player><green>!'
|
|
not-ignoring-user: '<green>You are no longer ignoring <gold><player><green>!'
|
|
is-now-shadow-muted: '<yellow>User <user> is now shadow muted!'
|
|
no-longer-shadow-muted: '<yellow>User <user> is no longer shadow muted!'
|
|
reloaded: '<yellow>Chat config has been reloaded! Note that this does not reload channel configs!'
|
|
me: '<italic><dark_purple>*%player_displayname% <pre><message></pre>*</dark_purple></italic>'
|
|
message-to-other: '<green>[<gray>Me <gold>-> <gray><target><green>] <message>'
|
|
message-from-other: '<green>[<gray><sender> <gold>-> <gray>Me<green>] <message>'
|
|
no-reply-target: '<red>You have no one to reply to!'
|
|
# The following messages are not MiniMessage compatible
|
|
player-left: '%player_displayname% has left <server>!'
|
|
player-joined: '%player_displayname% has joined <server>!'
|
|
vote-received: '<name> has voted on <service>!'
|
|
cannot-use-channel: "You cannot use that channel!"
|
|
|
|
server-name: 'Server'
|
|
|
|
clear-chat-message: ""
|
|
clear-chat-amount: 100
|
|
|
|
item-link-placeholders:
|
|
- '[item]' # cursed placeholder do not use
|
|
- '%item%'
|
|
|
|
pings:
|
|
enabled: true
|
|
source: 'PLAYER'
|
|
sound: 'minecraft:entity.experience_orb.pickup'
|
|
volume: 10.0
|
|
pitch: 1.0
|
|
highlight: true # independent of the "enabled" option!
|
|
on-whisper: true # independent of the "enabled" option!
|
|
|
|
listeners:
|
|
join: true # sends join messages in discord
|
|
leave: true # sends leave messages in discord
|
|
death: true # sends death messages in discord
|
|
vote: false # sends vote messages in discord
|
|
|
|
storage:
|
|
type: JSON # JSON, MySQL
|
|
host: 'localhost'
|
|
port: 3306
|
|
database: 'SimpleChatData'
|
|
username: 'root'
|
|
password: 'password' |