Description
Allows players to call an admin with a message which is sent to XMPP(Jabber)
This plugin will also log all call attempts in addons/sourcemod/logs/call_admin_xmpp.log
Cvars
sm_caxmpp_version - Call Admin via XMPP version
caxmpp_host "" - Sets the Host to the webserver(ex. example.com).
caxmpp_port 80 - Sets the Port to the webserver(ex. 80).
caxmpp_url "" - Sets the URL to the XMPPHP location(ex. xmpphp/index.php)
caxmpp_seckey "" Sets the Security key sent to the webserver to limit requests to prevent unauthorized use
caxmpp_call_delay 180 - Amount of time allowed betwen calling an adming by a player(in seconds)
caxmpp_announce_delay 300.0 - Sets the delay between Call and Admin message(use 0.0 to disable)
Commands
!calladmin || /calladmin <message> Attempts to call an admin, a message is required(can be called from console with sm_calladmin)
Requirements
To Compile
To Run
Webserver
- PHP 5 or greater (if 64bit linux build, needs 5.2.6 or better), SSL Support Compiled
- XMPPHP 0.1 RC2 Rev77 or greater
General
- Some sort of Google Talk/Jabber/XMPP account on a service
Setup
General
- Place call_admin_xmpp in addons/sourcemod/translations
Webserver
- Download XMPPHP and extract it to a location on your webserver (only the XMPPHP folder is needed)
- Download attached index.zip and Extract index.php so it resides in the same folder, the XMPPHP folder is in.
- Open index.php and Fill out the configure options at the top.
Changelog- 8-13-2009
- Moved the initial GetConVar* calls to OnConfigsExecuted
- Fixes problems with server name and other possible issues with the plugin not working for people
- Added Cvar for setting a port
This should be all thats required. A SMX is attached since the compiler will be unable to compile