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