?

What tutorial should I do this for next?

  1. How to make a Hypixel API website with JavaScript

  2. How to make a Hypixel API iPhone app

Results are only viewable after voting.
  1. Thanks!
     
    #21
  2. #22
    • Like Like x 4
  3. #23
  4. XEnderGamer

    XEnderGamer Well-Known Member

    Messages:
    926
    apparently this guy thinks you can play on hypixel server on the internet
     
    #24
    • Funny Funny x 2
  5. If you are having trouble, please feel free to contact me here on this thread?
     
    #25
  6. TurtleRy

    TurtleRy Well-Known Member

    holahoop
    VIP
    Messages:
    1,125
  7. It's possible to depend on the HypixelAPI in a forge mod and make requests to get info about a player right? All I see about using the HypixelAPI is about websites. I downloaded the repository from https://github.com/HypixelDev/PublicAPI but I have now idea how to build that so I can depend on it unless it isn't actually possible?
     
    #27
  8. Ben has made a great tutorial on doing exactly this. You should check it out:
     
    #28
  9. This is a PHP tutorial but it is 100% possible with Java. It is just a little different though.
     
    #29
  10. It's a good video but it didnt teach me anything, I want to know how to add the HypixelAPI as a dependency in my module.

     
    #30
  11. I use PHP and I haven't really been exposed to too much Java. I wish I could help you. Let me try to find something that may help you.
     
    #31
  12. I figured out I have to download the zip from the github repository, import it as a project (and module technically) then build the jar myself, the problem is the API has 3 dependencies that I cant figure out how to build (since their .jar files aren't downloadable). The reason I cant figure it out (and I'm stuck on the first one, I haven't even gotten to the other ones yet) is because the guava-master zip has 3 differn't modules in it so I imported it as a project, but my question is do I somehow (which I don't know how to do,) build the entire project into one jar or build each module into its own jar and then add them all as dependencies? @Max Korlaar
     
    #32
    Last edited: Dec 11, 2016
  13. I personally haven't used the Java implementation of the API client. Doesn't the Github repo have documentation or closed issues about importing this into a project?
     
    #33
  14. I think there may be some stuff in the API help forum.
     
    #34
    • Useful Useful x 1
  15. No the GitHub repository just tells you the 3 dependencies it has (Which I cant figure out how to build).

    I looked through that forum and found nothing on dependency setup, it just assumes you know how to build the dependencies.
     
    #35
  16. Old question: Please add bed wars and murder mystery

    EDIT: I already found out how to do this ^^

    Nice tutorial. It helped me a lot ;)
     
    #36
    Last edited: Nov 8, 2017
    • Like Like x 1
  17. iiLegendx

    iiLegendx Member

    _Legendx
    MVP+
    Messages:
    116
    Can U Please Create For Me A Html + PHP Files And Paste Every THing u do in images and uploaded for me becase i try do it my self and i can't there is a lot off errors please please Do It For Me
     
    #37
  18. Here's a link to what I made in this tutorial, it will take you to Google Drive where you can download the files or view them: hogly.co/rxdPm
    Use this link if that one didn't work: https://drive.google.com/drive/folders/1dOZv_pvwM7zzqSDzkkBgAO_lUzVmXc92?usp=sharing
    You just have to open index.php in your browser(Make sure the folder is running on an Apache server i.e. XXAMP) and it should work wonders!
     
    #38
  19. iiLegendx

    iiLegendx Member

    _Legendx
    MVP+
    Messages:
    116
    Man This Was Very HelpFull But i want to Add The GameStats For Bedwars Like u know the new games and additons so like mvp++ and bedwars is not inclouding please u want bedwars and mvp++ and the new YouTuber Prefix I Hope u UnderStand Me And Thx !!!!!
     
    #39
    Last edited: Feb 19, 2018
  20. I am not sure about MVP++, but BedWars is included. Try testing the short code example below.
    (EDIT: This works on the NEW hypixel-php, and maybe not the one used in this tutorial)

    Code:
    $player = $HypixelPHP->getPlayer(['name' => 'your_ign']);
    $player->getStats()->getGame(Bedwars)->getInt("coins")
     
    #40

Share This Page