Raised This Month: $ Target: $400
 0% 

Call Admin with XMPP(Jabber)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Kilandor
Member
Join Date: Sep 2009
Plugin ID:
1446
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows players to call an admin with a message which is sent to XMPP(Jabber)
    Old 02-02-2010 , 16:16   Call Admin with XMPP(Jabber)
    Reply With Quote #1

    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
    1. Place call_admin_xmpp in addons/sourcemod/translations

    Webserver
    1. Download XMPPHP and extract it to a location on your webserver (only the XMPPHP folder is needed)
    2. Download attached index.zip and Extract index.php so it resides in the same folder, the XMPPHP folder is in.
    3. 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
    Attached Files
    File Type: txt call_admin_xmpp.phrases.txt (1,002 Bytes, 1276 views)
    File Type: zip index.zip (788 Bytes, 1550 views)
    File Type: sp Get Plugin or Get Source (call_admin_xmpp.sp - 1096 views - 7.3 KB)
    File Type: smx call_admin_xmpp.smx (6.6 KB, 1146 views)
    __________________

    Last edited by Kilandor; 09-13-2010 at 13:32. Reason: Update to version 1.1
    Kilandor is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 20:54.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode