[MECH][BukkitDev]ItemStay v1.4.2 - Create Displays!

Discussion in 'Archived: Plugin Releases' started by C0nsole, Apr 21, 2012.

  1. Offline

    C0nsole

    [​IMG]
    >>>BukkitDev<<<
    NOTE: this was not made by me but by nighteyes604, but he gave me permission to make it public here.​
    This is compatible with 1.5/1.5.1!
    ItemStay - Create displays here to stay!​
    Version: 1.4.2​
    ItemStay lets you make displays that people cannot pick up and will not despawn.​
    Features:
    • Create displays that nobody can pick up and will not despawn.
    • Delete displays.
    • List displays within 5 blocks each way of you.
    Permissions:
    • itemstay.create - Lets you create displays.
    • itemstay.delete - Lets a person delete displays.
    • itemstay.admin - Lets you do both of the above.
    • itemstay.reload - Lets you use the plugin's reload command.
    Download:
    The download can be found on bukkitdev, which the link for is above.

    Commands:
    • /itemstay - Create a display.
    • /itemstay list - List displays within 5 blocks of you.
    • /itemstay delete [ID] - Delete a display. The way you find an item's ID is by doing /itemstay list.
    • /itemstay reload - Reload all displays.
    Changelog (Only recently started back up again):
    Version 1.4.2
    • Compatible with 1.5, 1.5.1.
    • Fixed: Items on ground not reloading when adding new item.
    • Feature: If the player is closer to an item than 0.8 blocks (and 2.0 blocks vertically), player item drops are cancelled to prevent player item loss (due to minecraft item merging).
    • Feature: If an item is dropped on the corner of a block that is the neighbour of the ItemStay block AND minecraft merges the original item to the player's item, the item is still unpickupable (the item would become unprotected with ItemStay v1.4).
    ScreenShots (open)

    I do /itemstay and
    [​IMG]

    Then I drop it and
    [​IMG]

    And, as you see, I cant pick it up.
    [​IMG]

    Then I do /itemstay list and
    [​IMG]

    Then, I do /itemstay delete 0 and
    [​IMG]
     
    Vastrix, origamifish11 and theiking like this.
  2. Offline

    theiking

    Screenshots probably
     
    garrett2smart87 likes this.
  3. Offline

    C0nsole

    feedback much appreciated. added.
     
  4. Offline

    theiking

    I have a question this time around.

    Will having lets say, 100 of the entities "ItemStay'ed" will I experience any memory leaks as a result. I know from experience with the ShowCase plugin that if you have to many item/block icon entities loaded that it can cause some bad memory leaks that crash the server.

    I was just wondering if you have tested that in ItemStay as of yet.

    In anycase it is a really nice plugin and I hope that it is approved.
     
  5. Offline

    zombieman1000

    going to test look for bugs

    you coded this good cause no bugs and is so sick

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

    C0nsole

    Gonna have to ask nighteyes604 on that one, because, as I said above,
     
  7. Offline

    nighteyes604

    I have not tested the plugin but while it probably does something similar to what Showcase does, there shouldn't be any sort of "leak" - having tons of items will just make it more laggy.

    I will look into making the plugin more memory efficient and update it probably tonight.
     
  8. Offline

    C0nsole

    Just PM me when you do ;)

    md_5
    :D
    :p

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

    md_5

    Approved.
     
    garrett2smart87 likes this.
  10. Offline

    theiking

    Yeah, It does make it more laggy for people with slower computers. But server wise Im fine, 16gb allocated to the server and 4 gigs burst so No need to worry about that. Its just something about narrowtuxlib that likes to cause problems with other plugins and cause leaks.

    I had to remove my NPC skinning plugin because thats what was interacting with NTL crashing the server in 10 minutes flat

    Anyway congrats on getting approved. I sure will install the plugin on the iKingsSGC Test server oon :)
     
  11. Offline

    C0nsole

    Cool! I hope you like :D
     
  12. Offline

    Icabaad

    On the latest Beta build I'm experiencing the items despawning! All the messages read successful and I can still see the displays in the config file but when coming back to the location the itemstay items have gone!
     
  13. Offline

    nighteyes604

    Do they come back on reload? How long does it take? How far away do you go?
     
  14. Offline

    C0nsole

    Hm, make a new itemstay then do /itemstay list while you are standing next to it and make sure it is on the list. Once you have made sure it is on the list, then see if this bug persists.
     
  15. Offline

    92921376

    When I type /itemstay it says that the next item thrown on the ground will be made into a display but once I throw it nothing happens and I can pick the item up. The console says that the" Task of 'Itemstay' Generated an exception."
     
  16. Offline

    92921376

    A side note, I am using a slightly older bukkit version and I can't update for a while.
     
  17. Offline

    nighteyes604

    Which version of bukkit are you using? I'll try to make it work for you but it may take some time.
     
  18. Offline

    kalookapoo

    Not cool with the LOLSUP spam when a itemstay stand is broken ...

    Is there a way to turn that off?
     
  19. Offline

    nighteyes604

    I don't see that code in the most recent version (I think) but I'll upload a fixed version tomorrow for you just in case. Sorry about that!
     
  20. Offline

    kalookapoo

    It was in frozenitem.class Thanks a bunch :)
     
  21. Offline

    zeiser

    This seems to be working great, you should try having the drops save after restart and maybe some more features.
     
  22. Offline

    zachs1995

    Great plugin, but I am having a problem. When I use "/itemstay" and then drop an item it will put it on display, but if I log out then back in, the items become drops that I can pick up. Does your plugin not save the data or is this just a random problem?
     
  23. Offline

    nighteyes604

    The plugin should be preventing you from picking it back up, and it definitely saves the data. You personally log out or the server restarts and you can pick them up? I'm releasing an updated plugin later today so try that when it's up.
     
  24. Offline

    zachs1995

    It is when I personally log back in. For some reason it's only with newer placements, the older ones I placed are fixated still. I am an Admin and OP, I dont think that should effect it but just in case im letting you know. When the updated version is out I will retry.
     
  25. Offline

    nighteyes604

  26. Offline

    Orcem12

  27. Offline

    kalookapoo

  28. Offline

    nenestar

    Hi :)
    Love this plugin ... but my items keep despawning and only come back when the server is reloaded... the config files are all there and i am using the latest bukkit beta build... can't work out why it's doing it :( any suggestions as I don't want to have to keep reloading over and over .... thanx
    oh and i also updated to your newest update but hasn't made a difference...also getting reports people can pick up items too :(
     
  29. Offline

    zachs1995

    Ooops, nope. Its still taking back the items I put down whenever I log out and log back in. Other players can pick items up also.
     
  30. Offline

    nighteyes604

    If you two don't mind, can you tell me which other plugins your server is using? There's probably conflicting plugins I need to check for, because the plugin itself works when it's the only one.

    Thank you and hopefully I can get it to work for you :)
     

Share This Page