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

Last reviews

Agraris Indonesia Rolepla..
gassssssssssssssssss
anggakw at 10:22

Agraris Indonesia Rolepla..
LANGSUNG AJA BOSKUUU JOIN!!!!!!!!!!!!!!!
anggakw at 12:12

Agraris Indonesia Rolepla..
SERVER TOP MARKOTPOPPPPPPPPPPPPPPP AYO JOINNN
anggakw at 12:12

1v1 BewZ Deathmatch Serve..
bratva at 21:20

Danger City RP | dangerci..
ENTREM NOSSO DICORD discord.gg/d2x7uquDxH
Aranha at 00:54

--|| ZOMBIE APOCALYPSE:..
hey guys add me i the discord server an here is my name and id Shadan_Yaeger#7452
SHADANYB at 03:26

=====>> Xenom Roleplay
SO NICE BABY!!
jigensuryadi at 08:56