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 Jul 20, 2012Silly vacuum, diamond swords hit 7 in default MC, not 9!
:3
-
View User Profile
-
Send Message
Posted Jul 19, 2012http://forums.bukkit.org/threads/unsupported-major-minor-version-51-0.78943/
Upgrade to Java 7.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@Rendfate
Wow that's weird. Someone else was getting the same error, too. I'll have to look into that... I've never gotten it before.
Do you mind giving me some details about which version of Bukkit you're using and what OS (Windows, Mac, etc.) you use?
-
View User Profile
-
Send Message
Posted Jul 19, 2012@falsevacuum
Yes it Says this even when i created the Folder ChangeDamage
-
View User Profile
-
Send Message
Posted Jul 19, 2012@Rendfate
Does ChangeDamage have any console output when you run it?
-
View User Profile
-
Send Message
Posted Jul 19, 2012@falsevacuum
Still not working :( i did exactly what you just said, this is my config:
its inside config.yml inside Changedamage folder inside Plugin Folder
-
View User Profile
-
Send Message
Posted Jul 19, 2012@Rendfate
Is it saving as config.yml.txt? Windows has a nasty habit of hiding file extension. In notepad, click "Save-as" and then choose "All files" from the drop down menu.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@falsevacuum
Hmm, i seem to have done what you said, i put config.yml as notepad in folder changedamage and i tested it out , but it stays the same, like the armor and all
-
View User Profile
-
Send Message
Posted Jul 19, 2012@falsevacuum
Ok thanks, let me try
-
View User Profile
-
Send Message
Posted Jul 19, 2012@Rendfate
Even after you run it? That's weird. Anyways, here's the default config:
Put it in a file called "config.yml" in the folder "plugins/ChangeDamage"
-
View User Profile
-
Send Message
Posted Jul 19, 2012@falsevacuum
I know, but the Config file isn't there.
EDIT: the Config wasn't created when i started Server
-
View User Profile
-
Send Message
Posted Jul 19, 2012@Rendfate
Yeah, it generates the config automatically the first time you run it! It will also give you some example default values. For example, it sets the equations to their MineCraft equations to help you understand how to write equations and it sets diamond swords to do 9 damage - the MineCraft damage.
Also, when there are updates it (ideally) updates the config for you, without screwing up your old settings.
-
View User Profile
-
Send Message
Posted Jul 19, 2012...So i got the plugin and put it in plugin file , but it has no config or anything please help
-
View User Profile
-
Send Message
Posted Jul 18, 2012@falsevacuum
I have change in 1.7.6 , but nothing =( please help
-
View User Profile
-
Send Message
Posted Jul 18, 2012@Luxius96
Do you know how to unzip the JAR file? Try editing the plugin.yml and see if you can change the version.
-
View User Profile
-
Send Message
Posted Jul 18, 2012Yes i try the 1.7.7 :/
-
View User Profile
-
Send Message
Posted Jul 18, 2012@Luxius96
Those are really weird errors. They're caused during loading the plugin. Moreover, it thinks the version is "51.0", whereas the current version is "1.7.7".
Did you try downloading the latest version?
-
View User Profile
-
Send Message
Posted Jul 18, 2012I only put ChangeDamage in plugins foulder and i get this problem
18.07 17:01:43 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
18.07 17:01:43 [Server] INFO at java.security.AccessController.doPrivileged(Native Method)
18.07 17:01:43 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
18.07 17:01:43 [Server] INFO at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
18.07 17:01:43 [Server] INFO at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
18.07 17:01:43 [Server] INFO at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
18.07 17:01:43 [Server] INFO at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
18.07 17:01:43 [Server] INFO at java.lang.ClassLoader.defineClass1(Native Method)
18.07 17:01:43 [Server] INFO Caused by: java.lang.UnsupportedClassVersionError: vacuum/changedamage/ChangeDamagePlugin : Unsupported major.minor version 51.0
18.07 17:01:43 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
18.07 17:01:43 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
18.07 17:01:43 [Server] INFO at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
18.07 17:01:43 [Server] INFO at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
18.07 17:01:43 [Server] INFO at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
18.07 17:01:43 [Server] INFO at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
18.07 17:01:43 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
18.07 17:01:43 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
18.07 17:01:43 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151)
18.07 17:01:43 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: vacuum/changedamage/ChangeDamagePlugin : Unsupported major.minor version 51.0
18.07 17:01:43 [Server] SEVERE Could not load 'plugins/ChangeDamage.jar' in folder 'plugins'
-
View User Profile
-
Send Message
Posted Jul 17, 2012@Luxius96
Umm... it looks like the description version got corrupted or something.
Did you play with the plugin.yml? Otherwise, try redownloading.
-
View User Profile
-
Send Message
Posted Jul 17, 201217:29:50 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R4.0-b2222jnks (MC: 1.2.5) (Implementing API version 1.2.5-R4.0)
17:29:50 [SEVERE] Could not load 'plugins/ChangeDamage.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: vacuum/changedamage/ChangeDamagePlugin : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.UnsupportedClassVersionError: vacuum/changedamage/ChangeDamagePlugin : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
... 8 more