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!
It would be great if this had admin commands like /give <weapon-name> <player> or does it and I am missing it?
Great job!
@Gkun1024
I don't have support for custom items in this plugin yet.
hi, i have a question. how can a mob drop a weapon that in a mod?
@saoyloni
"(this can be decimal values such as 0.1 or 21.3)" - From the description
Yes, you can decimal values like 0.01
is it possible to make the drop chance 0.01 for example?
I love this plugin, it's a great one^^
@Syraleaf
It shouldn't be for nothing. Make sure you use a unique key for each weapon and check the console for any errors while loading weapons. It should let you know if there are problems with weapons and what the problems are.
@jasonavx
That's on my to-do list, just may take awhile as this is not one of my priority plugins.
@jessefjxm
I can add that if I ever get around to it, although worldguard + multi-world support may get a bit hectic and I may just not decide to add it
Hi, i have a problem... i cant make more than 10 weapons in the config... but i made 38 :( is all the work for nothing? or do i something wrong.
I wonder if you can make it support separate worlds? Would be greatly appreciated, thanks.
Is there a worldguard region support? :)
@Kofeygames
Not a problem :) I hope you enjoy using the plugin!
You actually added the option for mob spawners and eggs :O awesome! Thanks so much :)
@SlzDuo
Unfortunately no :\ hiding vanilla enchantments requires heavy packet usage which I am against, and custom enchantments require the lores to recognize what items they are on along with the new effects that were added.
Can we get the enchantment not to show but just to affect it? I feel like showing the enchant takes away from the speciality of the item.
@o0Julia0o
Tickets are added and effects are certainly a nice idea :)
EDIT : effects are added in v1.3 along with mob spawner/mob egg protection
can you add ticket-system?
it would be nice if you can add optical/sound effects to the weapons.
julia :)
Great Plugin!
@Eniripsa96
Alright, no worries :) I look forward to it anyway
@Kofeygames
Hmm, that's possible. Just, this is one of my secondary plugins so I might not get around to it for awhile. Most of my efforts are being placed on the EnchantmentAPI and various plugins for a server I am helping get started. I apologize if I don't get around to it anytime soon.
Just started using this, and everything works great :)
Any chance you could add the option of disabling the drops from mobs spawned by mob spawners?