From 3d721282e403b786e0d1e13b390b050e1ce735e8 Mon Sep 17 00:00:00 2001 From: Draycia Date: Fri, 18 Feb 2022 22:31:09 -0800 Subject: [PATCH] Fix channel permission docs --- .../draycia/carbon/common/channels/ConfigChatChannel.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/net/draycia/carbon/common/channels/ConfigChatChannel.java b/common/src/main/java/net/draycia/carbon/common/channels/ConfigChatChannel.java index f9dd86b8..cf3d821c 100644 --- a/common/src/main/java/net/draycia/carbon/common/channels/ConfigChatChannel.java +++ b/common/src/main/java/net/draycia/carbon/common/channels/ConfigChatChannel.java @@ -72,9 +72,11 @@ public final class ConfigChatChannel implements ChatChannel { private @Nullable Key key = Key.key("carbon", "global"); @Comment(""" - The permission required to use the channel. + The permission required to use the /channel and / commands. + + Assuming permission = "carbon.channel.global" To read messages you must have the permission carbon.channel.global.see - To send messages you must have the permission carbon.channel.global + To send messages you must have the permission carbon.channel.global.speak """) private @Nullable String permission = "carbon.channel.global";