Raised This Month: $ Target: $400
 0% 

Message Relay


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Plugin ID:
319
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    relays messages between gameservers
    Old 03-20-2008 , 21:40   Message Relay
    Reply With Quote #1

    This plugin relays messages prefixed with + to other servers.


    Usage:

    say +<message>
    relay a message to other servers.


    Requirements:

    The socket extension 2.3.0 or later


    Installation:

    1. Add the following cvars to your server.cfg:

    sm_mr_localhost "<local ip>:<local port>"
    The local IP should be your gameserver's IP whose server.cfg you are currently editing. The local port can be any unused port above 1024, but NOT the gameserver's port (usually 27015).
    Example: sm_mr_localhost "1.2.3.4:48476".

    sm_mr_remotehost "<remote ip>:<remote port>"
    The remote ip has to be the gameserver's IP you want to relay the messages to, the port has to be the one specified in the other gameserver's server.cfg by sm_mr_localhost.
    Example: sm_mr_remotehost "4.5.6.7:48476".

    sm_mr_password "<password>"
    The password prevents 3rd party servers from relaying messages to your server, make sure it is equal for all your gameservers participating in your relay network.
    Example: sm_mr_password "my secret password".

    2. Copy the compiled plugin (msgrelay.smx) to your sourcemod/plugins directory

    3. Execute your server.cfg (exec server.cfg) and change the map



    Changelog

    Version 1.0.1
    • support and strip quotes from quoted messages
    Version 1.0.0
    • initial public release
    Future
    • support for more than 2 servers
    Attached Files
    File Type: sp Get Plugin or Get Source (msgrelay.sp - 892 views - 4.0 KB)
    File Type: smx msgrelay.smx (4.1 KB, 735 views)

    Last edited by sfPlayer; 03-24-2008 at 11:34.
    sfPlayer 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 04:29.


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