mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 22:16:22 +00:00
Begin (broken) modularization
This commit is contained in:
1 parent
b3a0d71ba8
commit
ad8089855c
56 files changed
+553
-369
No files matched your search
@@ -0,0 +1,111 @@
|
||||
# MiniMessage Docs:
|
||||
# https://github.com/KyoriPowered/adventure-docs/blob/feature/minimessage/source/minimessage.rst#the-components
|
||||
|
||||
# SimpleChat Docs:
|
||||
# https://github.com/Draycia/Chat/wiki
|
||||
|
||||
# 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!'
|
||||
switch-other-message: '<gray><player> is 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!'
|
||||
toggle-other-on: '<gray><player> can now see <color><channel> <gray>chat!'
|
||||
toggle-other-off: '<gray><player> can no longer see <color><channel> <gray>chat!'
|
||||
formats:
|
||||
# Placeholders: username, displayname, channel, server, message, primaryrole
|
||||
# Also supports PlaceholderAPI
|
||||
discord-to-mc: '<gray>[<blue>Discord<gray>] <username><white>: <pre><message>'
|
||||
staff: '<gray>{[%vault_prefix%<gray>]} %player_displayname% <gray>» <white><pre><message>'
|
||||
default: '<gray>[%vault_prefix%<gray>] %player_displayname%<gray>: <white><pre><message>'
|
||||
color: '#FFFFFF'
|
||||
# Can players /toggle this channel and hide its messages?
|
||||
ignorable: true
|
||||
# -1 = disabled, 0 = world chat, greater than 0 = enabled
|
||||
distance: -1
|
||||
# Forces all other servers to use this server's formatting for this channel
|
||||
forward-format: true
|
||||
# Enables/disables cross server chat for this channel
|
||||
should-bungee: true
|
||||
# Determines if this channel should use the highest matching vault group found for formatting
|
||||
first-matching-group: false
|
||||
# Towny, Nation, Alliance, Party, Normal
|
||||
type: 'normal'
|
||||
|
||||
channels:
|
||||
global:
|
||||
name: 'Global'
|
||||
aliases: 'global|g'
|
||||
# If this channel is the default channel
|
||||
default: true
|
||||
announcements:
|
||||
name: 'Announcements'
|
||||
formats:
|
||||
default: '<gold>Broadcast: <yellow><pre><message></pre>'
|
||||
ignorable: false
|
||||
should-bungee: false
|
||||
|
||||
replacements:
|
||||
'%shrug%': '¯\_(ツ)_/¯'
|
||||
|
||||
language:
|
||||
ignoring-user: '<green>You are now ignoring <gold><player><green>!'
|
||||
not-ignoring-user: '<green>You are no longer ignoring <gold><player><green>!'
|
||||
reloaded: '<yellow>Chat config has been reloaded!'
|
||||
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>'
|
||||
spy-whispers: '<yellow>Spy [<gray><sender> <gold>-> <gray><target><yellow>] <message>'
|
||||
spy-whispers-on: '<gray>You are now spying on whispers!'
|
||||
spy-whispers-off: '<gray>You are no longer spying on whispers!'
|
||||
no-reply-target: '<red>You have no one to reply to!'
|
||||
channel-color-set: "<green>You have set <color><channel> <green>color to <hex>!"
|
||||
spy-toggled-on: '<gray>You are now spying on <color><channel> <gray>chat!'
|
||||
spy-toggled-off: '<gray>You are no longer spying on <color><channel> <gray>chat!'
|
||||
empty-channel: '<green>Nobody is around to hear you!' #<channel>
|
||||
# The following messages are not MiniMessage compatible
|
||||
cannot-use-channel: "You cannot use that channel!"
|
||||
town-cannot-use: 'You are not in a town!'
|
||||
nation-cannot-use: 'You are not in a nation!'
|
||||
alliance-cannot-use: 'You do not have any alliances!'
|
||||
party-cannot-use: 'You are not in a party!'
|
||||
|
||||
# Used for <server> placeholder in channel formats
|
||||
server-name: 'Server'
|
||||
|
||||
item-link-placeholders:
|
||||
- '[item]' # cursed placeholder do not use
|
||||
- '%item%'
|
||||
|
||||
spy-prefix: '<color>[SPY] '
|
||||
spy-prefix-nation: '<color>[SPY <nation>] '
|
||||
spy-prefix-town: '<color>[SPY <town>] '
|
||||
spy-prefix-mcmmo: '<color>[SPY <party>] '
|
||||
|
||||
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!
|
||||
|
||||
storage:
|
||||
type: JSON # JSON, MySQL
|
||||
username: 'username'
|
||||
password: 'password'
|
||||
database: 'database'
|
||||
hostname: 'localhost'
|
||||
port: 3306
|
||||
|
||||
redis:
|
||||
enabled: false
|
||||
host: 'localhost'
|
||||
port: 6379
|
||||
database: 0
|
||||
Reference in new issue
Block a user