Filled TogglePvP

Discussion in 'Plugin Requests' started by NoobyServerOwner, Mar 1, 2015.

Thread Status:
Not open for further replies.
  1. Plugin category: PvP

    Suggested name: TogglePvP

    What I want: I would like to see a plugin for creative servers which will allow players to toggle their gamemode as well as their inventory, with one command.
    Basically once you type a certain command, you get put in gamemode survival and armor, sword, bow, etc. are put into your inventory and armor slots, which could be configured in the config.

    Ideas for commands: /pvp on - switches inventory to armor and weapons, and give player survival mode.
    /pvp off - switches from pvp inventory back to creative inventory
    /pvp reload - reloads the config.

    Ideas for permissions: togglepvp.on - /pvp on
    togglepvp.off - /pvp off
    togglepvp.reload - /pvp reload

    Ideas for config:
    Code:
    #This changes the kit that players use to pvp
      kit:
        armor:
          - IRON_HELMET {[name:PvPHelmet][enchantments:{protection:3}{projectile_protection:3}]}:1
          - IRON_CHESTPLATE {[name:PvPChestplate][enchantments:{protection:3}{projectile_protection:3}]}:1
          - IRON_LEGGINGS {[name:PvPLeggings][enchantments:{protection:3}{projectile_protection:3}]}:1
          - IRON_BOOTS {[name:PvPBoots][enchantments:{protection:3}{projectile_protection:3}]}:1
        inventory:
          - DIAMOND_SWORD {[name:PvPSword][enchantments:{sharpness:3}{knockback:2}]}:1
          - BOW {[name:PvPBow][enchantments:{punch:3}{power:3}]}:!
          - ARROW {[name:PvPArrow]}:30
          - GOLDEN_APPLES {[name:PvPGapple]}:3
          - STEAK {[name:PvPFood]}:10

    When I'd like it by:
    Anytime possible :D.
     
  2. Offline

    Regablith

    inb4MrCookieslimePostsAboutHisPlugin
     
  3. Offline

    mrCookieSlime

    I still do that :p I was simply sleeping.

    @NoobyServerOwner
    My Plugin CommandOverride would be able to do this. Link is in my Signature.
    If you want the Armor to be automatically put on, ask @timtower . He has a Plugin for that.
    Example:

    /pvpon:
    - 'console:/gamemode s <player>'
    - 'console:/clear <player>'
    - 'console:/give <player> iron_helmet 1'
    etc... and the opposite for /pvpoff
    And then just use timtower's Plugin to make the armor be automatically put on upon executing that command.
     
    Regablith likes this.
  4. Offline

    mrCookieSlime

    No problem, please mark this as Filled then.
     
Thread Status:
Not open for further replies.

Share This Page