"Vote crate"

Discussion in 'Plugin Development' started by BeastyBoo, Nov 4, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    BeastyBoo

    Hello, I found this cool plugin and I would love if someon could point me in the right direction or give me a little tutorial on how to code this:

    I know how to make a simpler version, but this one tops it all in my eyes.

    Regards,
    Your love :) aka BeastyBoo
     
  2. Offline

    Zombie_Striker

    @BeastyBoo
    Here's what you need
    1. Code for Keys
    2. Code for all items that can be give
    3. code for the rarity of the items
    4. code for randomly selecting the items
    5. Events that get triggered.
    6. (for display names) Invisible entities with custom names
     
  3. Offline

    Scimiguy

    @BeastyBoo
    Start with the simple version and build on it
     
  4. Offline

    BeastyBoo

    @Zombie_Striker
    Thanks, but what I dont know how to do in this plugin is making the items switch place in order. any better detailed tutoiral there?
    And yes I know java, just new to bukkit.
     
  5. Offline

    Scimiguy

    Zombie_Striker likes this.
  6. Offline

    BeastyBoo

    @Scimiguy
    Ok? but whats up with you, so far you have only posted posts with "Negative Meanings" on this thread. Please stop commenting unless you want to be a bit more positive?
     
  7. Offline

    Concurrent

    @BeastyBoo some people on this site can jerky. Essentially create a runnable task, and change the order of items using a integer, so for example inv.setItem(integer, itemstack);
     
  8. Offline

    Zombie_Striker

    @BeastyBoo
    If that's "negative", I honestly can't think of anyone that would be considered "positive" without spoonfeeding you code with a smile on their face.

    What @Scimiguy posted is what you need to do. Follow what he said and mark this thread as solved.
     
  9. Offline

    Ruptur

    @BeastyBoo
    How 'simple' is this version that you can do, then we can work from there
     
  10. Offline

    Binner_Done

    @BeastyBoo I can admit, @Scimiguy can be a bit 'hard' sometimes but his comments have what you need to do in them.
    All you really have to do is if they are right clicking on a chest and if they hold a tripwire hook (Or what ever) then give them a random thing/command
     
  11. Offline

    Zombie_Striker

    @Binner_Done
    True, but this is not one of those times.

    @BeastyBoo
    The reason there are some people who respond "negatively" to threads might because:
    • The Op posted about something that a simple google search would have answered
    • The Op posted a problem which can be fixed by adding/removing one line, meaning you just had to re-read your code
    • The OP poted a problem without all the code/ did not post the error (meaning we can't help you)
    • The Op posted "it doesn't work", which we don't know what that means
    • The OP (you) are asking for guidance in a forum for "problematic code"
    • The Op (you) did not show/do anything yet.
     
  12. Offline

    Binner_Done

    @Zombie_Striker That's why I said sometimes :p
    This is going off topic, can we go back on topic please.
     
  13. Offline

    MasterDoctor

  14. Offline

    Zombie_Striker

    @MasterDoctor
    He wants the plugin to look like the video above, which I don't think that plugin does.
     
    MasterDoctor likes this.
Thread Status:
Not open for further replies.

Share This Page