mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
1 parent
44c58eeec4
commit
be5e10037b
3 files changed
+102
-19
No files matched your search
@@ -17,6 +17,8 @@ public class PrimaryConfig {
|
||||
private final Key defaultChannel = Key.key("carbon", "basic");
|
||||
@Comment("The service that will be used to store and load player information.")
|
||||
private final StorageType storageType = StorageType.JSON;
|
||||
@Comment("Should we hide join/quit and death messages of muted players?")
|
||||
private final boolean hideMutedJoinLeaveQuit = false;
|
||||
|
||||
public Locale defaultLocale() {
|
||||
return this.defaultLocale;
|
||||
@@ -30,6 +32,10 @@ public class PrimaryConfig {
|
||||
return this.storageType;
|
||||
}
|
||||
|
||||
public boolean hideMutedJoinLeaveQuit() {
|
||||
return this.hideMutedJoinLeaveQuit;
|
||||
}
|
||||
|
||||
public enum StorageType {
|
||||
JSON,
|
||||
MYSQL,
|
||||
|
||||
Reference in new issue
Block a user