mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 08:36:45 +01:00
Reformat debugpaste
And upgrade from IC -> IS
This commit is contained in:
parent
d6779d977a
commit
dbf5084fa1
@ -17,6 +17,8 @@ import java.io.BufferedReader;
|
|||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileReader;
|
import java.io.FileReader;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
import java.lang.management.ManagementFactory;
|
||||||
|
import java.lang.management.RuntimeMXBean;
|
||||||
import java.nio.file.Files;
|
import java.nio.file.Files;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
@ -47,11 +49,11 @@ import java.util.stream.Collectors;
|
|||||||
"# Welcome to this paste\n# It is meant to provide us at IntellectualSites with better information about your "
|
"# Welcome to this paste\n# It is meant to provide us at IntellectualSites with better information about your "
|
||||||
+ "problem\n\n");
|
+ "problem\n\n");
|
||||||
b.append("# Server Information\n");
|
b.append("# Server Information\n");
|
||||||
b.append("server.version: ").append(PlotSquared.get().IMP.getServerImplementation())
|
b.append("Server Version: ").append(PlotSquared.get().IMP.getServerImplementation())
|
||||||
.append("\n");
|
.append("\n");
|
||||||
b.append("online_mode: ").append(UUIDHandler.getUUIDWrapper()).append(';')
|
b.append("online_mode: ").append(UUIDHandler.getUUIDWrapper()).append(';')
|
||||||
.append(!Settings.UUID.OFFLINE).append('\n');
|
.append(!Settings.UUID.OFFLINE).append('\n');
|
||||||
b.append("plugins:");
|
b.append("Plugins:");
|
||||||
for (String id : PlotSquared.get().IMP.getPluginIds()) {
|
for (String id : PlotSquared.get().IMP.getPluginIds()) {
|
||||||
String[] split = id.split(":");
|
String[] split = id.split(":");
|
||||||
String[] split2 = split[0].split(";");
|
String[] split2 = split[0].split(";");
|
||||||
@ -63,16 +65,15 @@ import java.util.stream.Collectors;
|
|||||||
}
|
}
|
||||||
b.append("\n\n# YAY! Now, let's see what we can find in your JVM\n");
|
b.append("\n\n# YAY! Now, let's see what we can find in your JVM\n");
|
||||||
Runtime runtime = Runtime.getRuntime();
|
Runtime runtime = Runtime.getRuntime();
|
||||||
b.append("memory.free: ").append(runtime.freeMemory()).append('\n');
|
RuntimeMXBean rb = ManagementFactory.getRuntimeMXBean();
|
||||||
b.append("memory.max: ").append(runtime.maxMemory()).append('\n');
|
b.append("Free Memory: ").append(runtime.freeMemory() / 1024 / 1024 + " MB").append('\n');
|
||||||
b.append("java.specification.version: '")
|
b.append("Max Memory: ").append(runtime.maxMemory() / 1024 / 1024 + " MB").append('\n');
|
||||||
.append(System.getProperty("java.specification.version")).append("'\n");
|
b.append("Java Name: ").append(rb.getVmName()).append('\n');
|
||||||
b.append("java.vendor: '").append(System.getProperty("java.vendor")).append("'\n");
|
b.append("Java Version: '").append(System.getProperty("java.version")).append("'\n");
|
||||||
b.append("java.version: '").append(System.getProperty("java.version"))
|
b.append("Java Vendor: '").append(System.getProperty("java.vendor")).append("'\n");
|
||||||
.append("'\n");
|
b.append("Operating System: '").append(System.getProperty("os.name")).append("'\n");
|
||||||
b.append("os.arch: '").append(System.getProperty("os.arch")).append("'\n");
|
b.append("OS Version: ").append(System.getProperty("os.version")).append('\n');
|
||||||
b.append("os.name: '").append(System.getProperty("os.name")).append("'\n");
|
b.append("OS Arch: ").append(System.getProperty("os.arch")).append('\n');
|
||||||
b.append("os.version: '").append(System.getProperty("os.version")).append("'\n\n");
|
|
||||||
b.append("# Okay :D Great. You are now ready to create your bug report!");
|
b.append("# Okay :D Great. You are now ready to create your bug report!");
|
||||||
b.append(
|
b.append(
|
||||||
"\n# You can do so at https://github.com/IntellectualSites/PlotSquared/issues");
|
"\n# You can do so at https://github.com/IntellectualSites/PlotSquared/issues");
|
||||||
|
@ -21,7 +21,7 @@ import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
|||||||
MainUtil.sendMessage(player,
|
MainUtil.sendMessage(player,
|
||||||
"$2>> $1&lAuthors$2: $1Citymonstret $2& $1Empire92 $2& $1MattBDev $2& $1dordsor21");
|
"$2>> $1&lAuthors$2: $1Citymonstret $2& $1Empire92 $2& $1MattBDev $2& $1dordsor21");
|
||||||
MainUtil.sendMessage(player,
|
MainUtil.sendMessage(player,
|
||||||
"$2>> $1&lWiki$2: $1https://github.com/IntellectualCrafters/PlotSquared/wiki");
|
"$2>> $1&lWiki$2: $1https://github.com/IntellectualSites/PlotSquared/wiki");
|
||||||
MainUtil.sendMessage(player,
|
MainUtil.sendMessage(player,
|
||||||
"$2>> $1&lNewest Version$2: $1" + getNewestVersionString());
|
"$2>> $1&lNewest Version$2: $1" + getNewestVersionString());
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ is to provide a lag-free and smooth experience.
|
|||||||
* [[Jenkins (Dev Builds)](https://ci.athion.net/job/PlotSquared-Breaking/)] [[Jenkins (Releases)](https://ci.athion.net/job/PlotSquared-Releases/)]
|
* [[Jenkins (Dev Builds)](https://ci.athion.net/job/PlotSquared-Breaking/)] [[Jenkins (Releases)](https://ci.athion.net/job/PlotSquared-Releases/)]
|
||||||
* [Spigot Page](https://www.spigotmc.org/resources/plotsquared.1177/)
|
* [Spigot Page](https://www.spigotmc.org/resources/plotsquared.1177/)
|
||||||
* [Discord](https://discord.gg/ngZCzbU)
|
* [Discord](https://discord.gg/ngZCzbU)
|
||||||
* [Wiki](https://github.com/intellectualcrafters/plotsquared/wiki)
|
* [Wiki](https://github.com/IntellectualSites/PlotSquared/wiki)
|
||||||
|
|
||||||
### Developer Resources
|
### Developer Resources
|
||||||
* [[JavaDoc](https://ci.athion.net/job/PlotSquared-Breaking/javadoc/)]
|
* [[JavaDoc](https://ci.athion.net/job/PlotSquared-Breaking/javadoc/)]
|
||||||
|
Loading…
Reference in New Issue
Block a user