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!
Question: how will this work with players using mob grinders to gain fast weapon levels. Is there a way to block players from easily gaining XP for their weapons and armor. As well as 'boosting' with oher players
question 2: how will this work with enchantments? Say, a player takes a stone sword and enchants it and gets sharpness 1. When he uses it, and it gaines XP, does the enchant get removed? or is it stacked on according to what the level is?
hmm can you make the weapons keeps their levels when you repair them?
i get this error
2013-01-25 15:22:56 [SEVERE] Could not pass event BlockBreakEvent 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.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.v1_4_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:282)
at net.minecraft.server.v1_4_R1.PlayerInteractManager.a(PlayerInteractManager.java:209)
at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:566)
at net.minecraft.server.v1_4_R1.Packet14BlockDig.handle(SourceFile:46)
at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.ArrayIndexOutOfBoundsException 1
at me.innoko.weaponlevels.configuration.Config.parseEnchantments(Config.java:149)
at me.innoko.weaponlevels.configuration.Config.getEnchantments(Config.java:82)
at me.innoko.weaponlevels.Weapon.applyEnchantments(Weapon.java:145)
at me.innoko.weaponlevels.Weapon.update(Weapon.java:175)
at me.innoko.weaponlevels.listeners.ToolListener.onBlockBreak(ToolListener.java:56)
at sun.reflect.GeneratedMethodAccessor147.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)
... 16 more
I just want to say I think this is an awesome plugin! Thanks for it!
I am getting this bug when using swords, but for everything else it's working great.
Using the latest DEV build - [SEVERE] Could not pass event EntityDeathEvent to WeaponLevels v1.2.1 DEV org.bukkit.event.EventException
Not sure where to post bugs yet for this....
@_InnoKo_ @broluigi:
I never took the money. I denied the donation on Paypal because I had not completed the custom version. Why would you pay me if I never even replied to you? That's bad business practice on your part. Most people would've just taken the money. However, I sent it back to you. Also, when I said I'll add any features you want, I didn't know you wanted me to create a whole new game. Lol. The features you requested were a bit hefty, and I won't be able to get around to it at the moment. Sorry.//
er.. it said you were unverified and all you could do was refund.. but whatever floats your boat, i shall wait patiently like everyone else,
The delay the upgrade? I am anxiously renewing page: D
@JordiAB
Yes, you can.
Hey I installed the "Sting" plug-in. Is there anyway I can exclude that item from the leveling process?
Can you put a level enchantments that are higher than the maximum that exist as Sharpness 10?
Hey now. This plugin is definitely not abandoned.
I'm a 15 year old trying to manage 2 big plugins, schoolwork, music production, and all sorts of other daily life things. Just because I don't update immediately does not mean that I have abandoned the plugin, let's all calm down a little bit. Lol.
@broluigi
I never took the money. I denied the donation on Paypal because I had not completed the custom version. Why would you pay me if I never even replied to you? That's bad business practice on your part. Most people would've just taken the money. However, I sent it back to you. Also, when I said I'll add any features you want, I didn't know you wanted me to create a whole new game. Lol. The features you requested were a bit hefty, and I won't be able to get around to it at the moment. Sorry.
@CommodoreAlpha
Thank you for being the only one who actually has some patience. Geez, people. Since you're patient, and are very politely asking, I will look at your requests first :) I seriously hate when people demand a new feature as if they are somehow entitled to it. I'm doing all this work for FREE, therefore you are entitled to only whatever I have time to do and nothing should be demanded.
That being said, I like your suggestions and I completely agree. I've already done some things to make it more compatible, one being that the "Level: _" and the EXP bar will work even if the item has other meta data (such as a previous enchantment or a description that another plugin added). I'll see what I can do to make it work with those plugins. I'd appreciate it if you could PM me a list of plugins you know of, since I really don't know any.
I agree that it can be more dynamic and configurable. Could you go into a bit more detail on your ideas in a Private Message? The suggestions really help, thank you for those. I will see what I can do to implement them :)
@MarkiiIeJ
Sorry, I didn't realize that it was a problem. The reason the * is there is so that the plugin knows that it has Weapon data. I'll try to figure out a way to not use the asterisk.
@funbi11112
It's not repairable right now, but it will be soon.
@LeChuuck
Here are all the colors that you can use. Note that if you use one like UNDERLINE, the text will be white.
It's only been one week, and people are already asking for updates? I don't think anyone's dying anytime soon.
Morbid comment aside, is this plugin compatible with item renaming plugins like Item Renamer?
I do have a few requests. Can it be configurable what items can level up and what can't? A level 5 dirt block doing beyond half a heart of damage is, well... beyond me.
This request is actually pretty big, so I don't expect it to be done anytime soon, or even at all if you don't want to (which is fine), but is there a possibility that you will become compatible with ALL (or most; I can provide a list) plugins that rename equipment to add new abilities to them, like ElementalSwords, RareItems2, and StrangeWeapons? One way could be to just add an asterisk for every level the weapon has.
Also, the damage system and leveling system could be more dynamic and configurable. I believe the leveling system for weapons should be applied similarly to how players level. The damage system should also be configurable, since I don't want +1 damage every level. This request is vague because if I were to go into detail, it would fill up the entire comments page. Configurable abilities, such as potion effects or the occasional extra damage could also be a possibility.
Though these are requests, and I'm asking too many of them for someone with (I'm presuming) little time, keep in mind I'm just bringing forth ideas that you or others may not have had before. I don't expect you to do any of this. ;)
permissions?
What colors are supported?
how can you make it repairable :( update please!
@MrSidoi
update ur java ._.
It seems like he abandoned the plugin. How can i get my money back? I paid this guy 35 dollars for a custom update.
Please help me, when i start my server it says ;
10:20:33 [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:235) at org.bukkit.craftbukkit.v1_4_6.CraftServer.<init>(CraftServer.java:213 ) 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
please help i realy want to use this plugin
OMFG I SERIOUSLY LOVE THIS PLUGIN, but why does there have to be a * after you hit everything, I am not putting you down on your work, it's great, anyways if its possible to just take out the * after the weapon i would love you forever seriously! I have plugins that dont work with it after i hit a mob, i cant use the ability anymore on the armor/tool, please consider taking out the * since it is not a real item, you know, seriously please i beg u!
This is throwing errors.
I'm using the newest build
http://pastebin.com/Kx7KfQsU
and http://pastebin.com/A50W8YHU
ugh I bet it's my java version, let me check with my host :( - Nope they said Java 7 1.7_11
This Plugin is awesome! Thank you _InnoKo_ :)
I hope the bugs will be fixed. Cant wait for the next update :p