From c4387ca3b432f7bda6ab4ede3b303bb0b3caf504 Mon Sep 17 00:00:00 2001 From: Draycia Date: Sun, 18 Oct 2020 03:57:49 -0700 Subject: [PATCH] Fix up MessageType docs --- .../draycia/carbon/api/config/CarbonSettings.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/CarbonChat-API/src/main/java/net/draycia/carbon/api/config/CarbonSettings.java b/CarbonChat-API/src/main/java/net/draycia/carbon/api/config/CarbonSettings.java index 6ef165bf..3aba47c2 100644 --- a/CarbonChat-API/src/main/java/net/draycia/carbon/api/config/CarbonSettings.java +++ b/CarbonChat-API/src/main/java/net/draycia/carbon/api/config/CarbonSettings.java @@ -58,7 +58,12 @@ public final class CarbonSettings { private @NonNull SQLCredentials sqlCredentials = new SQLCredentials(); @Setting - @Comment("Options: NONE, REDIS, BUNGEECORD") + @Comment("Options: NONE, REDIS, BUNGEECORD\n" + + " 'BUNGEE' - Uses bungee plugin messaging, requires BungeeCord or another proxy which supports it (Velocity!)\n" + + " 'REDIS' - Uses redis for cross server syncing, does not require a server proxy\n" + + " 'NONE' - Do not sync anything cross server, this is the default\n" + + "Note: In order for channels to sync cross server, you'll need to enable is-cross-server for the\n" + + " channel as well as this setting.") private @NonNull MessagingType messagingType = MessagingType.NONE; @Setting @@ -66,13 +71,7 @@ public final class CarbonSettings { private @NonNull FormatType formatType = FormatType.MOJANG; @Setting - @Comment(" Options:\n" + - " 'bungee' - Uses bungee plugin messaging, requires BungeeCord or another proxy which supports it (Velocity!)\n" + - " 'redis' - Uses redis for cross server syncing, does not require a server proxy\n" + - " 'none' - Do not sync anything cross server, this is the default\n" + - "\n" + - " Note: In order for channels to sync cross server, you'll need to enable is-cross-server for the\n" + - " channel as well as this setting.") + @Comment("The credentials necessary to connect to your redis server") private @NonNull RedisCredentials redisCredentials = new RedisCredentials(); @Setting