remove stats system

improve operations and make them extendable more easily and let other plugins add operations, like requirements 
move requirements/operations out of ranks class as they will be used in prestiges
This commit is contained in:
okx-code
2018-09-01 23:50:57 +01:00
parent 6ba4dcb4d0
commit e9d7a9791a
26 changed files with 513 additions and 487 deletions
@@ -64,9 +64,8 @@ public class InfoCommand implements CommandExecutor {
return true;
}
public String getLatestVersion() throws IOException {
private String getLatestVersion() throws IOException {
URL url = new URL("https://api.spigotmc.org/legacy/update.php?resource=17933");
String result = CharStreams.toString(new InputStreamReader(url.openStream(), Charsets.UTF_8));
return result;
return CharStreams.toString(new InputStreamReader(url.openStream(), Charsets.UTF_8));
}
}