    static StringBuilder latestlog(Main Main)
    {
        BufferedReader br = null;
        StringBuilder txt = new StringBuilder();
        if (Main.getConfig().getBoolean("send-log")) {
            try {
                String line;
                br = new BufferedReader(new FileReader("logs" + File.separatorChar + "latest.log"));
                while ((line = br.readLine()) != null) {
                    txt.append(line);
                    txt.append("\n");
                }
            } catch (IOException e) {
                e.printStackTrace();
            } finally {
                try {
                    if (br != null) {
                        br.close();
                    }
                } catch (IOException ex) {
                    ex.printStackTrace();
                }
            }
        } else {
            txt.append("Access denied for latest.log. Contact the Server Owner");
        }
        return txt;
    }

    static StringBuilder latestlog(Main Main)
    {
        BufferedReader br = null;
        StringBuilder txt = new StringBuilder();
        if (Main.getConfig().getBoolean("send-log")) {
            try {
                String line;
                br = new BufferedReader(new FileReader("logs" + File.separatorChar + "latest.log"));
                while ((line = br.readLine()) != null) {
                    txt.append(line);
                    txt.append("\n");
                }
            } catch (IOException e) {
                e.printStackTrace();
            } finally {
                try {
                    if (br != null) {
                        br.close();
                    }
                } catch (IOException ex) {
                    ex.printStackTrace();
                }
            }
        } else {
            txt.append("Access denied for latest.log. Contact the Server Owner\n");
        }
        return txt;
    }
