Add database type to debugpaste

This commit is contained in:
N0tMyFaultOG 2020-12-22 17:55:37 +01:00
parent 8c3a0a8275
commit 7f1baca872
No known key found for this signature in database
GPG Key ID: 823348042DA95A81

View File

@ -31,6 +31,7 @@ import com.google.inject.Inject;
import com.intellectualsites.paster.IncendoPaster;
import com.plotsquared.core.PlotSquared;
import com.plotsquared.core.configuration.Settings;
import com.plotsquared.core.configuration.Storage;
import com.plotsquared.core.configuration.caption.TranslatableCaption;
import com.plotsquared.core.inject.annotations.ConfigFile;
import com.plotsquared.core.inject.annotations.WorldFile;
@ -75,6 +76,7 @@ public class DebugPaste extends SubCommand {
b.append("# PlotSquared Information\n");
b.append("PlotSquared Version: ").append(PlotSquared.get().getVersion())
.append("\n");
b.append("Database Type: ").append(Storage.MySQL.USE ? "MySQL" : "SQLite").append("\n");
b.append("Resource ID: ").append(PremiumVerification.getResourceID()).append("\n");
b.append("Download ID: ").append(PremiumVerification.getDownloadID()).append("\n");
b.append("This PlotSquared version is licensed to the spigot user ")