mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Config comment cleanup
This commit is contained in:
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.")
|
||||
|
||||
Reference in new issue
Block a user