SuperItems/LuckyItems

Discussion in 'Archived: Plugin Requests' started by FlyingPig_, Mar 5, 2014.

  1. Offline

    FlyingPig_

    A plugin called SuperItems/LuckyItems

    Explanation:

    When a player goes mining they typically mine for Diamonds, Emeralds, And sometimes Lapis. Why not give them a reward? What would happen would be with a chance (explained) a player would get a super item (explained), Spawners, or God apples

    Chances/Items:

    2 God Apples 15% from Emerald, 10% From Diamond, 7% From Lapis

    Any spawner (No Creeper, Witch, or Pigman) 10% from Emerald, 7% From Diamond, 3% from Lapis

    Super Sword 7% From Emerald, 5% From Diamond, 3% From Lapis

    Any Super tool 7% From Emerald, 5% From Diamond, 3% From Lapis

    Super Tools:

    Sword:
    Sharpness 5, FireAspect 2, Knockback 3

    Pickaxe
    Efficiency 6, Fortune 2, Unbreaking 2

    Axe
    Sharpness 6, FireAspect 2
     
  2. Offline

    FlyingPig_

  3. Offline

    FlyingPig_

  4. Offline

    MnMaxon

    I'll do this, I'll try to get it done by tomorrow.

    It's done: https://www.dropbox.com/s/n2ykf0sjbc6akaa/LuckItems 1.0.jar
    I think this works how you explained, and I added a config file
    Config file Example:

    Code:
    Lapis:
      Golden_Apples: 7 - You can change this number to change the percent this occurs
      Spawner: 3 - (For example, there is a 3% chance of having a spawn drop from a lapis ore block)
      Lucky_Sword: 3
      Lucky_Tool: 3
    Spawner_Types: - Allows you to change what types of spawners can be dropped
      Blaze: false
      Cave_Spider: true
      Creeper: false
      EnderDragon: false
    

    The config is longer, it has more mobs and includes diamond and emerald ore, but it all follows this pattern.
    If you have any questions or comments, I'll try to respond as soon as I can.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  5. Offline

    FlyingPig_


    Interesting, this is really neat. Thanks. Except the drop box doesn't work :/

    Also would it be possible to add a feature to were I can make a prefix for the super sword and tool? For Example &cSuper Sword &cSuper Axe?
     
  6. Offline

    MnMaxon

  7. Offline

    FlyingPig_

    It's all good, Also by the way would it be possible to disable the mob API?
     
  8. Offline

    MnMaxon

    I'm sorry, I don't know what the mob API is.
    Do you mean mob AI? Or The Controllable Mobs API?
     
  9. Offline

    FlyingPig_

    Just a few issues/things that could be controlled in the luck items plugin,

    Would it be possible to send a message to the server when a player finds a item?

    E.g [Broadcast] {Name} just found a Super Sword while Mining!

    Also when you recieve the super pickaxe instead of fortune 2, it has Luck of the Sea.
     
  10. Offline

    MnMaxon

    Sure, I'll fix them. I'll try to have it to you soon.
     
  11. Offline

    FlyingPig_


    Thanks man, means a lot
     
  12. Offline

    MnMaxon

  13. Offline

    FlyingPig_


    Thanks!
     
  14. Offline

    MnMaxon

  15. Offline

    FlyingPig_

    Also is it possible to do decimals? For eg Super Sword - 0.5?
     
  16. Offline

    MnMaxon

    I kind of did what you asked here: https://www.dropbox.com/s/d1xhv9dz6tp4n45/LuckyItems 1.2.jar
    I added a new option called out of 1000. If this is set to true: 100 = 10% 1000=100% 5=.5%
    This is the best way I can think of explaining it, sorry if it's a little bit confusing, respond if you need help.
     
  17. Offline

    FlyingPig_


    Alright, that's fine probably tomorrow I'll sit down and look at this, I do understand I'm a bit busy now.
     
  18. Offline

    FlyingPig_



    We need to fix something in this plugin, players can silk touch the ore and still get items.
     
  19. Offline

    MnMaxon

  20. Offline

    FlyingPig_

  21. Offline

    MnMaxon

    FlyingPig_
    I'm sorry, I probably won't have much time to work on this until about 4 weeks from now.
     
  22. Online

    timtower Administrator Administrator Moderator

  23. Offline

    FlyingPig_


    Well then.
     

Share This Page