[ADMIN/GEN] AlwaysHave v1.1 - Make sure players always have an item [953]

Discussion in 'Inactive/Unsupported Plugins' started by tips48, Jul 3, 2011.

  1. AlwaysHave - Make players always have an item.
    Version: v1.1
    AlwaysHave was the product of a request here by @CoolOppo . Basically, it makes players always have an item. For example, say you always wanted players to have 3 signs. When the player runs out of signs, this plugin will give them 3 signs again. This could be useful for creative servers and admins.
    Features:
    • Lets players always have a item
    • Support for more than one item
    • Support for amounts of an item
    • Blacklist players through configuration
    • Permissions support
    Download
    Source code

    Configuration:

    Code:
    Excluded-Players=newboy123,griefer3
    ItemToGive=10:10,11:3
    Use-permissions=false
    
    The first configuration node, Excluded-Players, is a list of people you *don't* want to get items from this plugin. These only apply when Use-Permissions is false. Seperate names with a comma.

    The second configuration node, ItemToGive, is the items you want players to recieve. the format is ID:amount,ID:amount with id being the item/block id, amount being the amount of the item to give. Seperate items with a comma.

    The third configuration node, Use-permissions, tells the plugin weither to use permissions or not. If you set it to true, only players with the node "AlwaysHave.allowed" (without the "") will get items from the plugin. This is useful if you only want admins or certain classes to have this feature. NOTE: this ignores Excluded-Players.

    Todo:
    • Add a property for players to be excluded
    • Add permissions support(only these players get items)
    Changelog:
    • Version 1.1
      • Added two new configuration properties(delete configuration file)
      • If usePermissions is set to true, players must have the node "AlwaysHave.allowed"
      • Added a blacklist to not give items to x players
    • Version 1.0
      • Initial release

    Updated to 1.1, Permissions!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  2. Offline

    Deathlysteve-

    awesome! *downloads plugin*
     
  3. haha, hope you enjoy :D
     
  4. Offline

    CoolOppo

    I feel like a jerk not posting yet, lol...
    Thanks!
     
  5. Offline

    skeletonofchaos

    Please add a whitelist feature!
     
  6. Offline

    DeathCamel57

    works really well :) i just tested it on my linux server! thanks
    and can you make it so that we may assign a damage amount so that we can have wool
     
  7. Thanks guys :p
    @sleketonofchaos when i get home from vacation, yes.
    @DeathCamel57 i'll look into that
    @everyone
    I found wifi after wandering around the woods for a little bit, so i can hopefully provide support from here :p
     
  8. Offline

    Codex Arcanum

    Random feature request: Could you add the ability to distribute different items to different permissions groups?

    Edit: Why is the default item lava? Isn't that unnecessarily problematic if someone doesn't fix the config in time?
     
  9. Offline

    yakasuki

    thanks now ppl can have starting equpment :D
     
  10. Ahh, that is a good point :p And as to the feature request, yes, i can probably do that when i get home

    http://forums.bukkit.org/threads/why-my-plugins-arent-updated.27038/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  11. Offline

    eagledude4

    I know it's been requested before, but I'd really like to see this be Group based. For example, I'd like for my admins/mods to always have region tools, and normal players to always have a map and a compass.
     
  12. Ohh this is an amazing plugin for servers with donation groups :D
    And like many people before me, I also support the idea of different items being distributed to certain groups :)

    And is it possible to deny that player to drop/sell his given item? Since people can just drop/sell diamond pickaxes to every person on the server and always get a new one, which would pretty much ruin the server economy(since people can keep selling their item and become tycoons), and give the item to players who should not have it.

    I hope you will consider this as a posibility when you return :)
    And how come there is no internet in New York? :confused:
     
  13. Offline

    Slyvr

    I'm using PermissionsEx, do you know if it works with that and can there be multiple configurations between different groups? For instance, I want my wizard group to always have a stick/wand, and my knights to always have a stone sword.
     
  14. Offline

    lord0o

    Can you make this plugin for dev.bukkit.org?, it's really amazing work here :)
     

Share This Page