Call Admin with XMPP(Jabber)
4 Attachment(s)
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
General
Webserver
Changelog
This should be all thats required. A SMX is attached since the compiler will be unable to compile |
Re: Call Admin with XMPP(Jabber)
Impressed you got this working so quick - will give it a try later - thanks!
/CK |
Re: Call Admin with XMPP(Jabber)
i was thinking about something similar, only include also a option where you can say you need xx amount of people that call for a admin to actually send out the call.
becuase if you see a person type in !calladmin, most other people go in the range of "hmm , whats that, let me try that command too!" and you get spam on your jabber. |
Re: Call Admin with XMPP(Jabber)
Now it would be even cooler if you could type back to the user ingame from for example Google Talk :)
|
Re: Call Admin with XMPP(Jabber)
can i have more xmpp users with this plugin? (more admins)
|
Re: Call Admin with XMPP(Jabber)
I get the idea of this plugin...but could you please provide some screenshots? Not familiar with Jabber and stuff...so I am wondering if you could please show some examples.
Thanks. |
Re: Call Admin with XMPP(Jabber)
Nice plugin! Tested it from an HTML file with a POST form. Just waiting to test it from my server..
Quick question, caxmpp_announce_delay what is the point of this CVAR? When someone types the command it wont actually send to the admin for 5 minutes?? EDIT: It looks like it just prints "[CallAdmin] annouce" to all clients..? What is the point of that? If this is supposed to advertise the plugin in the game, your description needs editing, and a CVAR to customize the message Quote:
I am getting the messages sent to my Phone, it would be awesome if I could send a message back like "OMW." |
Re: Call Admin with XMPP(Jabber)
I am getting this error in my logs.
Quote:
For now I am just going to recompile it with the correct port number |
Re: Call Admin with XMPP(Jabber)
Just an update...
Works great! Should be approved |
Re: Call Admin with XMPP(Jabber)
It shows
Quote:
Maybe i set up wrong values in index.php, can someone show an example please, thanks. |
| All times are GMT -4. The time now is 20:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.