Jump to content

Info server on forum


WASSIm.

Recommended Posts

There are many ways, either a shared mysql database since mysql can be accessed both by PHP websites like SMF and in game on a mta server. That could be useful for the punishments overview since it's a large amount of data that should be stored wherever it's needed most which is most likely on the webserver where everyone can see it. The other option is the php sdk: https://wiki.multitheftauto.com/wiki/PHP_SDK

I would recommend the php sdk for the server info box, simply add the files to your webserver and run the sample code from the wiki just to see that it works, then you are able to pass arguments from your mta server to your webserver and vice versa. Your MTA server has lua functions to get that kind of info such as players online, max players, game mode and other info that will be easy to display online.

Link to comment

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...