minecraft paper view version code example Example: How to check server version bukkit spigot paper if (Bukkit.getVersion().contains("1.8.1")) { //stuff }