ArmorWeight
ArmorWeight adds weight to your armor! Heavier armor makes the player more immovable and slower. Decide twice if you want that heavy but strong diamond armor or if that swift leather armor would be better.
Main Features
- Balance armor types! Strong armor now gets nerft by making the player slower and more immovable. Also, this increases the power of horses, as you keep your speed on them.
- More realism! Add realism to fights and duels on your server.
- More strategy! Tanky or good at escaping? Your players will have to decide and makeup strategies!
- No mods / use of potion effects needed!
- Fully configurable! Change every value and message for this plugin!
- Supports Forge items! Just add the mod Material names to the config file and it will just work! Mod armor tutorial
Commands
/weight [player] | Get the weight of a player |
/armorweight<help;reload> | Displays generic plugin help or reloads the plugin |
Showcase Video by Spencer Recor
Configuration
How weight works
- A "normal" Minecraft player weighs 100
- Less weight (e.g. 80) means lighter (= faster)
- More weight (e.g. 120) means heavier (= slower)
- Player weight = normal weight + armor weight
- A "normal" Minecraft horse weighs 500
- Horse weight = normal weight + rider (player) weight + armor weight
# The language chat: language: enUS # The weight of a player / horse wearing no armor playerWeight: 90 horseWeight: 400 # Enable / disable weight for players, horses, enchantments ... weightEnabled: armor: player: true horse: true horseRider: true enchantment: false # Enable / disable the speed (slowness) and knockback effect for players or horses effectEnabled: speed: player: true
playerCreative: false # for creative mode horse: true
amplifier: 1.0 # how strong speed should change
knockback:
player: true
amplifier: 1.0 # how strong knockback should change # A list of all enabled worlds enabledWorlds: - "*" # A star (*) will enable all worlds - "world" - "world_nether" - "world_the_end" armor: # The weight of a full armor for each material type # You may also use any item (e.g. "pumpkin", "player_skull") weight: leather: 10 gold: 40 chainmail: 20 iron: 30 diamond: 50 pumpkin: -10 # The percentage share of a certain piece in total weight of the armor share: helmet: 17 chestplate: 45 leggings: 25 boots: 13 enchantment: # Make sure to enable this in weightEnabled.enchantment if you want to use it # How much every enchantment level adds to the weight of a armor piece weight: # The weight for all enchantments not specified general: 3 protection: 5 unbreaking: 5 weightWarning: # Whether warnings should be displayed when players wear heavier armor (text configurable in lang.yml) enabled: true # How many seconds have to pass until another warning can be displayed cooldown: 10
Permissions
armorweight.weight.armor | Makes your weight be changed by armor |
armorweight.effect.speed |
Makes your movement speed change depending on your weight |
armorweight.effect.knockback |
Changes how you are knockbacked depending on how much you weigh (heavier players are knocked back less, lighter farther) |
armorweight.command.weight.getown | Allows you to display your current weight |
armorweight.command.weight.getothers | Allows you to display the current weight of other players |
armorweight.command.plugin.info | Allows you to display information about ArmorWeight |
armorweight.command.plugin.reload | Allows you to reload the configurations of ArmorWeight |
Source, JavaDoc, Buildserver, Maven, Documentation
You are free to make a plugin that uses ArmorWeight, but you have to credit me and link back to the plugin. Also, feel free to share your creations and send them to me!
Metrics
Since version 0.3.13 this plugin sends statistics data to bstats.org (respectively before 0.3.13 to mcstats.org). To disable this, set the value "metricsEnabled" config.yml to "false".
Cauldron Servers
If you get an exception regarding horse speeds on Cauldron, disable the horse speed effect.
Compatibility
ArmorWeight should work with all plugins that do not change the player or horse speeds. There are known compatibility issues when also having the plugin ZHorse installed. Disable the horse speed effect when using it.
If you encounter a plugin that is not compatible, please leave a comment I and will get to it.
ArmorWeight is compatible with:
- Thirst, making players with heavy armor more thirsty!
- Essentials
- NoCheatPlus
Keep up the good work, me and my players adore this plugin!
@smeths
That's a good question! I'm afraid I can't give you an answer though. In theory, any plugin compatible with changing player speeds (e.g. speed attributes) should work. Please let me know if you find a compatible plugin and I'll link it for others!
Hmm.. the page states incomparability with ncp but is there a compatible cheat prevention/detection system?
@Zettelkasten
Hi. I reproduced the false positives with your plugin and posted them here: https://github.com/NoCheatPlus/Issues/issues/144
Feel free to join the discussion.
Hi and thank you for your plugin. I'm getting a lot of NPEs in v0.3.11. Are you already aware of them? http://pastebin.com/uA0NPu7F
@gunleader
No worries! I won't drop support for Bukkit/Spigot even if I experiment or even fully support another platform!
@Zettelkasten
I hope it's not too much to ask but, please don't drop the support for Bukkit/Spigot that fast. I like this plugin alot and Sponge is so young.
@gunleader
I have been following Sponge for some time now and it seems promising! I'd love to play around with it in the future!
@Zettelkasten
Thanks, I am glad I can help ^^
Is there something you do consider the future, like Sponge? Just curious, as long as I have the opportunity to download and use the plugin it's fine for me.
Just keep up the great work :)
@gunleader
Hey, thanks for that bug report. Turns it was only happening on the German translation as I added the message for the wrong key, it has to be "weight.warning" instead of "weight.command.warning". Will be changed officially in the next release! For now you can please change it manually for in your own config file.
And to consider Spigot: I do think it is the future as well, but currently I don't think the move is worth the hassle... Sorry!
Hey really thankful for the fast update, but still I want to see this plugin over at Spigot. That's the future ^^
But just one thing I found, even if I turn the config to another language for example deDE the warning that "heavy armor weighs you down" is always english. I don't know how to fix that. :/
Update for 1.9? :D
@Zettelkasten
Aaah camel-case, how I loathe thee >_<
Danke, I really should have thought of trying that.
@RhetoricalRabbit
Hey, sadly we all know Bukkit Dev is not up to date and lacks a lot of features - which is actually a very good reason to migrate to Spigot or some other site.
To address your enchantment issue: The key should be "featherFalling" (emphasis on the capital F). I agree that it would be very benefitional to make it case-insensitive and to support the official ids etc. So this is planned - danke for pointing this out :D
@Zettelkasten
Bugger :( Curse the need for pro-activeness :'(
But danke for pointing out the sub button. May make my replies more immediate if it covers posts as well. Although I think I remember turning off email notifications for them; I expected an on-site notification.
As for something related to the plugin this keeps popping up:
[ArmorWeight] Unknown enchantment type "feather_falling"; ignoring it
EDIT:
Same with the protection set to "PROTECTION_FALL", "featherfalling", "featherfall", and "2", which I believe to be the enchant ID.
Current config format is:
@RhetoricalRabbit
I don't like the idea of having to maintain two websites at once - but Spigot looks good. Maybe in the future, not now though - sorry mate!
You can tell BukkitDev to send you an email when someone update a plugin through the Subscriptions tab (like this one).
@Zettelkasten
Alohaha ^_^
Just for my personal laziness really :p Spigot auto-notifies of any updates to a downloaded plugin / posts to a watched page. If dev.bukkit does that I'm not aware of it.
@RhetoricalRabbit
Heyho! ^.^
I actually don't. Is there a specific reason why you want me to have one - maybe I will create one c:
Ahoyo ^_^
Just wondering if you have a spigot page as I've not managed to find one for you yet.
@foogimicester
Hello, this is planned, but needs a lot of fundamental changes to be implemented. So please be patient ;)