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
playerweight.max - Add custom max weights for players like playerweight.max.500
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
- The list will most likely be outdated, see https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html for current item names
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.
-
View User Profile
-
Send Message
Posted Dec 27, 2015The ability to make players unable to pick items after they reach the maximum weight would be an awesome addition :P
-
View User Profile
-
Send Message
Posted Sep 13, 2015Possible 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.
-
View User Profile
-
Send Message
Posted Jul 25, 2015Work with mod ? exemple bloc of twilight forest, or ruby.
-
View User Profile
-
Send Message
Posted Aug 4, 2015after testing not work for modded items.
its possible to fix this ?
-
View User Profile
-
Send Message
Posted May 19, 2015@NoChanceSD
Would be nice if you could add that feature. :)
-
View User Profile
-
Send Message
Posted May 17, 2015@games647
Oh alright, i didn't know there was an API so i just assumed that.
Not really interested in adding that feature though.
-
View User Profile
-
Send Message
Posted May 15, 2015@Trevor450 @NoChanceSD
You could also add variables by your own. Therefore I made the API.
If you have any questions, just ask.
-
View User Profile
-
Send Message
Posted May 10, 2015@Trevor450
I don't think so, sorry. And it would probably have to be the scoreboard stats dev to support this plugin.
-
View User Profile
-
Send Message
Posted May 9, 2015Would 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.
-
View User Profile
-
Send Message
Posted Apr 16, 2015This 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!
-
View User Profile
-
Send Message
Posted Dec 29, 2014Great 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?
-
View User Profile
-
Send Message
Posted Sep 2, 2014Great 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.
-
View User Profile
-
Send Message
Posted Jul 12, 2014Great plugin! Just what i was looking for.
-
View User Profile
-
Send Message
Posted Jun 12, 2014@Meowt
I will, can you confirm it works?
-
View User Profile
-
Send Message
Posted Jun 12, 2014@NoChanceSD
Thanks! Add this information in "Configuration".
-
View User Profile
-
Send Message
Posted Jun 12, 2014@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.
-
View User Profile
-
Send Message
Posted Jun 12, 2014Hello! Please, can You make support for mods (non Vanilla blocks and items)?
Thanks!
-
View User Profile
-
Send Message
Posted Jun 10, 2014@Minefrench
It's possible but is it really necessary? I think a command to see the weight is enough.
-
View User Profile
-
Send Message
Posted Jun 10, 2014its possible to add a scorboard value for add weight and a right screen
-
View User Profile
-
Send Message
Posted Jun 2, 2014Video Tutorial on the Plugin
http://youtu.be/0Ez-4B656Jw
Credits Video: (AbsintoJ/PlayerWeight)