Aurorus Posted December 8, 2020 Share Posted December 8, 2020 Anyone knows how to connect to api with dont starve mod, and use get, post, put, delete functions? Link to comment https://forums.kleientertainment.com/forums/topic/124587-anyone-knows-how-to-use-queryserver/ Share on other sites More sharing options...
rawii22 Posted December 10, 2020 Share Posted December 10, 2020 My brother and I tried using this for our in-game mod manager mod. Honestly, the best way to see how it works is to see how Klei used it. Try searching in these files from scripts: emailsignupscreen.lua mainscreen.lua multiplayermainscreen.lua lavaarena_communityprogression.lua -- I think file uses QueryServer to retrieve some sort of online scoreboard data for the forge (I never got to play the forge so I'm not sure...) motdmanager.lua I'm not sure how the function fully works myself since the website I needed to visit was literally just one small piece of text, but using these files I'm sure you can figure out what it requires and how it returns data. Sorry I couldn't be more specific, but that's just how modding goes sometimes... 1 Link to comment https://forums.kleientertainment.com/forums/topic/124587-anyone-knows-how-to-use-queryserver/#findComment-1403791 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now