PvP Kits

Discussion in 'Archived: Plugin Requests' started by owenftw, Jan 24, 2013.

  1. Offline

    owenftw

    Suggested name: PvPKits

    What I want: I'd like a plugin that only allows you to have 1 kit in your inventory so when you pick another kit, it clears your inventory, armor slots, potion effects and replaces it with the new kit.
    It should only clear your inventory when you try obtain a kit by rightclicking a [PvPKit] sign.

    I would also like it to support enchants, names, lores and the config should be much like the essentials config:
    Code:
    # Note: All items MUST be followed by a quantity!
    # All kit names should be lower case, and will be treated as lower in permissions/costs.
    # Syntax: - itemID[:DataValue] Amount [Enchantment:Level]..
    # 'delay' refers to the cooldown between how often you can use each kit, measured in seconds.
    # For more information, visit http://wiki.ess3.net/wiki/Command_Reference/ICheat#kits
    kits:
      LeatherSet:
        items:
        - 298 1
        - 299 1
        - 300 1
        - 301 1
      Archer:
        items:
        - 261 1 infinity:1
        - 262 1
        - 302 1
        - 303 1
        - 304 1
        - 305 1
    People with the permission 'pvpkits.createsigns' will be able set up signs that players will be able to use if they have the correct permission for that kit: 'pvpkits.kit.ItemName'. When players right click the sign, it gives them the items from that kit.

    When a player right clicks a [PvPKit] sign that they do not have permission to use I want it to send them a message that can be set in the config.

    Example sign:
    [PvPkit]
    LeatherSet

    Example sign:
    [PvPkit]
    Archer

    Ideas for commands:
    /pvpkit reload - reload config

    Ideas for permissions: (needs to work for PermissionsEX)
    pvpkits.reload - permission to reload config
    pvpkits.createsigns - permission to create and destroy kit signs.
    pvpkits.kit.ItemName - access to use a certain kit


    When I'd like it by: Asap
     
  2. Offline

    Jigsaw

    You may want to consider the fact that they could just throw the items on the ground, get a new kit, and pick up the items from the other kit. :)
     
  3. Offline

    owenftw

    All that will be controlled by other plugins :p got all that stuff sorted already xD
     
  4. Offline

    Jigsaw

    Okay. :p
     
  5. Offline

    Plasticman01

    Interesting idea, this may be useful to organize controlled pvp/pvp events.
    I took a look at the server in your signature owenftw, it is really nice.
     
  6. Offline

    owenftw

    Indeed :D it's for a pvpworld I am working on. The world has its own inventory so you can't take anything in or out of the world.

    and thanks =D glad you liked it.

    anybody willing to make this for free? If not for free, message me.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  7. Owen, if you'd like too put our differences aside, I'd happily make this for free. I'll send you the source code also.
     
  8. Offline

    owenftw

    thanks for offering but no.
     
  9. Offline

    Lars1011

    I could try.

    owenftw I made it, I can't message you for some reason...

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

    owenftw

    o thanks =D Hm just post it in this thread xD
     
  11. Offline

    Lars1011

    You don't want it just for yourself?
     
  12. Offline

    owenftw

    Don't really mind :p as long as it works
     
  13. Offline

    Lars1011

    Lol k if you need anything else I'll be happy to make it for you, I am at school arm but ill upload it when I get home btw cool server

    owenftw
    K here it is, if you want me to add more features, or find a but then just tell me here.
    -snip-
    Permissions:
    xpvpkits.createsign Defaults to OP
    xpvpkits.reload Defaults to OP
    xpvpkits.* Defaults to OP

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
    owenftw likes this.
  14. Offline

    owenftw

    that's great, Thanks alot :)

    Would you be able to add that it also removes any potion effects when switching class?
    and also removes the armor they are wearing because it doesn't do that atm.

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

    Lars1011

    Sure

    owenftw K new version removes armor and removes all potion effects from the player when they get the kits.
    Same Link ^^

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
    owenftw likes this.
  16. Offline

    ScreamingDragon

    Got a question: How do you know if you successfully created a PvPkit sign?
     
  17. Offline

    Bic_Boi_Ken

    Lars1011 hey im try to get this so this happens on my server too. When people hit signs there inventory, armor, potion effect, all clear. Do you mind showing me how to do this step by step. I dont know where to write it in which .yml file
     
  18. Offline

    Lars1011

    Sorry for no response, I didn't see the alert... but I will no longer be developing the plugin for public use.
     

Share This Page