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!
@broluigi Yes! You can make as many stages as you would like, and change the names to whatever you want.
can we customize the stages? and can you make it obey worldguard, it keeps on allowing that "Crys exploit"
@Makemyday17 Please send me console errors in a private message, not a comment. The error is nonbreaking, so you don't have to worry about it. It's just a bit of spam, I will remove it for the next update.
It should look like: disabled items: 173, 1, 2, 4
If you set normal items enabled to false, it will disable all items except for weapons, tools, and armor.
And what does this configuration option mean or stand for: "normal items enabled: true/false"
Thanks.
@TheRealNovus
The disabled items, should I separate those with a "," And should i press enter first like this disabled items: - 173 - 1
Or disabled items: 173, 1, 2, 4
@Makemyday17 Blocks and other items have always gained levels, which is something I have needed to change. However with other changes and errors to work on I haven't gotten around to it yet. Does the "disabled items" in the config not work?
Also, if you want to give a player permission, the format is weaponlevels.<name> where <name> is the name of the stage they have permission for. You can also disable permissions in the config.
Ok great, works with worldguard like it was supposed to now. However ofc new problems appears. Why is blocks and other items that isn't tools and wepaoons gain levels? How can I turn that off? BEcause people can't sell those lvl'd blocks in the shop, and I don't want levels on blocks and redstone for example lol. And seems like people cant mine or hit people either cause they have no permission. People with no permission shouldn't gain levels on their weapons and tools at all. Or maybe, but not a higher level then 5 for example.
Waiting as crazy here too :/
It's been 2 days! Whoever is supposed to be approving this plugin, please do it!
Whenever I shoot an arrow with the bow it hits myself and shows an error in the console: Error reading experience data!
I have to take out this plugin cause of this. Also, you should explain how the items.yml file works
I've waited more than 1 day for this approval :( goddnight folks
I thought approval only took a few hours... =\
While in creative, and you break a block. the item will drop. but it will also drop as a block thats leveled.
How do I set the enchantments for weapons, tools and armor?
Yes please, I can't wait ._.
@TheRealNovus
Could you just send us a dropbox link or something?
Can you send us another download link on 1.2.6?
@rasnyderiii Fixed in 1.2.6 (pending approval)
@jessefjxm Fixed in 1.2.6 (pending approval)
@willkiller1234 That doesn't show the information I need since your console skips lines with the rate limit.
The plugins load up but I get this error everytime I attack something. http://pastebin.com/yA1RjpNF