PlayerWeight
Description
PlayerWeight adds weight on each item and displays it on your experience bar while also slowing the player movement according to weight.
So let's say you defined your max weight to 100 and you have items weighting 50, your experience bar will be half full and your speed decreased according to defined in config.
Features
- Define weight for any item
- Show weight percentage on experience bar
- Slows movement speed according to weight percentage
- Displays a message on speed change
Commands
/pw reload - Reloads the plugin
/pw debug - Enables debug (Will spam your chat, not advised to enable)
/pw - Shows your current weight
Permissions
playerweight.bypass - Bypass the weight and speed change
playerweight.reload - Allows the use of the reload command
playerweight.debug - Allows the use of the debug command
Videos
English - Credit: VariationVault
Other Videos:
Portuguese Video Credit: AbsintoJ
Configuration
- Define max weight possible (100%)
Max Weight: 180
- Enables debug
Debug: false
- Enables XP bar showing weight
Enable XP Bar: true
- Change message displayed by /pw weight
WeightCommand: 'message'
- Disable the messages below on weight change
Disable Messages: true
- You can define 4 percentage areas and the speed for each one
Less And Equal To: Percentage: 24 SpeedPercent: 105 Message: '&6[&7PlayerWeight&6]&a You Are Light, Nice!' Between: Percentage: 25,49 SpeedPercent: 95 Message: '&6[&7PlayerWeight&6]&2 Getting Heavier, Be Careful!' Between1: Percentage: 50,100 SpeedPercent: 70 Message: '&6[&7PlayerWeight&6]&c You Are Heavy, Try to Lose Weight!' Bigger Than: Percentage: 100 SpeedPercent: 50 Message: '&6[&7PlayerWeight&6]&4 Oh No! What Have You Done!'
- After this you have a huge list with all the in game items and a weight for each one
You can add data values to items too. Example:
WOOL: 0.5
WOOL,14: 1
This would give white wool a weight of 0.5 and red wool a weight of 1
More Info
Feel free to suggest new features and also report bugs
It also uses an update checker and an auto updater, both possible to disable in the config under the Update Check section.
The ability to make players unable to pick items after they reach the maximum weight would be an awesome addition :P
Possible to add an option for modded item ? Possible to make that the player can not take the items when it inventory weight is full ?
thank you and thank you for your reply has you know if you can add option.
Work with mod ? exemple bloc of twilight forest, or ruby.
after testing not work for modded items.
its possible to fix this ?
@NoChanceSD
Would be nice if you could add that feature. :)
@games647
Oh alright, i didn't know there was an API so i just assumed that.
Not really interested in adding that feature though.
@Trevor450 @NoChanceSD
You could also add variables by your own. Therefore I made the API.
If you have any questions, just ask.
@Trevor450
I don't think so, sorry. And it would probably have to be the scoreboard stats dev to support this plugin.
Would it be possible to make this compatible with scoreboard stats? I want to use this on a survival server so using the exp bar doesn't make much sense.
This would be 1 million times better if you could add support for custom item names!
it would expand the same bland items into variations of the same item!
example, Mithril is a lightweight metal, similar to aluminum, but stronger. steel is standard armor material but is heavy.
iron chestplate (or on my server Half-Plate) would weigh 10 lbs, unless it was made out of Mithril (so Mithril Half-Plate) and weighs 5lbs instead!
Great plugin! We've been using this succesfully ever since our Alpha launch in March 2014. It seems it also works in our 1.8 Spigot testing environment. Any ETD of an official 1.8 update?
Great plugin and brilliant idea! XD Can you add an option to display the weight at the hunger bar? Therefore it would be also impossible to sprint after too much weight.
Great plugin! Just what i was looking for.
@Meowt
I will, can you confirm it works?
@NoChanceSD
Thanks! Add this information in "Configuration".
@Meowt
It already supports mods.
According to a user if you add X[ID] it should work.
Example:
X2000: 4
You just need the item ID, i didn't test this though, that's just what someone told me.
Hello! Please, can You make support for mods (non Vanilla blocks and items)?
Thanks!
@Minefrench
It's possible but is it really necessary? I think a command to see the weight is enough.
its possible to add a scorboard value for add weight and a right screen
Video Tutorial on the Plugin
http://youtu.be/0Ez-4B656Jw
Credits Video: (AbsintoJ/PlayerWeight)