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

{topserver}
Respect City Cfw
Online: 6 / 1000
Zona Oeste - RPG
Online: 0 / 30

Last reviews

[ENG] Sunset Roleplay [Ha..
such a good server
Proxus at 19:04

GRAND G..
Aspect007 at 09:21

[ENG] Sunset Roleplay
Best srver ever WOOOOO
Saifullah at 19:43

[ENG] Sunset Roleplay
They have very nice and helpful staff members, really liked how well they handled my report.
MatthewCarter at 18:37

[ENG] Sunset Roleplay
I love Sunset Roleplay!
Albatroz at 18:33

[ENG] Sunset Roleplay
Amazing!!!
Duplon at 01:29

IndoWhile Roleplay
Rensth19 at 09:59