Dropping Items without getting lags

Discussion in 'Plugin Requests' started by Xxstick, Mar 7, 2015.

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

    Xxstick

    Plugin category: Fun

    Suggested Name: dropthatitemhead

    What I want: I am requesting a plugin wich will make Drops to heads with names e.g. you drop a stack of cobblestone, the items get replaced with a head with a configurable Name. If possible with placeholders like:
    {item-Name}
    {display-Name}
    {amount}

    After a configurable time the heads will despawn.

    [optional-1]
    If possible make it like dropping 2 stack of cobble will Show the Name Cobblestone x 128 and you can pick up if you right-click it the 128 cobblestone. If the inventory would be full after 1 stack that the head will still be there with the Name Cobblestone x 64

    [optional-2]
    If possible make that the head Skin is configurable like cobblestone will get the cobblestone Skin as head. If possible with names too like if I rename an item then it will get the texture of its Skin.

    The Configuration would look like:

    dropthatitemhead-Display-Name: "{item-Name} x {amount}"
    dropthatitemhead-Despawn-Time: 60 #times in seconds

    Ideas for commands:
    /dropthatitemhead reload

    Ideas for permissions:
    dropthatitemhead.reload
     
    Last edited: Mar 21, 2015
  2. Offline

    Xxstick

    How can I Change the title?
     
  3. Offline

    timtower Administrator Administrator Moderator

    @Xxstick Top right corner, thread tools, edit thread
     
  4. Offline

    Xxstick

  5. Offline

    Xxstick

    would it reduce lag? I mean then there wont be many items on the ground but the plugin has to check if someone dropped something,which item got dropped, amount...
     
  6. Offline

    rivwhall05

    Just get a plugin called clearlag it will remove items on the floor after a certain amount of time!
     
  7. Offline

    ZizzyDizzyMC

    While clearlag would work at removing items, lets say I broke 130 chests of emerald blocks on a prison server while 30+ people were at my plot selling other items, a plugin like this would have saved their framerates alot lol. I went from 350fps to 1fps in an instant. It is a nice idea, just hard to implement quickly and effectively. (There is a lot left up to the plugin dev as to what event creates what.)
     
  8. Offline

    I Al Istannen

    I have done a plugin which can do this ;). Il will be away for about a week, so i cant react to messages. The plugin isnt fully optimized and im just a beginner in Java, but feel free to try it out. Pls let me know if you experience any bugs, I will read the messages next week.

    File: https://www.dropbox.com/s/1x6a4srnpztb0f7/droppedItemHeads.jar?dl=0
     
  9. Offline

    timtower Administrator Administrator Moderator

    @I Al Istannen You probably want to fix the loggers in onEnable and onDisable, and some other random broadcasts
     
  10. Offline

    mrCookieSlime

    Also, this Request is not in the Alternatives Section, so it is most likely to be used for 1.7.
    So your Plugin is most likely not going to work.
     
  11. Offline

    Xxstick

    @mrCookieSlime I am using 1,7,9, does it mean it wont work for me?
     
  12. Offline

    mrCookieSlime

    Exactly, he made his Plugin only work on 1.8
     
  13. Offline

    Xxstick

    @I Al Istannen
    Can you make it work for 1.7.9 and upload it on bukkit pls?
     
    Last edited: Apr 1, 2015
  14. Offline

    I Al Istannen

    Oh i didnt noticed the Alternatives section, thanks for pointing it out :)
    Because the plugin used ArmorStands to display the items it will only work in 1.8 or higher. That's why I made one version using Items. So all dropped items wont be collected in one head, but in one itemstack. They get released again, when you pick them up. But i liked the idea with the ArmorStands so i made one ArmorStand version for 1.8 too. I havent found any random Broadcasts nor false Loggers, but you can never be sure ;) I also doubt that it is nearly bug-free, so feel free to report them.

    1.7: https://www.dropbox.com/s/wztv60q99iozido/DroppedItemHeads1.7.jar?dl=1
    1.8: https://www.dropbox.com/s/uh954hmt0mbg8fj/DroppedItemHeads1.8.jar?dl=1
     
  15. Offline

    Xxstick

  16. Offline

    I Al Istannen

Thread Status:
Not open for further replies.

Share This Page