Solved Multi-version plugin

Discussion in 'Plugin Development' started by MrGeneralQ, Jun 12, 2016.

Thread Status:
Not open for further replies.
  1. Offline


    Okay so more and more people are asking for 1.8 plugins instead of 1.9 + . So my question is , is there a method to make them both supported?

    This would be very usefull!


    Also: I am trying to use buildtools , but some versions just doesn't exist anymore? (or at least I can't download them)
  2. Offline


    Well to make them support both versions you need to use methods of the API that exist in both server versions. In other words every time you are about to use s method such as Player#teleport(Location loc); make sure it exists in both 1.8.X and 1.9.X versions.
    About build tools I can't really advice you since I don't use them ;)
  3. Offline


    @MrGeneralQ Some methods changed from 1.8 to 1.9 but most stayed the same. You can find more about that on the Spigot forums. Apart from that, multiple version support should be the least of your worries if you aren't using NMS. I have plugins that I made for 1.7 and they still work on 1.9.
  4. Offline


    Alright thanks!
Thread Status:
Not open for further replies.

Share This Page