[AMXX] Server Informations
2 Attachment(s)
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 PHP Code:
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. |
Re: [AMXX] Server Informations
Reserved.
The JSON format will be saved like this: PHP Code:
---------------- (22.02.2024) Updated main post with a Full-working PHP example which checks the IP passed to the Web API. Also, a simple way to display the existing informations inside the JSON file for starters. |
Re: [AMXX] Server Informations
|
Re: [AMXX] Server Informations
Quote:
|
Re: [AMXX] Server Informations
Quote:
|
Re: [AMXX] Server Informations
Quote:
Problem with gametracker.rs API, not to mention that it is slow af, is that is it not accurate. A lot of servers are displayed as offline and there is no way of contacting them. |
Re: [AMXX] Server Informations
you should be able to accomplish this without 3rd party modules, instead parse the json object in header using socekts
|
Re: [AMXX] Server Informations
since there isnt a tutorial on how to post data using sockets i took my time and came up with something simple:
https://i.ibb.co/CWGk589/Screenshot-...P-requests.png Code:
|
Re: [AMXX] Server Informations
Quote:
Quote:
|
All times are GMT -4. The time now is 17:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.