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!
-
View User Profile
-
Send Message
Posted Aug 18, 2013It would be great if this had admin commands like /give <weapon-name> <player> or does it and I am missing it?
Great job!
-
View User Profile
-
Send Message
Posted Aug 12, 2013@Gkun1024
I don't have support for custom items in this plugin yet.
-
View User Profile
-
Send Message
Posted Aug 10, 2013hi, i have a question. how can a mob drop a weapon that in a mod?
-
View User Profile
-
Send Message
Posted Jul 28, 2013@saoyloni
"(this can be decimal values such as 0.1 or 21.3)" - From the description
Yes, you can decimal values like 0.01
-
View User Profile
-
Send Message
Posted Jul 28, 2013is it possible to make the drop chance 0.01 for example?
-
View User Profile
-
Send Message
Posted Jul 8, 2013I love this plugin, it's a great one^^
-
View User Profile
-
Send Message
Posted Jul 7, 2013@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
-
View User Profile
-
Send Message
Posted Jul 7, 2013Hi, 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.
-
View User Profile
-
Send Message
Posted Jul 3, 2013I wonder if you can make it support separate worlds? Would be greatly appreciated, thanks.
-
View User Profile
-
Send Message
Posted Jul 2, 2013Is there a worldguard region support? :)
-
View User Profile
-
Send Message
Posted Jul 2, 2013@Kofeygames
Not a problem :) I hope you enjoy using the plugin!
-
View User Profile
-
Send Message
Posted Jul 2, 2013You actually added the option for mob spawners and eggs :O awesome! Thanks so much :)
-
View User Profile
-
Send Message
Posted Jul 1, 2013@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.
-
View User Profile
-
Send Message
Posted Jul 1, 2013Can 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.
-
View User Profile
-
Send Message
Posted Jun 30, 2013@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
-
View User Profile
-
Send Message
Posted Jun 30, 2013can you add ticket-system?
it would be nice if you can add optical/sound effects to the weapons.
julia :)
-
View User Profile
-
Send Message
Posted Jun 25, 2013Great Plugin!
-
View User Profile
-
Send Message
Posted Jun 15, 2013@Eniripsa96
Alright, no worries :) I look forward to it anyway
-
View User Profile
-
Send Message
Posted Jun 14, 2013@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.
-
View User Profile
-
Send Message
Posted Jun 13, 2013Just started using this, and everything works great :)
Any chance you could add the option of disabling the drops from mobs spawned by mob spawners?