Server API - Server information on your site


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

Server of the day


Online: 0 / 170

Last reviews

Plan B: Protect The Presi..
Despite the clans, some of the best players in SA:MP are here. As president you can be chased by motorcycles, cars, planes, etc. while fending off ambushes on foot. https://www.youtube.com/watch?v=kNdAAQFXxrM&list=PL2HyMTxkJBz1xfWj4MIs9N4rzSUWLSEb_&index=31
ElPresidente at 22:48

KOTA HILANG ROLEPLAY
Hi. I think this server best
JosephKujo at 14:51

[ENG] Savline RPG [DEV]
Best server
SavlineRPG at 10:12

Texture Studio 1.9
Very Good server
Killer at 13:11

[MW] MEANWHILE OGC | Uziv..
dobra pirlika.
meanwhile at 00:55

Vida Rol :: Tu espacio | ..
El mejor servidor roleplay de todo GTA SAN ANDREAS incluyendo chat de voz. Agregado para conocimiento web-
ARplay at 18:15

[Esp]~GamersDroid~[Pc-Mov..
https://discord.gg/GTavMpjsUK
patrickmusk at 02:09