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.
@falsevacuum
...and lightning strikes too! Can't forget lightning strikes! Sorry about forgetting that!
Anyway, I don't mind that this plugin is last on your list. This is your plugin, you can do what you want with it, and I'm patient so I can wait (for months), so no rush. I understand that everyone, including developers, need time and have their own lives to attend to. :)
@CommodoreAlpha
That would be easily doable. I need to find time. I have a lot to do on my list and not a lot of time to do it! Unfortunately, updating this plugin is right about last on my list :(
Do you think you could also let the plugin change how much damage cacti, drowning, fire, firetick, and lava could do? (Those are all the other environmental deaths I could think of.)
Sorry for the bad news, but this no longer loads as of the 1.5.2 update :(
@rpundurs
When I get my homework done.
@falsevacuum
Sorry to be a pest, but is there an ETA on this fix going live?
Please, update for 1.5.1 :P
Getting a error when stop the server i have the last version onEnable is good
http://pastebin.com/93790xS9
@bobbshields
Yeah, actually, don't add it for other worlds. Just use the default, which is the global. The armor value is changed globally automatically.
Also, you won't see it client side (armor point graphics won't change), but it still behaves (handles damage) properly.
I just installed the plugin and it doesn't seem to be changing the armor values. It said something about changing values for the world 'default' which is weird because I don't see a worlds section in the config.
Edit: I see where I did not change default under the armor node to the name of the world I'm on. Any chance you could make it a global option instead? All you would have to do is parse all the worlds if the only node was defined as some token. I might be interested in helping code this, btw.
Nice plugin helped me to make all the armors whit same defense!
@rpundurs
Oh, I know how to fix that. I should have I done by tonight, but bukkit can take a long time to approve.
@falsevacuum
I updated to the latest ChangeDamage and it's not working. I'm running CraftBukkit build 2700 and all kinds of errors are getting thrown out.
http://pastie.org/7138843
@CommodoreAlpha
Wait, which plugins are incompatible? This is important stuff to know.
Also, the build is still waiting for approval. >.>
@UltrafaceGuy
Hmm, it was working in 1.5.1? x_x
I ran it on my 1.5.1 test server with many plugins I would've used on my real server, and it didn't change the damage properly (vanilla damages retained). I forget which development build it was though, but it was a 1.5.1 R0.1 dev build. (I don't usually test each plugin alone because I use a ton of plugins, but I can now see the issue is probably of plugin incompatibility.)
Perhaps I should be less careless next time before I comment for an update. Sorry about that, and sorry for wasting your time.
@CommodoreAlpha
I've had it working in 1.5.1 what server version are you using?
@CommodoreAlpha
Is VOWFallen's version outdated? I would do it now, but I have no computer (only phone) access right now. PM me this time tomorrow if I don't have it done.
@falsevacuum
Times like this, I really wish I knew how to Java so I could update this plugin. This is the only plugin preventing me from updating, since it's too awesome to drop from my server. (I actually depend on it somewhat now.) :D
(And I know Java isn't a verb.)
@TommehRRR
I have it on a subversion repository: http://code.google.com/p/vacuum-changedamage/
Edit: you'll need to fix the obfuscated minecraft references. These are for the armor field, and the critical damage trigger expression. There may be more, but I don't think so.
Hey! I was going to update this? Where is the source? :D