mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 22:16:03 +00:00
Revert "Plugin count should add a new line"
This reverts commit 3c1aea0c0c.
This commit is contained in:
1 parent
3c1aea0c0c
commit
b62eb9e6f2
1 file changed
+13
-3
@@ -18,15 +18,25 @@
|
|||||||
|
|
||||||
package net.h31ix.anticheat.util;
|
package net.h31ix.anticheat.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.BufferedReader;
|
||||||
|
import java.io.BufferedWriter;
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.FileWriter;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.io.InputStream;
|
||||||
|
import java.io.InputStreamReader;
|
||||||
|
import java.io.OutputStream;
|
||||||
|
import java.io.Writer;
|
||||||
import java.net.HttpURLConnection;
|
import java.net.HttpURLConnection;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.net.URLEncoder;
|
import java.net.URLEncoder;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import net.h31ix.anticheat.Anticheat;
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
|
|
||||||
|
import net.h31ix.anticheat.Anticheat;
|
||||||
|
|
||||||
public class PastebinReport
|
public class PastebinReport
|
||||||
{
|
{
|
||||||
private StringBuilder report = new StringBuilder();
|
private StringBuilder report = new StringBuilder();
|
||||||
@@ -59,7 +69,7 @@ public class PastebinReport
|
|||||||
report.append("------------ AntiCheat Report - " + format.format(date) + " ------------" + '\n');
|
report.append("------------ AntiCheat Report - " + format.format(date) + " ------------" + '\n');
|
||||||
report.append("Version: " + Anticheat.getVersion() + '\n');
|
report.append("Version: " + Anticheat.getVersion() + '\n');
|
||||||
report.append("CraftBukkit: " + Bukkit.getVersion() + '\n');
|
report.append("CraftBukkit: " + Bukkit.getVersion() + '\n');
|
||||||
report.append("Plugin Count: " + Bukkit.getPluginManager().getPlugins().length + '\n');
|
report.append("Plugin Count: " + Bukkit.getPluginManager().getPlugins().length);
|
||||||
appendSystemInfo();
|
appendSystemInfo();
|
||||||
report.append("------------Last 30 logs------------" + '\n');
|
report.append("------------Last 30 logs------------" + '\n');
|
||||||
for (String log : Anticheat.getManager().getLastLogs())
|
for (String log : Anticheat.getManager().getLastLogs())
|
||||||
|
|||||||
Reference in new issue
Block a user