mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
Add default aliases for default channel
This commit is contained in:
1 parent
4f04eba177
commit
c64fd383d2
2 files changed
+5
-1
No files matched your search
@@ -2,6 +2,7 @@ package net.draycia.carbon.api.config;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import com.google.common.collect.Lists;
|
||||
import net.draycia.carbon.api.CarbonChatProvider;
|
||||
import net.draycia.carbon.api.Context;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
@@ -146,6 +147,7 @@ public final class ChannelOptions {
|
||||
settings.color = "#FFFFFF";
|
||||
settings.defaultFormatName = "default";
|
||||
settings.formats = Collections.singletonMap("default", "<color><<displayname><reset><color>> <message>");
|
||||
settings.aliases = Lists.newArrayList("global", "g");
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
channel-options:
|
||||
global:
|
||||
# The command aliases for this channel
|
||||
aliases: []
|
||||
aliases:
|
||||
- global
|
||||
- g
|
||||
# This is what the <color> placeholder will typically be replaced with.
|
||||
# Hex RGB (#B19CD9), named colors (light_purple), legacy (&d), and legacy RGB (&x&b&1&2&c&d&9) are all supported.
|
||||
# If on a platform that supports PlaceholderAPI, this option will be ran through that as well.
|
||||
|
||||
Reference in new issue
Block a user