[AMXX] Server Informations

For scripting examples for learning how to use AMXX.
User avatar
Archive-Poster
Posts: 1189
Gender:
United States of America

[AMXX] Server Informations

Post by Archive-Poster »

Not sure where it should be located so I posted here.

This plugin passes server informations to your website without a database. It uses Easy HTTP module to pass some basics informations through HTTP Request. It is avaliable both linux and windows.

1. Install serverResponse.php into your website.
2. Install the module
3. Add your website link on the constant

Code: Select all

new const g_szWebsite[] = "http://www.yourwebsite.com" 
4. Compile your plugin and install it
5. Each 60 seconds the plugin makes the request to your website.
6. The PHP file will format the informations as JSON
7. Use it as you wish. More informations can be added.

-

This is just a simple way of using Easy HTTP. It can be used for more useful things such as the Auto Plugin Updater I built before. Also, by using ezhttp_get_data you can get the response of the PHP, opening more doors like being useful to use php API's from your website to get some informations AMXX can't, like Bypass Guard does by getting AS with gRIP.

EasyHTTP can also read json files and parse it flawlessly as well, such an underrated module.
Attachments
server Info.zip
(3.27 MiB) Downloaded 5 times
Full PHP Example with server checker & score count.zip
(3.45 KiB) Downloaded 3 times

Who is online

Users browsing this forum: No registered users and 1 guest