WeaponLevels
Weapon Levels
Features
- Weapons, Armor, Tools and other items gain experience as you use them and level up!
- As they level up, weapons and items deal bonus damage!
- Items gain enchantments as they level up!
- Experience bar and level shown under the item name in the inventory!
- Permissions!
Description
WeaponLevels allows you to level up your weapons and tools as you use them, making them more powerful! The level and experience are displayed right under the item name, adding a slick new look to your server! Every time you hit or kill a mob or player, the weapon you're using will gain experience. As it levels up, it's damage will increase and the color of the item name will change.
Video by Samkio and Torrent!
Item Stages
Stages can be set in stages.yml. As your items level up, they will reach each stage and receive the color, enchantments, and any bonuses that are set.
Commands
- /wl version - Shows the current version of the plugin.
- /wl reload - Reloads the plugin config files. OP only.
- /wl setlevel <level> - Sets the level of the currently held item.
Permissions
- weaponlevels.* - Allows all items.
- weaponlevels.<stage> - Allows <stage> items
- weaponlevels.setlevel - Allows use of /wl setlevel
Enchantments
Enchantments can be set for each level stage in the config. The list of enchantments is separated by commas. Each enchantment is formatted with two numbers separated by a period. The first number is the ID of the enchantment (Click here for the ID list), and the second number is the level of the enchantment. So if the enchantment is "5.3", it would be Respiration III. Or, if it were "17.5", it would be Smite V.
Upcoming Features
- Integration with RPGItems, MagicalWeapons, PVPGun+, and DiabloDrops
- More information in item descriptions (damage/armor, special effects, etc.)
- Weapons gain durability as they level up
- ...let me know of any other ideas you have for new features!
>> Source Code <<
>> Developer API <<
NOTICE
Version 1.2.6 has been posted and is awaiting approval by a moderator before it will be available for download.
Please note that this is a development build that was rushed in order to fix multiple bugs from the previous version, so use it at your own risk. I had to rush it because I'm going on vacation for a week and will not be able to code during that time.
Some changes to be noted:
- Now uses only 4 config files: config.yml, stages.yml, groups.yml, items.yml
- Stages.yml defines all of the stages.
- There is now a "bonuses" section that contains things such as damage, armor, etc.
- Ignore groups.yml and items.yml for now; they haven't been fully implemented yet.
- When fishing, you can now receive fish of different levels; the higher level your fishing rod, the higher chance you have of catching high-level fish
- Stages now have a "food" bonus which increases the fullness you gain from eating food of that level
- Many items have their experience bars removed; this will be configurable in the next update
If you have any questions about the new system, or bugs you have found, please leave me a private message and I will get back to you as soon as I can.
Donators
GleeCraft: $50 (gleecraftmc.com)
Donations are greatly appreciated and allow me to spend more time working on the plugin! Let me know the name of your server when you donate and I'll add your server to the list above!
Just wanted to let you know that the plugin on my server is not honouring the normal items configuration setting. All items are levelling up even when it is disabled.
If someone has heavily damaged an enchanted weapon/armor piece, and repairs it on an iron block from mcMMO, will the WeaponLevels levels remain on the item?
(Someone else has requested a fix for the vanilla anvil below also.)
I can't wait!
Hey, i just realised that you can not use anvil with WeaponLevels :) Please fix that :)
Fantastic plugin! This is going to be a great one. :)
Is it possible (either now or in the future) to have both normal weapons and leveled weapons in the game at the same time? As a way to use leveled weapons as a rare reward.
So for example, perhaps at the end of a major boss fight, finishing a large quest, or just for purchasing it at a Buycraft store, the player could be rewarded with the rare sword 'Doombringer', which is able to be leveled up, while other weapons in the game would still be normal.
Awesome plugin! But... When I want to set maximum level to 50, it rest to 20, can you fix that? But, awesome plugin, good job :) Oh and weapons/armors already enchanted can't gain any xp :T (sorry if I have a bad english xP)
I have installed java 7 and i still get the same error as awolfgang. Please help
For level curve why not do this equation
next level xp needed = default xp needed+nextLevel^2*1.05 then square root
btw please compile in java 6 as 7 will limit the amount of people who download it
Really cool plugin, does it hit server performance much writing the NBT data all the time?
I have sent a private message with my requests. If you can do all that, thank you. my skype name is broskii if you need help understanding them
@awolfgang
That means that you don't have the latest version of java, Java 7. Please use this link to update your java: http://www.java.com/en/download/index.jsp
I got this startup error when trying to run the 1.4.6 R0.3 version (1.2.1) of this plugin. any help?
16:10:25 [SEVERE] Could not load 'plugins\WeaponLevels.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : me/innoko/weaponlevels/WL : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugins(CraftServer.jav a:239) at org.bukkit.craftbukkit.v1_4_6.CraftServer.<init>(CraftServer.java:217 ) at net.minecraft.server.v1_4_6.PlayerList.<init>(PlayerList.java:52) at net.minecraft.server.v1_4_6.DedicatedPlayerList.<init>(SourceFile:11)
at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java :104) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java: 399) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:84 9) Caused by: java.lang.UnsupportedClassVersionError: me/innoko/weaponlevels/WL : U nsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader .java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:173) ... 9 more
@SomeOneTM Yeah, I'll make a whitelist/blacklist system.
@Eliijah Hmm, I thought I already fixed the max level problem. I'll take a look at it. No, currently you cannot add new ones, but thanks for the suggestion I'll allow you to add new ones in the next update! :)
@dotapurex1 Why would "armorlevel" need to be made? This plugin already works with armor! Check the "armor.yml" file in the configuration folder.
@Chemical_Datas Thanks a lot for reporting that. I'll get it fixed.
@dotapurex1 I have considered a level curve, and I'm still not completely sure how it'd work. If you have more ideas on how to implement a level curve system with this plugin, please let me know. It'd help a lot.
@broluigi Donations are always welcome! And yes, if you donate $35, i will create a unique version of this plugin with any features you want and send it to you privately, made especially for your server!
Your plugin is just amazing! Please work on its development!
Can you make it so that for each level higher it takes more exp for it to level?
Tnt explosion damage is causing this error.
2013-01-13 22:33:16 [SEVERE] Could not pass event EntityDamageByEntityEvent to WeaponLevels v1.2.1 DEV org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_6.Explosion.a(Explosion.java:167) at net.minecraft.server.v1_4_6.World.createExplosion(World.java:1736) at net.minecraft.server.v1_4_6.WorldServer.createExplosion(WorldServer.java:798) at net.minecraft.server.v1_4_6.EntityTNTPrimed.explode(EntityTNTPrimed.java:81) at net.minecraft.server.v1_4_6.EntityTNTPrimed.j_(EntityTNTPrimed.java:61) at net.minecraft.server.v1_4_6.World.tickEntity(World.java:1460) at net.minecraft.server.v1_4_6.World.entityJoinedWorld(World.java:1421) at net.minecraft.server.v1_4_6.WorldServer.entityJoinedWorld(WorldServer.java:573) at net.minecraft.server.v1_4_6.World.playerJoinedWorld(World.java:1411) at net.minecraft.server.v1_4_6.World.tickEntities(World.java:1289) at net.minecraft.server.v1_4_6.WorldServer.tickEntities(WorldServer.java:464) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:567) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:481) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:416) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at me.innoko.weaponlevels.Weapon.hasWeaponLevelMeta(Weapon.java:72) at me.innoko.weaponlevels.Weapon.<init>(Weapon.java:32) at me.innoko.weaponlevels.listeners.ArmorListener.onEntityDamageByEntity(ArmorListener.java:40) at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 20 more
Make a plugin, Armorlevel!
No matter what level I set it to either being 30 or 70 the item will never go over level 20? I've changed the setting in the config file to 50 and then gone and changed every weapon/ item config to level 50 but they always go up to 20 and stop.
Also, with the 5 groups you have, Basic, Good, Better, Great, & Best is it possible to add more of these categories like for exp: Awesome, Legendary, Beast, GodLike and make these go from 30, 40, 50, 60 etc??? Or can we only config what is provided?
inestead of disableing items you should have enable items have have a group already disabled that way you dont have need to type in 300 items :)