Jump to content

getting server information


XaskeL

Recommended Posts

Posted

maybe the partition is not created for this

I just write Launcher for the MTA server and I need ways to get the number of players on the server, the server name and so on from the launcher without a WEB server that I would send JSON which I should parse.

Posted (edited)

If you just need the server information, you could use https://www.game-state.com/index.php?game=mta, it'll tell you all the information you need and all you need is the iframe or image.

Edited by Ab-47

And now Aurora is back again, pm for more info.

Ex. Lead dev & L6 Staff at AUR, NGC, MTA RP & SAA.

Ex. Developer at Community of Social Gamers - CSG

Ex Founder of International Gaming Community - IGC and Union of Individual Players- UIP

9o6E8.png Ab-47

  • Moderators
Posted

If you do not want that, make your own endpoint, and feed it with:

https://wiki.multitheftauto.com/wiki/FetchRemote

 

 

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...