Remote Configs

Here, you can acquire assets to use with Natural Selection or find information about them.
User avatar
Archive-Poster
Posts: 1090
Gender:
United States of America

Remote Configs

Post by Archive-Poster »

[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. 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.

3njoy the plugin!
Attachments
Remote Configs.sma
(2.96 KiB) Not downloaded yet

Who is online

Users browsing this forum: No registered users and 1 guest