Simple P-Damage Modifiers
P-Damage Modifiers, for the Roleplaying server.
UPDATED AND FIXED FOR 1.5.1! This requires that permissions of some sort are set up!
Have you ever wanted to change the amount of damage a player or group does? Now you can! This plugin should work with many previous bukkit builds, but it was compiled with 1.5.1 R0.1
In the past I've had a hard time finding a plugin that will let me modify the damage that a group in my permissions plugin does, so I went ahead and made one.
What it does:
You can change the damage a player does using a multiplier. (Yes it supports decimals, but because of the way damage works, it rounds it up or down.)
How to use it:
Give a player or group the permission, followed by the multiplier for instance:
pdamageattack.default.2 (Multiplies damage from group by 2)
pdamagedefense.default.1.5 (Divides damage to group by 1.5)
Permissions:
Attack:
- pdamageattack.default.x
- pdamageattack.swords.gold.x
- pdamageattack.swords.wood.x
- pdamageattack.swords.stone.x
- pdamageattack.swords.iron.x
- pdamageattack.swords.diamond.x
Defense:
- pdamagedefense.default.x
- pdamagedefense.swords.gold.x
- pdamagedefense.swords.wood.x
- pdamagedefense.swords.stone.x
- pdamagedefense.swords.iron.x
- pdamagedefense.swords.diamond.x
Gl;Hf!
I ran into this guy in the Terraria section of Twitch.tv. He was hacking the game while claiming to be a dev running around using Red's Wings. i made a joke about his name because its spelling is Gam3r_Pon3 which he claimed was Gamer Pony. I decided to mess with him by pointing out that 3 does not equal Y. At this point the guy flips out and start bragging about how much he knows about My Little Pony and how much of an asshole I was being and got the streamer to ban me.
The funny part is that i still have my cassette tapes siting in a drawer from when i was a kid in the 80s.
In short, this guy is a real piece of work. Most immature person I have ever had the displeasure of meeting on twitch.tv.
Don't download his stuff, don't support anything he does. Personalities like that don't deserve our attention.
Does this plugin only modify sword damage? Because I need it to modify player damage with every item. Perhaps pdamageattack.all.x would work?
Does this plugin work for 1.5.2?
Also, if default is set to 2 and diamondaxe is set to 3, does this make the multiplier 2, 3, or 6?
does this plugin work with bows and fists as well or just melee? or is it even just swords?
@icedemond5
Yeh, I can try to do that. :U
Can this make them do the following?: Immune to fall damage when landing on certain block types: Take more damage from things like Fire or lava: Be Immune to Fire/Lava: Thanks~
@cyrushehe
Yes, i have previous verified this and just did so again with no other plugins that could get in the way. for whatever reason is does not seem to be applying the damage mod.
@ryanjjjj
Well it multiplies/divides damage and then uses Math.round to convert that to an integer. :U What I'm needing to know is if the plugin is actually loading into the game properly, like if you say /pl does it list it? Is it in red?
@cyrushehe
No, the console presents no warning or stack trace.
I was hoping the issue was the permission configuration but that doesn't seem to be the case.
In terms of the modifier you say that the permissions support decimals but are rounded is the total damage rounded or the modifier itself?
EX: diamond swords hits for 6 normally, + - perm.whatever.1.7
- would it round the 1.7 to 2 making the total 12 or
- Will it round the continuous decimal for the damage equaling 10 rounded down?
How exactly does the plugin work on a more technical level? (I'm a programmer in java and c++ so there is no need to simplify technical jargon)
And i am already using the pony mod pack, well at least parts of it. I,v implemented i different magic system :/
EDIT: I also forgot to ask, does this plugin affect damage to and by mobs? I'm using a health monitoring system so i can track damage to the precise number, this is where i notice no change in damage.
@AlTechMC
Can I have a log of your server starting up?
@cyrushehe
Nope, players can kill me with 20 hits, which is the default damage with hands
@AlTechMC
If you set it to 100, then does that work properly? :?
Hello there, great plugin! But this permission isn't working: pdamagedefense.default.x If I set the amount to 700 and someone try to hit me without items I can die, damage don't get decreased. If I use settings for each sword it works. What's wrong?
@Senophoe
Can do. :U
Suggestion: modify critical hits.
@ryanjjjj
It's fine here. :? Hm. Are there any errors? Does the plugin notify you that it has loaded? You know, if you're trying for pony classes, you can use The PON-3 Gaming Pony Pack, also of my creation. x3
Its not working on my end :/
Im running minecraft: ver 1.5.2
bukkits beta build: -don't remember the exact revision-
and the latest's available version of your plugin.
example PEX configuration:
earthpony:
prefix: '&8(&2EarthPony&8) &f'
inheritance:
- GENERIC_INHERITANCE
permissions:
######Racial attack and defence stats######
- pdamageattack.default.2
- pdamageattack.swords.gold.2
- pdamageattack.swords.wood.2
- pdamageattack.swords.stone.2
- pdamageattack.swords.iron.1.5
- pdamageattack.swords.diamond.3
- pdamagedefense.default.3
- pdamagedefense.swords.gold.2
- pdamagedefense.swords.wood.2
- pdamagedefense.swords.stone.2
- pdamagedefense.swords.iron.2
- pdamagedefense.swords.diamond.2
############################################
Is there an issue in my configuration?
Also i apologies for posting my question here, i found no ticket tab :/
@PaulBGD
YES! I FIGURED OUT HOW TO MESS WITH BOW STUFF DEPENDING ON THE GUY WHO SHOT IT JUST A WHILE AGO IN ANOTHER PLUGIN! You're brilliant man. :)
Bows :3
@mafima
@TheDavroar
Sorry guys! Updated. I've been way off track with things lately, but I've fixed it and it should work without update for further builds of Bukkit, but I'll still be updating it! /)*3*(\
Can you add per weapon permissions for the attack? I mean the following examples;
pdamageattack.swords.2