Dont drop certain items on death

Discussion in 'Plugin Help/Development/Requests' started by little_dude187, Jul 17, 2015.

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

    little_dude187

    Hey,
    i need a plugin that makes it so you dont drop specific items on death, Example:

    i have crackshot the gun plugin and when people donate for guns i want it so they dont drop on death

    nodrop is to complicated

    simple and sweet all i need

    do whatever commands and stuff to the plugin i just need it,

    and maybe an option so you also cant drop it on the ground

    thanks!
     
  2. Offline

    TheYamsMan

    @little_dude187 I'm working on this as we speak, what version do you use? Also, are you the one who requested the troll chicken plugin I made for someone a long time ago?

    Also, do you want the guns to disapear entirely or stay with the player when the respawn.
     
    Last edited: Jul 17, 2015
  3. Offline

    little_dude187

    i dont remember a chicken plugin lol, im using spigot 1.8.7 latest buildtools *Mod comes in to move post* i want everything configurable and works with crackshot
     
  4. Offline

    TheYamsMan

    @little_dude187 You didnt answer my second question, kinda essential to write the plugin.
     
  5. Offline

    little_dude187

    kinda did, i want everything configurable, so i dont want them to loose the guns on death, but i want that configurable with certain guns
     
  6. Offline

    TheYamsMan

    @little_dude187 So you want configurable guns to be destroyed, configurable guns to keep with the player, and all guns to not be dropped on the ground?

    Also, I think I can get the plugin to work anyways, but would you mind explaining these guns to me? are they renaimed items the have a recource pack on them?
     
  7. Why post in the section you know is the wrong one?

    Moved to Bukkit Alternates.
     
  8. Offline

    TheYamsMan

    I didn't even know this section existed...
     
  9. Offline

    little_dude187

    some guns i want to be dropped on death and droppable, others not dropped on death but droppable, others you cant get rid of at all unless in enderchest
     
  10. Offline

    TheYamsMan

    I don't know about dropping guns on the ground, but I'm working on dropping only some on death right now. I'll get back to you when I'm finished.
     
  11. Offline

    little_dude187

    ok heres how to make this simplier, certain guns drop on death, other guns you dont drop on death, and OTHER guns you can drop on death but you can drag out of your inventory. all configurable. end of sentence :p
     
  12. Offline

    TheYamsMan

    @little_dude187 I know, I got it the second time lol. I'm saying I don't know if I can prevent the player from dropping guns with q. That's all.

    EDIT: Wow, just found something new on the javadocs. Nvm, preventing people from dropping the items will be easy.
     
    Last edited: Jul 18, 2015
  13. Offline

    little_dude187

    yea go figure xD
     
  14. Offline

    TheYamsMan

    @little_dude187 Know what needs to be done, shouldn't be taking too much longer. Been hitting some wierd roadblocks though that I know I should be able to figure out but can't tell what's wrong. I'll ge this to you in a few days max, hopefully sooner.
     
  15. Offline

    little_dude187

    cool thanks
    bump

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

    TheYamsMan

    Absolutely no reason to bump lol...I'm close.
     
  17. Offline

    little_dude187

  18. Offline

    TheYamsMan

    @little_dude187 I would assume no, but just to check, can players on your server rename items with an anvil?
     
  19. Offline

    little_dude187

    yes
     
  20. Offline

    TheYamsMan

    Yes they can rename objects or yes I am correct that they cannot?
     
    Last edited: Jul 20, 2015
  21. Offline

    little_dude187

    they can rename
     
  22. Offline

    TheYamsMan

    @little_dude187 for the sake of making my life a lot easier, can I prevent players from renaming items to the name of items they can't drop or would that be game breaking?
    For instance, if you didn't want people to drop a gun named "bazoka?, can I prevent players from renaming objects to that name? It will only be for names of items selected by the server owner.

    Also, I'm sorry this plugin is taking longer than expected. I have had to rework a lot of things that I did not expect to function the way that they did.
     
  23. Offline

    little_dude187

    certain objects i want renaming, ex. diamond sword that you cant drop i want to rename
     
  24. Offline

    TheYamsMan

    @little_dude187 Because I don't play well with APISsand wanted to make this plugin useful for more situations that yours, I made the plugin so that you can't drop an item that is named any name that the server owner defines in the config. The reason why I would need to be able to disable renaming to those names is people could rename everything they have to something that you want to be kept on death. Therefore, they never drop anything. If this feature is not what you want then I'm not totally sure what to do. Are the items that these guns are made from craftable? ARe these guns used in survival or are they used in minigames?
     
    Last edited: Jul 21, 2015
  25. Offline

    little_dude187

    survival
     
  26. Offline

    TheYamsMan

    So that this plugin isn't going to be abused, I need to make it so that you can't rename something to the name of something undroppable. Is this ok?
     
  27. Offline

    little_dude187

    yes.
     
  28. Offline

    TheYamsMan

    @little_dude187 These errors I'm getting just keep getting weirder and weirder. I'm not going to be able to finish this. I successfully got the player dropping items done, but when they die it throws an error every time I try to store an object, and I've been working on this for a LONG time. Do you want half a plugin or should I just scrap it?
     
  29. Offline

    little_dude187

    sorry for late response if you still have it try your best. idk what half a plugin is like xD so yea. continue if you can
     
Thread Status:
Not open for further replies.

Share This Page