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