item keeper

Discussion in 'Archived: Plugin Requests' started by kaketoe, Jan 12, 2013.

?

does this alredy exists?

Poll closed Jan 22, 2013.
  1. Yes

    0 vote(s)
    0.0%
  2. No

    100.0%
  1. Offline

    kaketoe

    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
     
  2. Offline

    45zeldafan

    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.
     
  3. Offline

    colony88

    I don't think that's a good idea. That way, they won't be able to drop ANYTHING
     
  4. Offline

    45zeldafan

    That would be to the group that doesn't have the permissions to drop items from inventory or on death.
     
  5. Offline

    kaketoe

    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.
     
    Last edited by a moderator: Jul 8, 2016
  6. Offline

    kaketoe

  7. Offline

    xXSniperzzXx_SD

    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?
     
  8. Offline

    kaketoe

    exactly
     
  9. Offline

    xXSniperzzXx_SD

    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
     
  10. Offline

    kaketoe

    could you also add something that if the player is offline he wil get the item when he comes online
     
  11. Offline

    xXSniperzzXx_SD

    That would make it a little harder but i'll see what i can do
     
  12. Offline

    kaketoe

    kk, thx
     
  13. Offline

    xXSniperzzXx_SD

    So it may be a bit, i just remembered i got exams all next week.... so
     
  14. Offline

    kaketoe

    kk, have fun with your exams :)
    and i hope you can start with it asap
     
  15. Offline

    Me4502

    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.
     
  16. Offline

    kaketoe

  17. Offline

    FluffyNarwhals

Share This Page