Plugin category : General Suggested name : DropsMagnet ; Magnetization What I want : A plugin that lets players to collect drops from a far distance. Ideas for commands : - /magnetization toggle ; /mag toggle ; /ma t Toggle magnetization on or off. Ideas for permissions : - magnetization.toggle Permission for /magnetization toggle When I'd like it by : Anytime Please tell me if this plugin is possible or impossible to create.
This will take me some time and more time to learn more Java, but I'll try it out. I love a challenge
GregMC i'm sorry. I can't work on the plugin anymore because of something school related. sorry to let you down
GregMC okay so how fast do you want the items to get to the player? Also if another person is close to the dropped items, do you want the closest a player to pickup the dropped items?
I have made this plugin for you: http://dev.bukkit.org/bukkit-plugins/playermagnet/ It is currently awaiting approval, but if you experience any issues with it I will gladly help you out.
Eh, BChauv already did it, but I don't care about the item picking speed, but the closest will take it
GregMC it looks like you don't need me for this anymore. don't forget to change the thread to 'Filled'
Take a look at getNearbyEntities(x,x,x) you can get a list of all Entities around the player in an x by x by x cube. then just cause the Items to move toward the player or just appear in there inventory.
Bumpity bump VariationVault made a video on this plugin EDIT by Moderator: merged posts, please use the edit button instead of double posting.