Jump to content

How should I request user input on mod startup


Recommended Posts

I'm trying to make mod with license and I want to authorize ppl with discord. So algorithm is like this.
User launches mc
Mod checks for cached JWT token
If not found or it expired, mod asks to enter password, if password is entered, then request to server will be sent with this password (this part ik how to do)
So basically question is how to ask user input (with ctrl+v) on mod startup and buttons like close mc and proceed. If server respond with 403 screen just refreshes and doesn't allow to proceed

Link to comment
Share on other sites

  • Guest locked this topic
This topic is now closed to further replies.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.