Config comment cleanup

This commit is contained in:
Jason Penilla committed 2023-06-27 16:52:24 -07:00
1 parent 39f700ac20
commit 9010086679
2 files changed
+7 -6

No files matched your search

@@ -32,13 +32,11 @@ public class MessagingSettings {
private boolean enabled = false;
@Comment("Options: RABBITMQ, NATS, REDIS")
@Comment("One of: RABBITMQ, NATS, REDIS")
private MessagingManager.@NonNull BrokerType brokerType = MessagingManager.BrokerType.NONE;
@Comment("")
private String url = "127.0.0.1";
@Comment("")
private int port = 5672; // RabbitMQ 5672, NATS 4222, Redis 6379
@Comment("RabbitMQ VHost")
@@ -45,12 +45,15 @@ public class PrimaryConfig {
@Comment("""
The service that will be used to store and load player information.
One of: JSON, MYSQL, or PSQL.
NB: If you choose MYSQL or PSQL make sure you configure the "database-settings" section of this file!
One of: JSON, MYSQL, PSQL
Note: If you choose MYSQL or PSQL make sure you configure the "database-settings" section of this file!
""")
private StorageType storageType = StorageType.JSON;
@Comment("")
@Comment("""
When "storage-type" is set to MYSQL or PSQL, this section configures the database connection.
If JSON storage is used, this section can be ignored.
""")
private DatabaseSettings databaseSettings = new DatabaseSettings();
@Comment("Various ClearChat command settings.")