[Req] Items Don't Drop On Death

Discussion in 'Archived: Plugin Requests' started by Edman, Jul 12, 2012.

  1. Offline

    Edman

    I need something when someone dies, the stuff is comepletely destroyed. No option to pick it up. Can someone do this?
     
  2. Offline

    WarmakerT

    I'm sure that this exists already. Just search it :)
     
  3. Offline

    generalmek

    iam looking too. if u die u lost all need
     
  4. Offline

    Reptar_

    I have been searching forever. No plugins are updated to the latest build, therefore none of them work.

    I would love for someone to make this plugin as I really need it myself too!
     
  5. Offline

    zAsbo

  6. Offline

    Reptar_

    Well paint me blue and call me Betty. Since I obviously can't search right, could you also help me find a plugin where you can set all player's hunger to a certain level?
     
  7. Offline

    lol768

    I'll do this for you tomorrow if I can't find one.
     
  8. Offline

    zAsbo

  9. Offline

    Kodfod

    That's a 15 second plugin.

    anyone who wants to waste their time to put it into a project and do the imports and the plugin.yml and export it, go ahead =)

    Code:Java
    1.  
    2. public class Main extends JavaPlugin implements Listener {
    3.  
    4. Logger log = Logger.getLogger("Minecraft");
    5.  
    6. @Override
    7. public void onDisable() {
    8. log.info(this.getName() + " Disabled");
    9. }
    10.  
    11. @Override
    12. public void onEnable() {
    13. log.info(this.getName() + " Enabled");
    14. }
    15.  
    16. @EventHandler
    17. public void onPlayerDeath(PlayerDeathEvent e) {
    18. e.getDrops().clear();
    19. }
    20.  
     
  10. Offline

    Reptar_

    You are too good at this! -_- Where'd you learn this stuff from?

    I don't need this. I need where it sets the hunger for all players. So it can't go up nor can it go down. I don't want to feed them. I want to set their hunger so they can always run, but never heal, and never lose hunger. Totally different from /feed.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  11. Offline

    Kodfod

Share This Page