No Player Experience Orbs Drop

Discussion in 'Archived: Plugin Requests' started by teamcraft, Feb 10, 2013.

  1. Offline

    teamcraft

    I've been looking for a plugin that disables only players dropping exp orbs upon death, and did not found anything (or anything up to date).
    The only plugin that could make it was NoExpOrb http://dev.bukkit.org/server-mods/noexporb/files/1-noexp-orb/ but it's so old that throws exceptions on server startups. Can't be used nowadays.

    I'm not able to do reverse engineering to that plugin, reforge it and launch for newer bukkit versions, I got not enough programming skills, but I think it could be a pretty simple thing to do for an experienced plugin developer.

    Don't misunderstand this resquest, I don't want players to keep their experience (fully or a fraction), for that there is a working addon named Inventory Drop Chance. I just want experience orbs to not spawn when a player dies.
     
  2. Offline

    chasechocolate

    Anyone who wants to do this, it's very simple:
    Code:java
    1. @EventHandler
    2. public void onPlayerDeath(PlayerDeathEvent event){
    3. event.setDroppedExp(0);
    4. }
     
  3. Offline

    teamcraft

    If it's so easy, why it's not done already?
    The developer would probably make may day, even make my next christmas, lol
    Need that easy thing in a plugin, I request it (that what this section is for, isn't it?) :p

    Thanks in advance anyways, and thx chase for responding so fast.
     
  4. Offline

    Zarius

    If no-one gets around to a specialised plugin first then OtherDrops might be an option. I'm planning on adding a "drop: NOXP" option to the next version so the config would look something like this:

    Code:
      PLAYER:
        - drop: NOXP
    
     
  5. Offline

    teamcraft

    Zarius It would be simply awesome if OtherDrops support that feature
     
  6. Offline

    EvilKanoa

    My plugin pvpDrop supports this feature, check it out!
     
  7. Offline

    teamcraft

    EvilKanoa
    Already tested, it doesn't work well in my server, I think Item Drop Chance overrides it somehow.
     
  8. Offline

    EvilKanoa

    That probably would break it :(
     
  9. Offline

    PogoStick29

    I'll whip this up in a second if you still need it made.
     
  10. Offline

    teamcraft

Share This Page