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
@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 ;)
Is it possible for armor weight to be applied to mobs, not just players? i.e. a zombie wearing diamond armor is affected in the same way that a player is.
Looking by the comments and requests of others, I'd like to suggest something. What about a listener for armour lore. If the armour pieces have some lore (configurable in the config) you can apply(or remove) some weight to them(also configurable).
You could add a section in the config for adding in different lores to listen for and the weights to be applied for each of them.
for example a player could have a chestplate with lore going "Feathermail Chestplate" and you can add a config entry to say how much weight that chestplate would then have.
Others could use it as an enchantment with lore like "Lightness I" and cause that to have -x weight. and "Lightness II" with -y weight etc. Would really allow for a lot of customisation and interesting features in RPG style servers.
Thank you once again for this plugin zettelkasten. Been using it since close to a year and its a must have for me. :)
@RhetoricalRabbit
Good suggestion, so I added this right away. Look forward to v0.3.10 uploading right now and take a look at this page on how to use it.
Feel free to send me a message when you incorporated weights for the Slimefun items ;)
@Zettelkasten
Is it possible to make it so that metadata can be used to distinguish weights?
I'm aiming to incorporate various weights for MrCookieSlime's Slimefun items
I have a issue, when the players Tp to an another world , they loose the slowness, They must remove their armor, and wear it again. for recover the slowness. I used sipgot 1.8 , essentials, Multiverse, Worldguard , griefprevention, autosave, thrist , and the last version of the plugin.