public static boolean isSpigot(){ try{ Spigot spigot = Bukkit.spigot(); return true; } catch(Exception e){ return false; } }