ItemStay
Summary
ItemStay allows you to drop an item and make it so that the item that you dropped cannot be picked up by anyone and will not despawn! Items dropped by users will NOT be stacked with the ItemStay items like they do using similar plugins.
Videos
Other videos:
https://www.youtube.com/watch?v=RCeH8xT2pGk
https://www.youtube.com/watch?v=W6_wwORq2G4 (Portuguese)
Commands
Command | Function |
---|---|
/itemstay | Create a new display. The next item dropped will be put on display. |
/itemstay list | Able to be used by anyone. Shows displays within 5 blocks of you. |
/itemstay delete <ID> | Delete a display. Find the ID of a display through /itemstay list. |
/itemstay respawn | Respawn every display. |
/itemstay reload | Reload the configuration, reload the displays from file and respawn them. |
Permissions
Permission node | Access |
---|---|
itemstay.admin | All commands of the plugin. |
itemstay.create | /itemstay '/itemstay delete <ID>' for displays created by you. |
itemstay.delete | '/itemstay delete <ID>' for every display. |
Support
Leave a comment or make a support ticket for help with the plugin.
Plugin now cross-released at Spigot.
Compatibility
The plugin should be compatible with pretty much any version you might be running, including 1.7.x, Spigot 1.8, 1.8.8, etc.
Credits
- garrett2smart87 - plugin inspirer, manager
- nighteyes604 - plugin author
- adventuretc - maintainer, developer
Source code
You can find the source code inside the .jar file.
The source is also available on Github. Feel free to make a suggestion.
can this plugin support quality armory i want to sell weapons
Don't work for me in 1.12.2 i drop an item and it do nothing
@Melonking
hey thats a cool command. What plugin is that? which shows ur server status.
@StonederI
If you choose between 1.5.5 and 1.5.5b please use 1.5.5b.
In the config.yml, you should set the following:
item removal check: true
@yasondodai
Can you please write what server version are you using?
Hmm, I don't understand..
I can't use itemstay I already type /itemstay "next item you dropped will display"
After I dropped my item, nothing happened.. The item is not stayed, i could take into my inventory
Anyway I want to use it for ChestShop Is there any configuration I missed ?
Wait for your response, Thanks
Regards Yason
Hi i am using ItemStay with Chest icon for my Chestshops
But i have problems when i using 1.5.5 and 1.5.5b
1.5.5b problem: The chest icons despawn after Clearlag auto remove. Than i need to use allways /itemstay respawn
1.5.5 problem: The icons despawning after a restart from the Server. The Config was not emty but when i type: /itemstay list it show me nothing and /itemstay respawn not working
I dont understand it becuse it works for me a long time but on one day all chesticons was despawnt and the config was emty.
Since this problem it dosnt work again:(
You have any ideas what is the problem?
Sry for my bad english i am german.
Best regards
Stone
Edit: i have changing the Problemdescription
@imgamer
Please read the notes here:
http://dev.bukkit.org/bukkit-plugins/itemstay/files/15-item-stay-v1-5-6/
i seem to be having the same problem as ebaldino. im using item stay in conjunction with chestshop so that there is a display on every shop
@ebaldino
Yes, I concluded that this is the problem and before you wrote this message I sent you a PM with a test jar. :)
@adventuretc
Hi again.
Thank you for the reply and the effort.
This thing was really bugging me, because I didn't want to give up either ItemStay or PerWorldPlugins. So I forked them both and took a look at the code - hope you don't mind.
PerWorldPlugins is a bit tough for me, but ItemStay is neat and nicely written. Eventually I figured out that the presence of PWP was making any reference to a location or a world in FrozenItem crash with a null pointer exception.
Then I ran into your softdepend solution for Multiverse and tried adding my test world (ASkyblock) to that list. That fixed the problem.
Therefore, with PWP around, ItemStay was creating all the FrozenItems before the locations were actually available, which was weird (not least because there were no errors).
So I took out the softdepend and added a single line in FrozenItems.hasWorld(). In the if statement (before the "return true"), I added
location = new Location(plugin.getServer().getWorld(worldName), blockX, blockY, blockZ);
Since you always test to see if the item has a world before you do anything with it, I figured this was a good spot to make sure location referred to an actual place. And it worked!
I've been running it for half an hour now, all commands work, everything seems fine. Looks like it's a good fix. If any problems come up, I'll let you know.
Best regards and thanks again!
@ebaldino
Ok. First, create a backup of your item list.
If you want to go back to the older Itemstay version you need to edit the item list.
New list format:
name,world,-392,69,370,351,4
Old format (1.5.5b loads this):
name,world,-392,69,370,DROPPED_ITEM,351,4
Meanwhile, I found out what might cause the error with Itemstay 1.5.6, there will be a fix in the next version.
@adventuretc
Hi.
After some testing, it's clearly a conflict with PerWorldPlugins - either one works fine without the other present; when they are both present, we get the errors.
I also noticed that, although 1.5.5b does not generate errors when running alongside PerWorldPlugins, itemstay does not load the items - they are not displayed and not available to list.
I realize PerWorldPlugins is iffy, but it's also the only plugin I know that does what it does, short of using bungeecord.
@ebaldino
Could you please post your plugin list?
Hi.
I too had problems with ItemStay 1.5.6.
The first thing I noticed was a memory spike, then repeating error messages on the console:
Could not pass event ChunkLoadEvent to ItemStay ..... Caused by: java.lang.NullPointerException at org.bukkit.Location.getChunk(Location.java:78) [minecraft_server.jar:git-Spigot-f928e7a-e91aed8] at me.nighteyes604.ItemStay.ItemStayListener.onChunkLoadEvent(ItemStayListener.java:73) [?:?]
I went back to 1.5.5b, but only to find out I had lost all of my displayed items .
I made a poll, please vote.
@Melonking
How many items do you have?
Could you please tell me what plugin are you using for profiling?
Does the cpu usage change using Itemstay 1.5.6?
Thanks.
@adventuretc
ItemStay itself is using 50% at times.
If you have a nice setup, send us images to be featured in the description please!
Well, send them to me, to be exact.
@Melonking
How much is it using without Itemstay?