mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
Update some channel option docs
This commit is contained in:
1 parent
c64fd383d2
commit
056ee5735b
2 files changed
+8
-8
No files matched your search
@@ -23,7 +23,7 @@ import java.util.Map;
|
|||||||
public final class ChannelOptions {
|
public final class ChannelOptions {
|
||||||
|
|
||||||
@Setting
|
@Setting
|
||||||
@Comment("What this channel is identified as. This will be what's typed ingame to use the channel.")
|
@Comment("What this channel is identified as. This is used in command arguments (/channel global)")
|
||||||
private @NonNull String key = "channel";
|
private @NonNull String key = "channel";
|
||||||
|
|
||||||
@Setting
|
@Setting
|
||||||
@@ -71,7 +71,7 @@ public final class ChannelOptions {
|
|||||||
private List<String> groupOverrides;
|
private List<String> groupOverrides;
|
||||||
|
|
||||||
@Setting
|
@Setting
|
||||||
@Comment("The display name of this channel, supports minimessage. Used in command feedback")
|
@Comment("# The display name of this channel, supports minimessage. Used in command feedback (\"You switched to the Global channel\")")
|
||||||
private String name = "";
|
private String name = "";
|
||||||
|
|
||||||
@Setting
|
@Setting
|
||||||
@@ -79,7 +79,7 @@ public final class ChannelOptions {
|
|||||||
private String messagePrefix = "";
|
private String messagePrefix = "";
|
||||||
|
|
||||||
@Setting
|
@Setting
|
||||||
@Comment("The command aliases for this channel")
|
@Comment("The command aliases for this channel (/global /g)")
|
||||||
private List<String> aliases = new ArrayList<>();
|
private List<String> aliases = new ArrayList<>();
|
||||||
|
|
||||||
@Setting
|
@Setting
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
channel-options:
|
channel-options:
|
||||||
global:
|
global:
|
||||||
# The command aliases for this channel
|
# What this channel is identified as. This is used in command arguments (/channel global)
|
||||||
|
key: global
|
||||||
|
# The command aliases for this channel (/global /g)
|
||||||
aliases:
|
aliases:
|
||||||
- global
|
- global
|
||||||
- g
|
- g
|
||||||
|
# The display name of this channel, supports minimessage. Used in command feedback ("You switched to the Global channel")
|
||||||
|
name: Global
|
||||||
# This is what the <color> placeholder will typically be replaced with.
|
# 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.
|
# 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.
|
# If on a platform that supports PlaceholderAPI, this option will be ran through that as well.
|
||||||
@@ -28,12 +32,8 @@ channel-options:
|
|||||||
# If this channel is the default channel players join in.
|
# If this channel is the default channel players join in.
|
||||||
# Also used as a fallback in case the player's selected channel cannot be found.
|
# Also used as a fallback in case the player's selected channel cannot be found.
|
||||||
is-default: true
|
is-default: true
|
||||||
# What this channel is identified as. This will be what's typed ingame to use the channel.
|
|
||||||
key: global
|
|
||||||
# If the player's chat message starts with whatever this is set to, the player speaks in this channel instead of their selected one
|
# If the player's chat message starts with whatever this is set to, the player speaks in this channel instead of their selected one
|
||||||
message-prefix: ''
|
message-prefix: ''
|
||||||
# The display name of this channel, supports minimessage. Used in command feedback
|
|
||||||
name: Global
|
|
||||||
|
|
||||||
# Used for message formats - custom tags that are replaced in descending order
|
# Used for message formats - custom tags that are replaced in descending order
|
||||||
# For example, in the default config, <group> wil be replaced with <green>%vault_group%
|
# For example, in the default config, <group> wil be replaced with <green>%vault_group%
|
||||||
|
|||||||
Reference in new issue
Block a user