@@ -0,0 +1,1095 @@
+package com.github.niwaniwa.we.core.util;%0A%0Aimport org.bukkit.Bukkit;%0A%0Apublic class Versioning %7B%0A%0A%09private static Versioning instance = new Versioning();%0A%0A%09private boolean support = false;%0A%09private String craftBukkitVersion = %22v1_8_R3%22;%0A%09private int javaVersion;%0A%0A%09private Versioning() %7B%0A%09%09versionCheck();%0A%09%09instance = this;%0A%09%7D%0A%0A%09private boolean versionCheck()%7B%0A%09%09int javaVersion = Integer.valueOf(System.getProperty(%22java.version%22).split(%22_%22)%5B1%5D);%0A%09%09this.javaVersion = javaVersion;%0A%09%09if(javaVersion %3C= 1.7)%7B%0A%09%09%09return false;%0A%09%09%7D%0A%09%09// TODO: CraftBukkit%0A%09%09String packageName = Bukkit.getServer().getClass().getPackage().getName();%0A%09%09String version = packageName.substring(packageName.lastIndexOf('.') + 1);%0A%09%09if(!version.equalsIgnoreCase(%22v1_8_R3%22))%7B%0A%09%09%09craftBukkitVersion = version;%0A%09%09%09return false;%0A%09%09%7D%0A%09%09this.support = true;%0A%09%09return true;%0A%09%7D%0A%0A%09public static Versioning getInstance()%7B%0A%09%09return instance;%0A%09%7D%0A%0A%09public boolean isSupport() %7B%0A%09%09return support;%0A%09%7D%0A%0A%09public String getCraftBukkitVersion() %7B%0A%09%09return craftBukkitVersion;%0A%09%7D%0A%0A%09public int getJavaVersion() %7B%0A%09%09return javaVersion;%0A%09%7D%0A%0A%0A%7D%0A

Add version class