Lucky Items

Gives a better reward for mining.

Lucky Items

By mining lapis, diamond, iron, or emerald ore, you have a chance of receiving a prize. These prizes are now customizable.

This was a request by FlyingPig_ here: https:forums.bukkit.org/threads/superitems-luckyitems.241128/

Commands

/LI Reload - Reloads config file

Config

Example Config:

BroadCastFinds: true
##Sends a message to everyone on the server that a lucky item was found (false by default)

Chances:
  Emerald: 100.0
  Diamond: 100.0
  Iron: 100.0
  Gold: 100.0
Items:
  A LuckySword:'
  ##This line is mostly used to differentiate between the different things that can drop
  ##This line is also what shows up in the broadcast message if that is enabled
    Chance: 10.0
    ##There is a 10% chance for this item to drop
    Amount: 1
    ##It will drop one item
    Material: DIAMOND_SWORD
    ##The item will be a diamond sword.
    ##It will be easier to use item ids in the material section
    Data: 0
    ##It will be set to the normal durability
    Enchantments:
      FIRE_ASPECT: 2
      DAMAGE_ALL: 2
      KNOCKBACK: 1
      ##Like the material (if you're not using item id's), the names of the enchantments need to be exact, they are:
      ##Enchantments: ARROW_DAMAGE, ARROW_FIRE, ARROW_INFINITE, ARROW_KNOCKBACK, DAMAGE_ALL, DAMAGE_ARTHROPODS, DAMAGE_UNDEAD, DIG_SPEED, DURABILITY, FIRE_ASPECT, KNOCKBACK, LOOT_BONUS_BLOCKS, LOOT_BONUS_MOBS, LUCK, OXYGEN, PROTECTION_ENVIRONMENTAL, PROTECTION_EXPLOSIONS, PROTECTION_FALL, PROTECTION_FIRE, PROTECTION_PROJECTILE, SILK_TOUCH, THORNS, WATER_WORKER
    Lore:
    - This sword can be used
    - to kill mobs or people!
    ##This is pretty self explanatory, you can extend it as many lines as you want
    Name: LuckySword
    ##The name of the item
  A LuckyPick:
    Chance: 5.0
    Amount: 1
    Material: DIAMOND_PICKAXE
    Data: 0
    Enchantments:
      DURABILITY: 1
      LOOT_BONUS_BLOCKS: 2
      DIG_SPEED: 1
    Name: LuckyPick
  Some Gapples:
    Chance: 10.0
    Amount: 2
    Material: GOLDEN_APPLE
    Data: 0
    Name: God Apples
  9 Green Wool:
    Chance: 20.0
    Amount: 9
    Material: WOOL
    Data: 0
  Stone:
    Chance: 0.0
    Amount: 1
    Material: 1
    Data: 0

Videos

Enchantments

In the config, the enchantments need to match the names that bukkit gave for them. Here is a list of the enchantment names. Enchantments: ARROW_DAMAGE, ARROW_FIRE, ARROW_INFINITE, ARROW_KNOCKBACK, DAMAGE_ALL, DAMAGE_ARTHROPODS, DAMAGE_UNDEAD, DIG_SPEED, DURABILITY, FIRE_ASPECT, KNOCKBACK, LOOT_BONUS_BLOCKS, LOOT_BONUS_MOBS, LUCK, OXYGEN, PROTECTION_ENVIRONMENTAL, PROTECTION_EXPLOSIONS, PROTECTION_FALL, PROTECTION_FIRE, PROTECTION_PROJECTILE, SILK_TOUCH, THORNS, WATER_WORKER

Help

If you need any help, post a reply, and I'll try to help you as soon as I can. I finally figured out how to use the subscriptions.

Todo

None at the moment, I'm open to suggestions

The Lucky Items Team

profile avatar
  • 7
    Projects
  • 23.1K
    Downloads

More from _ForgeUser8576613View all

  • AutoPickup project image

    AutoPickup

    • 113.1K
    • Bukkit Plugins

    Automatically sends mined blocks to a player's inveontory

    • 113.1K
    • June 26, 2020
    • Bukkit Plugins
    • +2
  • Player Versus Gear project image

    Player Versus Gear

    • 1.1K
    • Bukkit Plugins

    This plugin allows players to have different weapons for PvP and PvE.

    • 1.1K
    • June 15, 2015
    • Bukkit Plugins
    • +2
  • ItemFrame Clicker project image

    ItemFrame Clicker

    • 13.3K
    • Bukkit Plugins

    Gives players kits after clicking on an item frame.

    • 13.3K
    • April 28, 2015
    • Bukkit Plugins
    • +1
  • Mario Double Jump project image

    Mario Double Jump

    • 1.4K
    • Bukkit Plugins

    When jumping twice in a row, the second jump is more powerful.

    • 1.4K
    • September 26, 2014
    • Bukkit Plugins
    • +1
  • AutoPickup project image

    AutoPickup

    • 113.1K
    • Bukkit Plugins

    Automatically sends mined blocks to a player's inveontory

    • 113.1K
    • June 26, 2020
    • Bukkit Plugins
    • +2
  • Player Versus Gear project image

    Player Versus Gear

    • 1.1K
    • Bukkit Plugins

    This plugin allows players to have different weapons for PvP and PvE.

    • 1.1K
    • June 15, 2015
    • Bukkit Plugins
    • +2
  • ItemFrame Clicker project image

    ItemFrame Clicker

    • 13.3K
    • Bukkit Plugins

    Gives players kits after clicking on an item frame.

    • 13.3K
    • April 28, 2015
    • Bukkit Plugins
    • +1
  • Mario Double Jump project image

    Mario Double Jump

    • 1.4K
    • Bukkit Plugins

    When jumping twice in a row, the second jump is more powerful.

    • 1.4K
    • September 26, 2014
    • Bukkit Plugins
    • +1