ChangeDamage
ChangeDamage by FalseVacuum
NOTE: I don't play MineCraft anymore. Please don't ask for new features. They're not going to happen.
Sorry guys, updates are *very* slow! I don't play MineCraft, and I'm super busy with other things. I do enough coding every day.... I would be thrilled to have someone to which to pass on the torch!
Up for takeover! PM me for details.
Features
- Item/weapon damage
- Arrow damage
- Critical damage
- Strength effect
- Weakness effect
- Separate world configurations for damage output (all of the above features)
- Armor protection
- Fall damage (including armor protection during falling)
- Permission to decide if item/weapon damage changes based on the dealer. This also affects critical damage and the weakness and strength effects.
- Ability to configure item/weapon damage output for PvP only or for both PvP and PvE
- Default configuration so that you can avoid playing with things you don't understand yet.
- Responsive development team—I usually get back to you within 24 hours, and I get right on to bug reports.
- Open source
Overview
ChangeDamage is a plugin which allows you to change the damage an item does or the amount armor protects you. For example, you may want to make diamond swords more overpowered than they already are, increasing damage output to 20 (10 hearts). Or maybe you may want to nerf those OP diamond swords, so you decrease the damage output to 5 (2.5 hearts). Maybe, just for grins and giggles, you want the flower to do 200 damage. However you want it, that's how you can do it. You can also change the damage points of a piece of armor. You could buff the unobtainable chain armor, whilst nerfing the overpowered diamond armor!
So what ChangeDamage does is it allows you to change the damage output of any item. You can choose if this applies to PvP only or if this works for PvE. EvP will not be affected (for example, Zombie Pigmen's gold sword's damage output will be constant). It also changed the damage points of a piece of armor.
Commands
The current commands are:
- /changedamage reload - Reload the plugin
- /changedamage release - Disable the plugin (unload it, so you can remove it/replace it)
Future commands may include options to modify damage output of weapons from commands instead of from the text file
Config
- pvponly - true/false - If false, ChangeDamage will affect player versus entities (PvE) in addition to PvP. If true, ChangeDamge will only affect PvP
- verbose - true/false - If true, ChangeDamage will send you all sorts of useless spam messages that help me debug issues. Don't set this to true unless you know what you are doing.
- research - true/false - If true, ChangeDamage will occasionally print out some notes for me. Please report these notes if you get them. They will be marked "[ChangeDamage] [Research]" and will appear in the console. This is to investigate the possibility of adding critical hit support.
- damages - See "Damages", then see "Projectiles"
- armor - See "Armor Points"
- damages.expressions - Allows you to input an equation for how much damage a critical hit does. Variable 'n' is the amount of damage done by the player, rounded down to the nearest even number. Use the subnodes of "damages.expressions" "strength", "weakness", and "critical" to affect damage output for strength effect, weakness effect, and critical damage, respectively. See "Expressions"
- fall - Allows you to decide fall damage. Only activated when the player falls more than 3 blocks. Variable 'd' is the distance fallen, rounded down to the nearest integer. Variable 'a' is the total armor points of the player. Use node "fall.expression" to specify damage. See "Expressions"
Permissions
The permissions nodes for this plugin are:
- vacuum.changedamage - Gives access to /changedamage
- vacuum.changedamage.damage - Default enabled. Disable to make damage output changes not be affected for this player.
Upcoming features
Color scheme:
- In progress
- Suggested
- Completed
These are features I want to add but have not yet done so:
- Change durability
- Armor color
- Mob effects when wearing certain armors (maybe)
- Automatic updating
- Modify enchantment power
- Change potion power
- Potion effect when attacking
PLEASE make suggestions. If it's something easy, you can be sure to find it in the next update!
Bugs
Color scheme:
- Unresolved
- Resolved but not in the current version
- Resolved
Bugs:
- ClassCastException caused by killing Ender Crystals
- Cannot use non-armor pieces as armor (causes an error when falling)
- NPE in arrow calculation
- Arrow permissions weren't working
- Critical damage didn't work
- When performing a critical hit, damage output was reducing
- The fall damage expression was being read from the wrong node
Download
To download the Bukkit approved version, click the "Download" link on the top right hand side of the page.
To download stable versions click here.
-
View User Profile
-
Send Message
Posted May 23, 2012@ultimateowner56
If each class has different weapons, set it for different weapons. If not, I'll have to figure out a way to add that in without corrupting old files. The easiest way I can think of is, as you said, permissions based, but that doesn't allow for multiple groups.
-
View User Profile
-
Send Message
Posted May 23, 2012Awesome! It would be reallly really reallly useful if you can make it so the modified damage only affected users with a certain permission. I need to make paladins deal less damage only. :D
-
View User Profile
-
Send Message
Posted May 22, 2012YAY! Armor support done! You can now modify how much armor protects.
-
View User Profile
-
Send Message
Posted May 22, 2012@KingShibby
Good news :D I got the ideas. I just need to write the code!
-
View User Profile
-
Send Message
Posted May 14, 2012@KingShibby
Not for a while. I have exams till the 21st of May. If I finish between the 21st and 27th, which includes figuring out how to do it, then I'll post it up. Otherwise, I go to Europe for 3 weeks, Canada for 1. Then I start work which means I have more free time. Sorry :/
-
View User Profile
-
Send Message
Posted May 14, 2012Any ETA on an update?
-
View User Profile
-
Send Message
Posted Apr 24, 2012@hungoverfurbal
I don't think it's going to happen for a while. Exams start next week.
-
View User Profile
-
Send Message
Posted Apr 22, 2012@hungoverfurbal
I looked into it, but I couldn't find a way to do it (because I'm not sure where Bukkit handles armor damage). I'll take a second look.
-
View User Profile
-
Send Message
Posted Apr 22, 2012If you could do the armor protection amount for different types of armor that would be Amazing
-
View User Profile
-
Send Message
Posted Apr 11, 2012@Lolseeker
Not yet. I know I could add that for a certain number of permissions nodes, but I wonder if I could do it for any set of custom permissions nodes. I'll do some research.
-
View User Profile
-
Send Message
Posted Apr 10, 2012Would it be possible to give the changed damage output to certain ranks only?
So for example that a mod would his with a diamond sword from 200 and default users with 10.
-
View User Profile
-
Send Message
Posted Apr 9, 2012@AssRealm
Done! Check the description for the new format. It's all done through the config file and is world specific :D
-
View User Profile
-
Send Message
Posted Apr 5, 2012@AssRealm
Yeah, I have an idea for how to do this, but I have to rewrite how it obtains the damage maps.
-
View User Profile
-
Send Message
Posted Apr 5, 2012World Specific? This plugin is great, i always wanted to change damage for my up coming CTF world = 0 dmg everything lol. just need it to be world specific D:
-
View User Profile
-
Send Message
Posted Mar 30, 2012@Flenix1
Those are easy. I'll get them done next time I'm on my computer. (tablet right now) I can't do permissions nodes, but I can shift everything to the config file.
-
View User Profile
-
Send Message
Posted Mar 30, 2012Couple of suggestions:
1. Permission node for the damage, for example:
vacuum.278.10 would let you do 10 damage with the diamond pick. Give that to one person, then giving vacuum.278.5 would make another person only do 5.
2. Data value support - in these days of Spout, I'm sure I'm not the only one wanting to control the damage of my spout swords...
-
View User Profile
-
Send Message
Posted Mar 29, 2012@nhoclesnar
Thanks. I hope to make some updates soon.
-
View User Profile
-
Send Message
Posted Mar 28, 2012Awesome plugin.
-
View User Profile
-
Send Message
Posted Mar 19, 2012@Pandamatak
I'll add that to upcoming features, but, as with the others, I don't want to overcomplicate. This is specifically for a client, so if the client doesn't want it, I don't add it :/
-
View User Profile
-
Send Message
Posted Mar 18, 2012Hey, could you let us edit crit rates and crit damage as well?
There's a really old plugin that does this but it's not compatible with 1.2.3
Here's the source for that plugin.