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!

-
View User Profile
-
Send Message
Posted Jan 13, 2013@Eliijah
Thanks for the suggestions!
However, since that can get very complicated, I won't be adding in a prestige function for this plugin. However, in the future i will create an API so that other plugin developers can hook into this plugin to do more things with it.
When the API comes out, you can ask someone else to make that :) Or, learn Java and make it yourself!
-
View User Profile
-
Send Message
Posted Jan 13, 2013@Infiniboom
Yes, you can disable items. To do so, go to the config.yml in the "configuration" folder, and add the item ID to the list (separated by commas).
So, if you wanted to disable, for example, sticks, gold swords, and flint, it would be like this:
disabled items: 280, 283, 318
-
View User Profile
-
Send Message
Posted Jan 13, 2013Is it possible to select which items you want and do not want to be used with the plugin because I can't find a list where I can disable the stick being abled to level-up
-
View User Profile
-
Send Message
Posted Jan 13, 2013Our server loves this plugin and I've had a heap of great suggestions for it also.
Is it possible to make the weapons Prestige? So say for example make the weapons go to level 40, then once they work all they way up to LVL 40 they can then prestige the weapon and go back to LVL 1 but in return they get lets say x2 exp drops on each kill. They would need to either type it in chat < weaponlevels prestige> or just make a Goldblock with 44:7 on top and just hit the weapon on the gold block and Bam they have prestiged?
Once the pretige it would add new title to the weapon like this <name> PI x2 EXP And 2nd prestige would be <name> PII x2 Money Drop - or + -2 Leech And 3rd <Master PIII> etc etc etc < maybe drop player heads? >
And just have it go up to a max of 3 prestiges, last one being Master!
This would give my members a heap to work up for and keep them occupied for weeks getting there weapons all up to prestige 3.
Just something to think about, maybe this is a entire new plugin idea.
-
View User Profile
-
Send Message
Posted Jan 13, 2013@robinson0619
Yep, I'll add that in the next update.
-
View User Profile
-
Send Message
Posted Jan 13, 2013Is there a way to stop giving XP from mobs that are spawned from spawners ? to stop boosting ?
-
View User Profile
-
Send Message
Posted Jan 12, 2013@CJHacker
Thanks for letting me know! I'll see what I can do to fix it. And also, yes, I am currently working on a system of 4 separate configs so you can have different enchantments and such for tools, weapons, armor, and regular items (like sticks).
@SDDJ
Plugins that manipulate items may or may not work depending on how they transfer the item. Auction plugins like that probably just give a new item instead of transferring the same one, so I doubt this plugin would work with it. In the future I am planning on making an API so that other plugins can hook into it, and that way Auction plugins and such will be able to work with this plugin more easily.
@knuckles001
Yes, the enchantments are a little buggy right now but that'll all be fixed. Razilioxtre1 said that if you replace the 0.0 with 80.0 then it won't enchant it, I haven't tested it but it should probably work since that's not a valid enchantment ID.
@Shvesley
Thats a very interesting idea. And it's definitely possible. The only problem is figuring out how to make all that configurable! Do you have any ideas for how that would work in the config?
-
View User Profile
-
Send Message
Posted Jan 10, 2013The possibility to give each item an individual name would be neat. Or even a name off of a pre-determined list. For instance, in the fantasy series Game of Thrones, there are various "Valyrian Steel" blades throughout the world. It would be really cool if you could allow players to spend a certain amount of levels (or xp, or weapon levels, etc...) to choose one of the Valyrian blade names for their diamond sword. For instance, there could only be one sword called "Lightbringer" in the game, and it would have a certain special ability that no other diamond sword could have.
-
View User Profile
-
Send Message
Posted Jan 10, 2013replace 0.0 to 80.0 and it will not enchant it :D
-
View User Profile
-
Send Message
Posted Jan 9, 2013Excelent plugin!!!! can u add the option that dont apply enchantments, I love your plugin but my players want to use the enchantment table xD
-
View User Profile
-
Send Message
Posted Jan 9, 2013Does this plugin happen to work with auction plugins such as floAuction? It would need to carry over the existing level of the item to the player who won the auction so that they could continue leveling the item.
-
View User Profile
-
Send Message
Posted Jan 8, 2013Also curious, are we able to set different enchantments for different objects? Like having sharpness as an enchantment on armor just seems silly. :-)
-
View User Profile
-
Send Message
Posted Jan 7, 2013Hey @_InnoKo_, I just noticed I seem to get errors when I'm killing something in creative mode. I would imagine it should ignore leveling when in creative mode, but I get the following error:
http://pastebin.com/vZvynwBn
Keep it up! Pretty cool plugin!
Edit: Ok, did a little more research on it. It's not just creative mode that's doing it for me, it's if a sword already has a pre-existing enchantment on it, like the following errors were when I had an iron sword with Knockback I on it.
http://pastebin.com/4hdnHJJT
The sword did not then gain the EXP bar, etc on it, it still looked like a normal iron sword with Knockback I on it.
Thanks!
-
View User Profile
-
Send Message
Posted Jan 4, 2013@_InnoKo_
Thanks for telling me the enchantments config. Also, I hope the next update comes soon! I love this plugin, and I'm fine with the errors; they don't make a big problem. I'm going to continue using 1.2 until the new version comes out, so I hope it can be released soon! :)
-
View User Profile
-
Send Message
Posted Jan 3, 2013I hope the next update fixes some of the issues, I'm still using the broken 1.2 to stop random items getting levelled up ^^
-
View User Profile
-
Send Message
Posted Jan 2, 2013@johnharthwick
Looks like this update was a failure... To be honest, I was kind of rushing to get it out cause I felt like I had kept you guys waiting for too long.
Those are all problems with the plugin itself. I also forgot to tell you guys how to configure the enchantments. The first number is the ID, and the second number is the level. So since everything you have is .0, they're all level 0.
What I'm going to do to solve all of these problems is make a separate config for Armor, Tools, Weapons, and Items. That way, you can configure enchantments and levels and such for each type.
I'm really sorry for the inconvenience, I have removed version 1.2 until I fix all of these problems.
-
View User Profile
-
Send Message
Posted Jan 2, 2013I tried running the newest 1.2 version of WeaponLevels (btw I LOVE THIS PLUGIN!!!!! :D), but the only thing that actually gains experience is the swords. Everything else just shows the Level sign but gains no experience (bows, armor, tools, etc...). Also, Lv20 is the max... Can't you make that optional? Finally, the enchantments for armor appear on the swords... feather falling and protection level 0 is on my level 20 sword. the enchantments won't level up either. when i do /wl [name], it renames my item that i am holding in my hand to the name but sets the level back to 0, while keeping the enchants. Are all these problems just cuz of my plugins/config? or is it from the plugin itself?
Config: http://pastie.org/5612722
Plugins: http://pastie.org/5612753
PS I also get Protection.enchantment.level.0 on any tool/weapon/armor whenever I use it (even once), even if there are no enchants specified in the config.
EDIT
The bow is considered in the "all items" thing, so if u disable it, bows won't get any xp at all.-
View User Profile
-
Send Message
Posted Jan 2, 2013@6y7t8h
I swear, everything works fine for me when I'm testing and then i post it and i get problems -- Its quite frustrating. Although this plugin still is in beta so bugs are to be expected.
I'm gonna need to spend some more time looking at my code for tools, I must have missed something small there that's causing those problems. Thanks for letting me know, I'll have it fixed ASAP.
-
View User Profile
-
Send Message
Posted Jan 2, 2013Hiya, I've got this odd problem with tools. The tools only level up when striking and killing other mobs, which I presume isn't meant to happen, and whenever I hit something or break a block with a tool or weapon, it gains an enchantment called 'Protection.enchantment.level.0' when I haven't specified any enchantment gains in my config.
-
View User Profile
-
Send Message
Posted Jan 1, 2013@dickwick
D'OH!
I actually already had that problem fixed, it was caused by not checking if the item is a tool before doing stuff. I just had forgotten to export the changes -.-
Well, its uploaded and fixed now.