LegendaryWeapons
LegendaryWeapons allows you to set up new item drops from monsters, critters, or players. You can choose what the item is, its display name, enchantments, description, the mobs that drop it, and the chance of it dropping. Despite what the name suggests, you don't have to just do weapons. You can add armor and miscellaneous items as well.
Creating a weapon
- Open up the config file after adding the mod to your server
- Add a new weapon with a unique key (examples in the config use weaponX, where X is a unique number)
- Add a weapon-name (what you want to call it)
- Add a description (lines of text to show with the weapon)
- Add what mobs drop it
- Add the chance of it dropping (this can be decimal values such as 0.1 or 21.3)
- Add the item-name (the name of the item that it is based off of such as iron_sword)
- Add any enchantments you want (in the format EnchantmentName,Level)
- Save the config
- Reload the server
- The weapon should now be able to be dropped from the mobs you specified
EnchantmentAPI
With version 1.1, LegendaryWeapons is now compatible with my other mod EnchantmentAPI. While just adding EnchantmentAPI doesn't change anything, any enchantment that is made using the API can be used in this plugin! Simply use the custom enchantment name instead of a vanilla name and you can have weapons dropping with custom enchantments!
- For a pack of various enchantments, visit EnchantmentPack
Valid Values
For a list of valid values for enchantments, monster names, and color codes, go here
For a list of valid item names, view the list here
For a list of valid effect names, view the list here
Commands
/wgive [player] <item-key>
If you don't provide a player, it gives it to yours# elf.
Note: the key is not the weapon name but what you used at the root of the weapon (e.g. the default weapons use weapon1 - weapon10 for their keys). Why did I use keys instead of names? because you can reuse a name but not a key.
Permissions
weapons.give - permission for the wgive command
Troubleshooting
- Problems with enchantment names/levels will display in your command prompt if there are any
- If a mob isn't dropping an item, try setting the chance to 100 and testing it. If it still isn't, the name is likely not what it needs to be (View the list of valid mob names)
- A color isn't working? Make sure you use a lowercase 'c' for the color code
Example Configuration
http:dev.bukkit.org/bukkit-plugins/legendaryweapons/pages/example-configuration/
Comments
Feel free to leave comments about what you think could be added/improved so I can make the plugin better!
anyone know if this is working on 1.8?
Very nice plugin,thanks :)
Could you make It so that you can customize what level the items will drop? Like If you make a really rare weapon the player can't loot It til level 30+ and also make It so the player can't use the specific item until he/she hits a specific level? Would make this plugin perfect
can you make it so that you can make crafting recipes so that crafting one item with another creates a more powerful weapon?
Can there be more than 10 weapons defined?
Hello, Just a quick question. How do I make a weapon so it never breaks? I have tried setting Unbreaking to X but it doesnt seem to make it unbreakable. Thanks, Commander
@EzraHollis
It works fine on 1.7 for me.
any chance of ever adding stats that we can add like other mods i love this mod and i seem to have to use 2 mods to get stats on items example:
sword + 30 damage 10% crit chance - 100 hp + 100 hp + 0.02 movement speed - 0.02 movement speed
i know the plugin epic bosses has stuff like this that can be added in but any way you could add stuff like that so we can acually make the weapons really legendary would make the plugin soo much better
please update to 1.7.2 as soon as posible
I don't know If anyone else Is having this problem but any weapon above weapon3 Is unusable, no matter what key you give It the server says that's not a defined weapon key so I would type wgive NaviLlicious weapon4 but that doesn't work
@deryer8
You may need to kill more than 100 if you are unlucky. It does a roll each time that isn't related to the other rolls. You can change the chance though if you don't like it.
About the chance to drop a legendary item..
is it like if you have 1% you need to kill 100 to get one or if you kill a mob you just have 1% that the item drop making it so you need to kill even more then 100 if your unlucky?
You make phenomonal plugins, I've just sent you a private message about a few I'd like to be created.
Would you be interested in making plugins for my server?
@MiniThePanda
The plugin saves one on the first run as a default example, but I can add it to this page as well.
Can you give us a model config file?
Gonna use this,EnchantmentAPI and SkillAPI on my RPG server. YOUR PLUGINS ARE GREAT!!
@Eniripsa96
My apologies and thanks for your reply, I meant to post on legendary-weapons. It provides 4 craftable weapons. The weapons are not fair to use :( ...and glitchy) I am going to disable that one and try this plugin instead. Quality mob drops seem to be more exciting for users.
Good work!
@odie63342
I don't get how that error is happening as I don't have any calls to spawn lightning or have any effects for using lightning at all. I don't use nms code either. Could you provide a line number that it points to?
Also I've never used Legendary Armor but what do you mean by not allowed crafting? This plugin wasn't made for crafting the items or anything of the sort, just drops from mobs.
@amonfv
Durability has a minor effect on armor so you probably don't notice the difference.
HI! This is a great plugin but I have been having 2 issues since I started using this on my server. 1. an error message everytime someone strikes with weapon. 2. Seperate plugin, Legenday Armor has not allowed crafting of the armor. I will address this later on the proper comments section.
The Legendary Weapons error that appears in the console is: 2:41:34 PM CONSOLE: [SEVERE] Could not pass event EntityDamageByEntityEvent to Legendary Weapons v2.4 2:41:34 PM CONSOLE: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_6_R2/entity/CraftLightningStrike
These lines repeat endlessly when ppl are using the weapon.
Is there a setting I did not check or improper java version? I updated recently.
Any help is appreciated.
does durability enchant not work on armor? i have enchanted leather armor with durability 10 on it and it seems t obreak just as fast as plain armor