What do i have to change when 1.8 comes out?

Discussion in 'Plugin Development' started by Schaakmatth, May 7, 2014.

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

    Schaakmatth

    The title Say it!
     
  2. Offline

    Mayoz

    I believe the only major thing you'll have to change is from player names to the UUID system.
     
  3. Offline

    Garris0n

    Depends on what they've broken so far as well as what your plugin(s) do.
     
  4. Offline

    Schaakmatth

    Ok a plugin like it bans xp:
    @EventHandler
    public void onEntityDeath(EntityDeathEvent e) {
    e.setDroppedExp(0);
    Garris0n Mayoz
     
  5. Offline

    Garris0n

    You don't have to update anything if that's all it does.
     
  6. Offline

    TGRHavoc

    Schaakmatth
    Like Mayoz I think the only major thing you will have to consider is the way in which you store the players data long term.. The XP ban plugin should still work...
     
  7. Offline

    Alshain01

    Nothing in 1.8 that we know of so far, you should be changing it for 1.7.9 if you use player names for long term storage.
     
  8. Offline

    Schaakmatth

  9. Offline

    Alshain01

    getName() is fine if you don't store it after the player has logged out.
     
  10. Offline

    TGRHavoc

    Schaakmatth
    The getName() method is deprecated to raise awareness of the change to UUID, I think the deprecation will be removed in the 1.8 Bukkit build... (In short, getName() still works)
     
  11. Offline

    Mayoz

    player.getUUID() I think is the method for getting UUIDs. Use that instead of getName() for long-term storage
     
  12. Offline

    Garris0n

    getUniqueId, and you should use it for all storage.
     
Thread Status:
Not open for further replies.

Share This Page