Do you want to display information about the server on your website, but with your design? Server API is ideal for you.
Server API documentation: 1. First, you need to include the following code in the header (<head>) of your page:
YOUR_SERVER_ID - ID of your server in monitoring (sampmonitoring.com/server/ID/)
2. Now you can show any information about your server by setting the desired variable code anywhere in your site.
List of available variables:
ip - server address
port - server port
status - server status (1 - online | 0 - offline)
hostname - server name
gamemode - server gamemode
players - players online
maxplayers - maximum allowed number of players
record - record players
lastconnect - date of last information update
version - server version
votes - server rating (votes)
How to use: (Display this information on your site)
Ready-made example of use. (Enter your server's ID, and paste the code anywhere on your site):
It will look like this (with information about your server): Server Name: SAMP Server Name Server Address: 11.22.33.44:7777 Server version: 0.3.7-R2 Gamemode: Stunt/Race/DM Current online: 400 / 1000 игроков Record: 633 Last update: 2018-08-18 08:18:08 Server Status: Online Server Ranking: 123