Can I add to my Bukkit plugin a BUngee support by extending it to bungeecord? If yes how to do it with the plugin.yml. I am gonna make a plugin that does different things if it is on a spigot server and different things on a bungee server...
Bungeecord plugins support bungee.yml and plugin.yml. So if you add a bungee.yml and set the main class to the class extending plugin and in your plugin.yml you set the main class to the class extending javaplugin, it should work fine