Plugin category: no idea Suggested name: Item Keeper What I want: a plugin that gives a player an item for a set amount of time. so if you type in the consol or ingame the special give command it wil be in the inventory of that player for the set amount of time and that they also can't drop that item. Ideas for commands: something like /ik give [playername] [item] [time] Ideas for permissions: itemKeeper.give
Not a bad idea, but this would be hard to code. EDIT: Actually, now that I think about it, you can use AutoRank and Essentials. Add a permission to the group you don't want players to lose items. Use AutoRank to choose how long until people can drop items. You can create a new group and use the same title with your permissions plugin.
That would be to the group that doesn't have the permissions to drop items from inventory or on death.
Is somebody working on this plugin? that isn't a good idea because it's for a donator if he donates he get's a weapon for a set amount of time and he wouldn't drop it when he get killed hello? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
So what your trying to get is a plugin where you define a player, an item, and a time, then the player is given that item for the amount of time. But well he has it he can't drop it, and it won't drop when he dies?
Okay, that should be to hard, i'm probably gonna code the items like this: Code: ItemID:DamageValue,Amount-EnchantmentID@EnchantmentLevel Because i already have code that turns that into an itemstack. and i'm probably just gonna make the cmd /IT <Player> <Itemcode> <Time> IT for Item Time, because Item Keeper sounds like you keep the item And for perms: ItemKeeper.Use because its just a single cmd and a single perm plugin
For anyone curious how to do it. Just put metadata on the item and check it when the player tries to drop it, or dies.