Remote Configs

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Remote Configs

Post by greenie »

[Description]
This plugin allows admin to load a config file from a website to there gameserver from the game console. You can load any type of text file from .txt .rtf .xcl .doc .cfg and any other type of text file that i forgot. When set it will load a config on game startup from a url such as this ex: http://myserver.com/configs.html
This plugin is good for any game mod!

[Cvars]
amx_loadcfg 1 // 1 on 2 off enables load cfg on game startup
amx_connectweb 1 // 1 on 2 off enables connect to web on start
amx_RemoteConfig_socket // turns on or off sockets // *required*

[Modules]
Sockets // Must be enabled

[Changelog]
v 1.0 - Initial Release no bugs know at the time will be updating
If anybugs found please let me know.

[Creditz]
Xtreme-Coder - Code
GunNaz Clan - Supporting me
Serenade - Testing

[Installing]
Download the source code and find the line that says. REMOTE_HOSTNAME and replace the "url" with your url

Example:
http://Mysite.com/configs.html You may use .com .org .us or any other web connect after that is done compile yor plugin locally or at the webcompiler at.. http://amxmodx.org/webcompiler.cgi. Place compiled plugin in your addons/plugins folder and go to configs/plugins.ini and place the line Remote_Configs in it. Start up your server and your ready! This plugin was tested on Linux and windows servers.


get plugin
Post Reply

Return to “Server Management”