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 May 21, 2014@cancabron
Fixed
@CloudeLecaw
Thanks :)
@Shooty_
Maybe in a future version, you should create a ticket though or i will end up forgetting.
-
View User Profile
-
Send Message
Posted May 13, 2014Can you add multiple "ranks" so we can have different percent for different ranks... like with perms :) thanks
-
View User Profile
-
Send Message
Posted May 1, 2014Any news about this?
-
View User Profile
-
Send Message
Posted Apr 29, 2014Ive found a big bug. In the last update we can add weight to a item with :data:
Example:
INK_SACK,0: 5 INK_SACK,1: 5
...
It counts the weight well, but the items with durability like Swords, Axes, Armors... etc, doesnt work fine because they only works with the data:0
For example:
IRON_AXE: 5
It works fine if isnt used (recently crafted). When is used the data changes and doesnt work. Maybe you must add an option like:
IRON_AXE,*: 5
Sorry for the english :S
-
View User Profile
-
Send Message
Posted Apr 27, 2014@ventusanima
Have you tried changing the weight for wood in the config?
-
View User Profile
-
Send Message
Posted Apr 27, 2014hi nice plugin : ) i´ve test it this day and figured out, that ownly normal wood has a weight. Birch, Spruce etc. haven´t any. maby this will be fixt by defauld in the next pach? greetings ventusanima
-
View User Profile
-
Send Message
Posted Apr 23, 2014@CommodoreAlpha
Yes, armor does count towards weight. And it's not possible to disable messages currently, it's probably something i should add.
-
View User Profile
-
Send Message
Posted Apr 23, 2014Does equipped armour count towards weight? And is it possible to disable messages entirely?
-
View User Profile
-
Send Message
Posted Apr 23, 2014@cancabron
I can make the variables work on other messages sure.
And those decimal numbers shouldn't really happen lol
@mikekan13
As far as i know there is not a good way to adjust the jump according to speed. I can make them not be able to jump at all but wouldn't be good for other speeds...
-
View User Profile
-
Send Message
Posted Apr 23, 2014This is awesome for the server i'm making but could you make it so I can effect jumping too. I want it so when player is 100 or over they can't move at all and because they can still jump it defeats this. Great stuff otherwise.
-
View User Profile
-
Send Message
Posted Apr 22, 2014Maybe you could add the <weight>,<maxweight> and <weightpercent> to the other messages, like:
Less And Equal To: Between: ...
When they get some weight, they will be notified.
EDIT: Maybe you could shorten the decimals number when using /pw weight... its too long! XD
-
View User Profile
-
Send Message
Posted Apr 21, 2014@NoChanceSD
Thanks! So fast!
Im downloading now! :)
-
View User Profile
-
Send Message
Posted Apr 21, 2014@mcprogamer
Thanks, it kind of has world support through permissions already, give the permission playerweight.bypass on all worlds except on the MineZ one and should be good.
-
View User Profile
-
Send Message
Posted Apr 21, 2014Great plugin I think that you have done a great job. I have seen a similar plugin like this on a MineZ server, could you add world support so I could add it to my MineZ world? Thanks.
Mcprogamer :D
-
View User Profile
-
Send Message
Posted Apr 21, 2014@cancabron
Fine, added that in new version (it's waiting for approval)
It works exactly as you said. Example:
DIRT: 1
DIRT,2: 2
WOOL: 1
WOOL,14: 2
If someone wants to provide a item list with all data values for the default config, feel free to send it to me because i won't add them all myself.
-
View User Profile
-
Send Message
Posted Apr 21, 2014Can we use a ID:data now?
For example, podzol:
DIRT,2: 99
ID,data: weight
?¿?¿
-
View User Profile
-
Send Message
Posted Apr 20, 2014@CloudeLecaw
Oh, sorry about that, those are values i use internally to do some math and forgot that it was that way. Just remove that variable from the config and it will be fine. I'll fix it later.
-
View User Profile
-
Send Message
Posted Apr 15, 2014@xBlueXFoxx
The problem is that to change horse speed would make this version dependent. Would only work on 1.7.2 unless i made a version for each minecraft version.
@conflictxinside
Added, uploaded an update just now. Also has default weights in config. Didn't test it though so keep that in mind.
@Pirog17
Finally added your weights =D
-
View User Profile
-
Send Message
Posted Apr 15, 2014What is really needed is a permission to exempt a permission group from the effects. That way it can be used on a world-to-world basis.
-
View User Profile
-
Send Message
Posted Apr 6, 2014I understand you're not working on this plugin, but I have to ask, support for horse speed would be a nice feature, like be able to set a value in each group to change up the horses speed.