[INACTIVE][MECH] PowerArmour v0.2.1 - Supercharge your armour abilities! [617]

Discussion in 'Inactive/Unsupported Plugins' started by cyklo, Feb 27, 2011.

  1. Offline

    cyklo

    PowerArmour - Supercharge your armour abilities!
    Version: 0.2.1
    Download: Jar File | Source Code
    Like this plugin? Donate a buck!

    PowerArmour is a fully customizable plugin that lets you give superhero abilities to certain armour combinations. You can set up configurations that allows people wearing leather boots and holding a feather to take no fall damage, or people wearing all gold armour are completely fireproof!

    The plugin is completely configurable, and you can set any combination of headgear, chestplate, leggings, boots and held weapon give protection against only specific types of damage.

    To install, simply decompress the contents to your plugins directory. Then, copy powerarmour/config.sample.yml to powerarmour/config.yml and edit away!

    Here is a quick sample configuration that defines two special armour abilities:

    Code:
    powerarmour:
      EXAMPLE_ONE:
        armourdamage: true
        equipment:
          body: IRON_CHESTPLATE
        protection:
          - DAMAGE_ENTITY_ATTACK
          - DAMAGE_ENTITY_EXPLOSION
      EXAMPLE_TWO:
        armourdamage: false
        equipment:
          head: GOLD_HELMET
          body: GOLD_CHESTPLATE
        protection:
          - DAMAGE_LAVA
          - DAMAGE_FIRE
    
    The following values can be used to specify what sort of protections each armour configuration can offer:
    Code:
    DAMAGE_ALL
    DAMAGE_FIRE
    DAMAGE_LAVA
    DAMAGE_ENTITY_ATTACK
    DAMAGE_BLOCK_EXPLOSION
    DAMAGE_ENTITY_EXPLOSION
    DAMAGE_CONTACT
    DAMAGE_DROWNING
    DAMAGE_FALL
    DAMAGE_SUFFOCATION
    ENTITY_TARGET
    
    Changelog (open)

    Version 0.2
    • Added protection from entity targeting (0.2.1)
    • Complete configuration overhaul - now you can create your own completely flexible armour loadouts! (0.2)
    Version 0.1
    • Rebuild for MC 1.4 (0.1.3.1 - no repo changes)
    • Compatibility patch (0.1.3)
    • Added damageable armour (0.1.2)
    • Moved to sample config file to reduce confusion (0.1.1)
    • Bufgix for blank item slots - now valid (0.1.1)
    • First release (0.1)
     
    nicholaslimck likes this.
  2. Offline

    letmedl

    Could you please explain what each ability does exactly? I can guess, or I can test it out, but would be nice to know in advance. thanks.
     
  3. Offline

    cyklo

    Apologies, yes, edited the original post.
     
  4. Offline

    kookiegorawr

    This looks promising! I'll try this out soon. Oh and you might wanna pay attention your OP.
    You put OtherBlocks...I'm guessing you copied and pasted for the format?
     
  5. Offline

    cyklo


    Thanks... it's late and I'm tired...
     
  6. Offline

    NEO

    Do you have plans to include permissions support?

    My server has groups with special abilities which is why i ask. Otherwise it looks very nice.
     
  7. Offline

    Hero_In_Green

    I'm fresh.

    Mind giving a detailed instruction on how to implement this into the server and editing the config file?
     
  8. Offline

    cyklo

    I shall, although I don't know what the prevailing mood on right-management plugins are. Is Permissions still the most popular?

    Just unpack the archive (.jar file and folder) into your plugins directory. That's all you need to do to install it.

    As for editing the config file, it has this kind of hierarchy (note that whitespace is important):

    Code:
    powerarmour:
        ABILITY:
            head: SOMETHING
            body: ANOTHER_THING
        ANOTHER_ABILITY:
            head: SOMETHING_ELSE
            
    The "ABILITY" strings you can use are those mentioned in the OP - FIREPROOF, WATERPROOF, BOMBPROOF, MONSTERPROOF, FEATHERWEIGHT and INVINCIBLE.

    Under each ability, you can specify a required item for the "head", "body", "legs", "feet" and "hand". They are all optional. The strings you can use to specify what items are required are specified here: http://cliqr.org/V
     
  9. Offline

    NEO

    Permissions as far as i know is the most widely used plugin of its kind. Theres also group manager which is compatible with permissions.

    Permissions has a new developer, so its still being maintained and updated.
     
  10. Offline

    oatmealpacket

    Armor powers work for me as an admin, it seems, but not for any players. Any idea why that is?
     
  11. Offline

    Hero_In_Green

    Thanks, and it works.

    As for editing, I'm not exactly sure with what you said from "whitelist" to "String/threads" and how to exactly open the .yml file.
    And for the link you gave me, I'm completely lost, but it gave me a small thought for coding basics of MC.
     
  12. Offline

    cyklo


    The config.yml is just a plain text file laid out in a specific way. You can open it in GEdit, Notepad, whatever. The indentation of the sections has to be the same as in my example: "powerblocks:" against the left hand side, each "ABILITY" four spaces in from the left, and each subcomponent ("head", "body" etc.) four spaces in further again.

    For each ability such as "ANOTHER_ABILITY:", replace it with the word (string) you want, e.g. "FIREPROOF:".

    As for the link, at the top of the file there are a whole bunch of words in capital letters which correspond to each type of block in Minecraft, each on a new line. This is just so you get the wording right for each tool / armour component, e.g. the gold shovel isn't called exactly that, but if you look through the start of that file you'll see something called "GOLD_SPADE". That's what you'd want to write, e.g. "hand: GOLD_SPADE"
     
  13. Offline

    Hero_In_Green

    I can't open it up with notepad. It maybe because of my OS.
    I'll try GEdit soon, so I can try editing the abilities.

    I appreciate your patience with me. :p
     
  14. Offline

    Juze

    Great plugin. By default, diamond set is just overpowered though, especially in PvP. Going to change that. :p
     
  15. Offline

    cyklo

    If you're using Windows, right-click the file, Properties -> Opens With (Change) -> Choose notepad.
     
  16. Offline

    Hero_In_Green

    I did, after that, it became a null entry. I'll look into it if I can.

    Can I also hope for other abilities like arrow proof, and monster proof (which was not included). I have some strange item combination for them... :p
     
  17. Offline

    qintesh

    Why don't you just make a God Mode that works?
     
  18. Offline

    cyklo

    Monsterproof does exist, I just haven't put it in the example config for some reason. Protects against arrows, spiders, zombies etc., but NOT creepers.
     
  19. Offline

    Kainzo

    A lot of your plugin ideas will be used in our RPG pluging developed. No fall damage, anti fire, etc.

    I'd like to talk more with you about these things :)
     
  20. Offline

    cyklo

    Sure, I'm scratching my head for expansion avenues at the moment...
     
  21. Offline

    arishoham

    I like the idea and it works great with more blocks but its a little unfair for my server, is there a way to make it cost something? like if you fall while having fall-proof on it takes away a feather, or if you get hurt from an explosion it takes away some gunpowder. I dont know if its possible in bukkit but if it is it would be a great feature to add on!
     
  22. Offline

    Hero_In_Green

    Nice idea.

    For waterproof, you must take the durability of the armor, but the amount taken can be set.
    Fireproof, The bucket (IF POSSIBLE) is set to a amount and for every fire damage taken, it decreases (As if you're using water to stop burning).

    What level of coding are you at?
     
  23. Offline

    cyklo

    I AM A LEVEL 52 CODER WITH THE BASH AND C++ AMULET.

    Seriously though, the problem with this system is that "the bucket of water" is purely an example configuration - I didn't mean it to be concrete. However, I do like the idea of whatever's handheld being consumable - if it's something that can take damage (a tool) it gets damaged, otherwise it just disappears. This could work quite well for things like feathers, but buckets o' stuff don't have damages. I shall have a think... as for right now I'm a bit drunk so I shall deal with all this tomorrow night.
     
  24. Offline

    Sorce

    Yeah dude you need to get more steps on the installation process I extracted and then when it comes to setting the items doesn't work
    Code:
    # INVINCIBLE
    #
    # For each ability, specify a required item
    # for head, body, legs, feet and hand.
    # Each component is optional.
    # For a list of available items, see http://cliqr.org/V
    
    powerarmour:
    
        WATERPROOF:
            head: CHAINMAIL_HELMET
            body: CHAINMAIL_CHESTPLATE
            legs: CHAINMAIL_LEGGINGS
            feet: CHAINMAIL_BOOTS
    
        FIREPROOF:
            body: CHAINMAIL_CHESTPLATE
            legs: CHAINMAIL_LEGGINGS
            feet: CHAINMAIL_BOOTS
            hand: LAVA
    
        BOMBPROOF:
            head: CHAINMAIL_HELMET
            body: CHAINMAIL_CHESTPLATE
            legs: CHAINMAIL_LEGGINGS
            feet: CHAINMAIL_BOOTS
    
        FEATHERWEIGHT:
            feet: CHAINMAIL_BOOTS
            hand: LAVA
    
        INVINCIBLE:
            head: CHAINMAIL_HELMET
            body: CHAINMAIL_CHESTPLATE
            legs: CHAINMAIL_LEGGINGS
            feet: CHAINMAIL_BOOTS
            hand: LAVA
     
  25. Offline

    cyklo

    Please do not just say "it doesn't work", I can't help you with that. Does the plugin not load? Are there server log error messages? What are you hoping for it to do? What does it actually do? Those sort of things.

    As for the installation process, I can't add more steps as there aren't any. Unless you mean configuration, in which case see this post.
    --- merged: Mar 2, 2011 7:49 PM ---
    Updated to 0.1.1 which should fix a few bugs, as well as supplying a sample config instead of a ready-to-run config to reduce confusion.
     
  26. Offline

    Monkah

    How about fireman? The ground turns on fire two seconds after stepped.
     
  27. Offline

    Shenlong

  28. Offline

    DraxisWuf

    I haven't tried this out, but it looks excellent. One quick question - While the player is invincible to all or certain types of damage is the armor still damaged? If not, could that be included as an option for balance?

    Also an option to have armor being worn in these specific configurations to just degrade over time with a settable tick of degradation would be nice.

    And finally may I suggest a HEALING effect?
     
  29. Offline

    cyklo

    Currently no damage, but not for long - toggleable option in next update.
     
  30. Offline

    DraxisWuf

    Awesome. How 'bout an option for

    head: NOTHING
    ... etc.

    So say, for FEATHERWEIGHT I can force players to be wearing nothing and have nothing in hand.

    Oh, nm. I see it can be set to AIR. Double awesome!
    Also, SNOW_BALL might be an interesting consumable for inflammability.
     

Share This Page