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.
@xBlueXFoxx Thanks, i don't really feel like doing much more on it right now.
It should work perfectly with all new craftbukkit versions though.
Definitely a good plugin, please do keep it supported!
@Pirog17
Thank you, i will make them part of the default config.
Here, i wrote some basic weights, so if it will be helpfull, include in your main post this config:
http://pastebin.com/rq1jLBMM
Why don't items have a default weight?
I think they should have a default weight other than 0.
@imabduul
You did make sense, not sure if i'm willing to have different max weights for each player though. It's possible but at least right now i'm not very interested in adding that.
Can you add multiple permissions for different weight + speed amounts so players can level up their weight. Could be used to grant players extra weight after achieving something from another plugin and then giving the player an item that grants them permissions to a larger weight, ie commanditems from craftbook.
Please reply if I didn't really make that much sense
@Benno812
Fixed using X[ID] (like X2000) as the ModLoaderMP identifier.
@xDizasterCYx
Didn't really get what you mean, when they are running they have more stamina? Wouldn't be the opposite?
@wiedzmin137
I see, a config section for vips, looks good. I can add a limit to carried items also, maybe by percentage, like if someone has over 110% over max weight it would block them from carrying anything else.
@Benno812
I'm not sure but custom items should have a "Material" name too, if you find that name and add it to config, it should work. I'm planning in adding a command to show the name of the item you are holding. Hopefully it will make it easier for people with custom mods.
can you add a feature to add items in the config by their ID? My server runs a lot of custom mods and i can't add items from mods to PlayerWeight.
@NoChanceSD
In regards to vips config, please look at that example code:
Full replaced config for vips, that I mean. For other effect, maybe weakness and negative saturation? Can you add limit of carried items too?
Idea is good and it makes Minecraft more realistic but it isnt very useful
could you make it like stamina. for example when a player is running always his/her stamina will increase and the 64 will be 100 and more.
@wiedzmin137
Yes, i'm a huge fan as you can see xD
Can you be more specific, what kind of advantages would Vips have? I can add permissions like those but i don't know what kind of effects i could add.
Hello. Can you add config for specifics groups, e.g. vips (using by permissions, e.g. PlayerWeight.vip)? And can you add more effects? Thanks.
(Hello another Gintama's fan :P)
@OceanCubes
It's still waiting for approval by bukkit staff, i guess it's because of new year and all that.
Where i can download new version of plugin with optional xp bar?)
@OceanCubes
I'm working on it now, will try to upload it today.
Edit: Done!
Thanks!
When you will add optional xp bar? Some rpg servers really need it...
@OceanCubes
If you know the Material name of the custom item and add it to the config with a number, like the rest of the normal items, it should work.