NMS versions

Discussion in 'Plugin Development' started by Googlelover1234, Oct 9, 2014.

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

    Googlelover1234

    Hi, I have a pretty straight-forward question to ask. I don't typically use NMS or packets, but I've been wondering, let's say you have CraftBukkit 1.7.9_R1 or whatever. Would code still work with older versions of 1.7.9? I'm pretty sure it's a no, but I am just wondering.
     
  2. Offline

    fireblast709

  3. Offline

    rbrick

    If you used reflection, but reflection is slow on the VM and will decrease performance.
     
  4. Offline

    Skionz

    If your making a public plugin use reflection. If your just hardcoding for you server don't
     
  5. Offline

    mythbusterma

    AdamQpzm likes this.
  6. Offline

    rbrick

    mythbusterma likes this.
  7. Offline

    Googlelover1234

  8. Offline

    Europia79

    Googlelover1234

    i used that technique (maven multi-module project) in a couple of my plugins. So I can share some more examples of it (if you were curious).

    And yes, your plugins will break if Minecraft updates.

    https://github.com/Europia79/Extraction
    https://github.com/Europia79/VirtualPlayers

    Those are 2 more examples for you. Also, the tutorial says to do version checking in your onEnable(), so here's a nice little library for that:
    https://github.com/Europia79/Version

    Look at the README.md, Examples sections. Good luck !
     
Thread Status:
Not open for further replies.

Share This Page