Solved 403 using VersionChecker

Discussion in 'Spigot Plugin Help' started by C4LLM3P3T3R, Jan 21, 2020.

Thread Status:
Not open for further replies.
  1. Hello, everyone!
    I got a problem with my plugin. I wanted to create a versionchecker for my GodModeAdvanced plugin so when someone has an outdated version it writes in console that a new version is available. When i was creating my function i was reffering to this tutorial:
    but it's 3 years old.
    When i enable my server this pops up :


    my code is
    • Winner Winner x 1
  2. Use GET as http method.
  3. No i used POST but i changed it to GET and it's still the same

    This is how my code looks like after changes

    It displays, code 405

    Edit: Got it,, my final code is here if someone searches for this
    #5 C4LLM3P3T3R, Jan 21, 2020
    Last edited: Jan 21, 2020
  4. Do it like md_5 shows you in the thread I linked to. Then you don't need the line
  5. Okay, i solved the problem and i uploaded it to spigot but on it still says 0.2, and my plugin is 0.2.1. Is there something wrong or i just have to wait?
  6. md_5

    Administrator Developer

  7. Thank you for information.
Thread Status:
Not open for further replies.