This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
CreativeNoPickup fixes the problem of your inventory becoming clogged with items and block while you are in creative mode. The idea for this plugin was suggested by IdealIdeas, here.
Features
Prevents your inventory being filled with loads of the same item or block when picking them up.
Will pick up one of an item or block if there is space in your hot-bar for it, and there is not some of it already there.
Is enabled via a command, being disabled upon log in to prevent accidental deletion of items.
Use
Command
Description
/pickup
Enables and disables inventory control for a the player. Is automatically disabled when logging out.
Permission Node
cnp.pickup
Allows holder to use the pickup command. By default, the ability is available to everybody.
Also, due to the potentially destructive nature of this plugin, the feature will be disabled whenever you log out, to prevent you forgetting about it. This will help to prevent you mucking something up if you forget about having the feature enabled.
I send a "fake" item pickup packet to the client, triggering the sound and animation that we want. The canceling of the event stops these things from happening so we have to trigger them ourselves.
@snivellFTW
THANK YOU
NICE
@BegbertBiggs
Agreed. I'm going to add a command to toggle it.
Also, due to the potentially destructive nature of this plugin, the feature will be disabled whenever you log out, to prevent you forgetting about it. This will help to prevent you mucking something up if you forget about having the feature enabled.
There should be a possibility to toggle it.
this should be in essentials :D
Also can you make it so this only works for the inventory?
For example, if I have an open space in the hotbar I can pick up an item and have it fill the hotbar, but if the hotbar is full no pickups happen.
Because sometimes I do need to be able to pick up items that players drop.
@IdealIdeas
Sorry, I mucked up with that update and forgot to put the removal code back in. Uploading fix now.
@th3controller
I send a "fake" item pickup packet to the client, triggering the sound and animation that we want. The canceling of the event stops these things from happening so we have to trigger them ourselves.
Why is there a packet code inside your pickup event?
It seems to leave the items behind still.
I dont want it to leave them behind for others to pickup.
1 of the reasons is if i destory tnt in creative it still leaves a drop.
@IdealIdeas
Okay I'll see what I can do! As to why it doesn't show in the plugins list, I have no idea.
Other than that I like it!
It works like it should and keeps my inaccessable inventory clear while im in creative mode!
Well it does delete them instead of picking them up.
But is there any way you can make them get deleted AFTER I picked them up?
I like hearing the pickup noise so I know it was picked up.
It also doesnt show up when I do /plugins.