diff --git a/src/main/java/de/gnmyt/mcdash/api/ServerVersionManager.java b/src/main/java/de/gnmyt/mcdash/api/ServerVersionManager.java index 1ad627d..94a2d95 100644 --- a/src/main/java/de/gnmyt/mcdash/api/ServerVersionManager.java +++ b/src/main/java/de/gnmyt/mcdash/api/ServerVersionManager.java @@ -112,9 +112,8 @@ public class ServerVersionManager { * Sets up the plugin * @param uuid the uuid * @param port the port - * @param token the token */ - public void setupPlugin(String uuid, int port, String token) { + public void setupPlugin(String uuid, int port) { File file = new File(serverFolder, uuid); if (!file.exists()) { LOG.error("The server does not exist"); @@ -130,14 +129,6 @@ public class ServerVersionManager { } catch (IOException e) { LOG.error("An error occurred while setting up the plugin: " + e.getMessage()); } - - File accounts = new File(pluginsFolder, "MinecraftDashboard/accounts.yml"); - if (accounts.exists()) accounts.delete(); - try { - FileUtils.writeStringToFile(accounts, "accounts:\n " + token, "UTF-8"); - } catch (IOException e) { - LOG.error("An error occurred while setting up the plugin: " + e.getMessage()); - } } /**