From 95cd16446cefb6c58ac35f5c496e15fe6c682209 Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Mon, 14 Jul 2025 13:26:25 +0300 Subject: [PATCH] remove local chat on lobby server only global chat is needed --- src/plugins/CarbonChat/channels/global.conf | 6 +-- src/plugins/CarbonChat/channels/local.conf | 49 --------------------- src/plugins/CarbonChat/config.conf | 2 +- 3 files changed, 4 insertions(+), 53 deletions(-) delete mode 100644 src/plugins/CarbonChat/channels/local.conf diff --git a/src/plugins/CarbonChat/channels/global.conf b/src/plugins/CarbonChat/channels/global.conf index 5d94d7a..ff754a1 100644 --- a/src/plugins/CarbonChat/channels/global.conf +++ b/src/plugins/CarbonChat/channels/global.conf @@ -20,9 +20,9 @@ format { # } # basic { - "default_format"="[G] %luckperms_prefix% : " + "default_format"="%luckperms_prefix% : " discord="" - console="[G] : " + console=": " } # Per-Language chat formats. # You can safely leave this section empty if you don't want to use this feature. @@ -33,7 +33,7 @@ format { } } # Messages will be sent in this channel if they start with this prefix. (Leave empty/blank to disable quick prefix for this channel) -quick-prefix="!" +quick-prefix="" should-register-commands=true command-aliases=[] # The distance players must be within to see each other's messages. diff --git a/src/plugins/CarbonChat/channels/local.conf b/src/plugins/CarbonChat/channels/local.conf deleted file mode 100644 index ad64cfc..0000000 --- a/src/plugins/CarbonChat/channels/local.conf +++ /dev/null @@ -1,49 +0,0 @@ -# The channel's key, used to track the channel. -# You only need to change the second part of the key. "global" by default. -# The value is what's used in commands, this is probably what you want to change. -key="carbon:local" -# The chat formats for this channel. -format { - # Basic chat formats. - # The "default_format" format is the main one you want to edit. - # The "console" format is what's shown to console. - # The "discord" format is what's shown to supported discord integrations. - # If PlaceholderAPI is installed, PAPI placeholders (with %) are supported. - # If MiniPlaceholders is installed, its placeholders (with <>) are supported. - # The keys are group names, the values are chat formats (MiniMessage). - # For example: - # basic { - # default_format="<> " - # vip="[VIP] <> " - # admin="[Prefix] : " - # discord="" - # } - # - basic { - "default_format"="[L] %luckperms_prefix% : " - discord="" - console="[] : " - } - # Per-Language chat formats. - # You can safely leave this section empty if you don't want to use this feature. - # Each locale section can be configured in the same way as the above 'basic' section. - # Will fall back to the 'basic' section if no format was found for the player's locale. - locales { - "ru_RU" {} - } -} -# Messages will be sent in this channel if they start with this prefix. (Leave empty/blank to disable quick prefix for this channel) -quick-prefix="" -should-register-commands=true -command-aliases=[ - l -] -# The distance players must be within to see each other's messages. -# A value of '0' requires that both players are in the same world. -# On velocity, '0' requires that both players are in the same server. -radius=200 -# If true, players will be able to see if they're not sending messages to anyone -# because they're out of range from the radius. -empty-radius-recipients-message=false -cooldowns {} -cooldown=-1 diff --git a/src/plugins/CarbonChat/config.conf b/src/plugins/CarbonChat/config.conf index a88dd6a..5a55323 100644 --- a/src/plugins/CarbonChat/config.conf +++ b/src/plugins/CarbonChat/config.conf @@ -4,7 +4,7 @@ config-version=1 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:local" +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.