From 455dcd739ff01788840f5ddc174665da6a83637b Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Mon, 14 Jul 2025 12:53:35 +0300 Subject: [PATCH] rename local channel, remove partychat --- src/plugins/CarbonChat/channels/global.conf | 4 +- .../channels/{locate.conf => local.conf} | 4 +- .../CarbonChat/channels/partychat.conf | 48 ------------------- src/plugins/CarbonChat/config.conf | 4 +- 4 files changed, 6 insertions(+), 54 deletions(-) rename src/plugins/CarbonChat/channels/{locate.conf => local.conf} (95%) delete mode 100644 src/plugins/CarbonChat/channels/partychat.conf diff --git a/src/plugins/CarbonChat/channels/global.conf b/src/plugins/CarbonChat/channels/global.conf index 48676ca..5d94d7a 100644 --- a/src/plugins/CarbonChat/channels/global.conf +++ b/src/plugins/CarbonChat/channels/global.conf @@ -20,7 +20,7 @@ format { # } # basic { - "default_format"="[G] %luckperms_prefix%: " + "default_format"="[G] %luckperms_prefix% : " discord="" console="[G] : " } @@ -42,6 +42,6 @@ command-aliases=[] radius=-1 # 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=true +empty-radius-recipients-message=false cooldowns {} cooldown=-1 diff --git a/src/plugins/CarbonChat/channels/locate.conf b/src/plugins/CarbonChat/channels/local.conf similarity index 95% rename from src/plugins/CarbonChat/channels/locate.conf rename to src/plugins/CarbonChat/channels/local.conf index 758173c..ad64cfc 100644 --- a/src/plugins/CarbonChat/channels/locate.conf +++ b/src/plugins/CarbonChat/channels/local.conf @@ -1,7 +1,7 @@ # 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:locate" +key="carbon:local" # The chat formats for this channel. format { # Basic chat formats. @@ -20,7 +20,7 @@ format { # } # basic { - "default_format"="[L] %luckperms_prefix%: " + "default_format"="[L] %luckperms_prefix% : " discord="" console="[] : " } diff --git a/src/plugins/CarbonChat/channels/partychat.conf b/src/plugins/CarbonChat/channels/partychat.conf deleted file mode 100644 index b731152..0000000 --- a/src/plugins/CarbonChat/channels/partychat.conf +++ /dev/null @@ -1,48 +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:partychat" -# 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"="(party: ) : " - console="[party: ] : " - } - # 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=[ - pc -] -# 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=-1 -# 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=true -cooldowns {} -cooldown=-1 diff --git a/src/plugins/CarbonChat/config.conf b/src/plugins/CarbonChat/config.conf index 3788b05..a88dd6a 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:locate" +default-channel="carbon:local" # 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. @@ -94,7 +94,7 @@ ping-settings { } party-chat { # Whether party chat is enabled - enabled=true + enabled=false expire-invites-after-seconds=45 } # Sound for receiving a direct message