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

    Legendary Helmet
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!

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!


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    58323
  • Created
    May 31, 2013
  • Last Released File
    Sep 24, 2013
  • Total Downloads
    12,448
  • License

Categories

Members

Recent Files