random ench command ;)

Discussion in 'Archived: Plugin Requests' started by Lorey879, Sep 30, 2014.

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

    Lorey879

    Hi Guys , I Want To Do An Random Enchant Command But I Dont Know How Can You Tell Me ?
    Because I Need It <\3
    Please Tell Me Fast

    Example

    /random

    It Will Get Item in his hand and random enchant it
    and he will wait 1 hour for next enchant
    :)
     

  2. Do you not know how to make the plugin or do you want this plugin made?
     
  3. Offline

    Lorey879

    I Want To Know How Can I Make It ;)
     
  4. Lorey879 Then this should be in the plugin development section. But here is how, make a random then make a switch and go through all the enchants so when the player runs the command it will randomly pick a enchant.
     
  5. Offline

    Lorey879

    I Want To Get The Code And The Plugin :/
    I Need This Plugin for my server
    but i want the code to see how to make it;)

    Can You Do This Plugin For Me ? :$
     
  6. Lorey879 I could. I will work on it but as I have other projects it will be slow. If someone else wants to take it they can.
     
  7. Offline

    mrCookieSlime

    bwfcwalshy
    Sure... Why easy if you can do it the complicated way.

    Lorey879
    3 hints :O

    1. Enchantment.class is an Enum
    2. Enums have the mehod values()
    3. Random.class is a thing
    4. Random.class contains the mehod nextInt(int max)

    And if you are basically just wanting the code.
    (Because if you have the code you also have the Plugin itself...)
    , please request a Move to the Plugin Developement Section.
     
  8. Offline

    Lorey879

    Can You Do The Plugin For Me? xD I Didnt understand anything xDD
     
  9. Offline

    timtower Administrator Administrator Moderator

  10. Offline

    mrCookieSlime

    I just changed the history of Mathematics P:
    3 is now equal to 4.

    Lorey879
    Sorry, I am not going to make this Plugin and I am not going to provide you the code for doing that either.
    You are able to figure everything out with the help of google and your IDE.
    If you are not, wait until someone is actually going to code it for you.
     
    MordorKing78, bwfcwalshy and timtower like this.
  11. Offline

    Lorey879

    ok
    ~<\3 ok
     
  12. Offline

    MordorKing78

    Wow, I Feel like I can make this plugin so much more advanced.

    Lorey879 Why Are You Typing Like This My Friend! If I want to make this plugin, I Will not give the code. Dont know why.. Maybe because I coded it and I dont want people to change it and give the rights/fame to theirselves

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 14, 2016
Thread Status:
Not open for further replies.

Share This Page