Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Fixes for mysql config section
Browse files Browse the repository at this point in the history
  • Loading branch information
awumii committed Sep 5, 2021
1 parent 63a41a9 commit f677906
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion core/src/main/java/me/xneox/epicguard/core/EpicGuard.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import java.io.File;
import java.sql.SQLException;
import java.util.concurrent.TimeUnit;
import me.xneox.epicguard.core.command.CommandHandler;
import me.xneox.epicguard.core.config.MessagesConfiguration;
import me.xneox.epicguard.core.config.PluginConfiguration;
import me.xneox.epicguard.core.util.ExceptionUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,16 +394,16 @@ public static class Storage {
false - use SQLite for storage
true - use MYSQL for storage
(!) This option requires a restart. Changing storage type will reset your current data.""")
private boolean useMySQL = false;
private boolean useMysql = false;

private String host = "127.0.0.1";
private int port = 3306;
private String database = "database";
private String user = "username";
private String password = "password";
private String database = "database!";
private String user = "username!";
private String password = "password!";

public boolean useMySQL() {
return this.useMySQL;
return this.useMysql;
}

public String host() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public static void report(@NotNull String details, @NotNull Throwable throwable)
logger.error(" > Details: " + details);
logger.error(" > Platform: " + EpicGuardAPI.INSTANCE.platformVersion());
logger.error(" > Stacktrace: ");
throwable.printStackTrace();
logger.error("", throwable);
}
}

0 comments on commit f677906

Please sign in to comment.