<div><div align="center"><br /><img src="
http://puu.sh/jKjoN/ac7bad6568.jpg" border="0" alt="" /><br /></div><br /><font size="6"><font color="#2E64FE">Description :</font></font><br />As the title say, this plugin send the message from your servers to other one !<br />This plugin also supprot <font color="Lime"><b>MORECOLORS</b></font> !<br />Original request : <a href="
https://forums.allie...d.php?t=269627" target="_blank">
https://forums.allie...t=269627</a><br /><br /><font color="Red">For the developers who don't know how to use sockets, or a just intersted on how I did that, I wrote this :<br /><a href="
https://forums.allie....php?p=2336943" target="_blank">
https://forums.allie...3</a></font><br /><br /><font size="6"><font color="#2E64FE">Screenshots & Videos :</font></font><br /><br /><img src="
http://puu.sh/jKjrE/a06ba32295.PNG" border="0" alt="" /><br /><b>If someone wanna do a video / pictures about this plugin, you can send me the link and I will post it here.</b><br /><br /><font size="6"><font color="#2E64FE">Cvar & installation</font><br /></font><br /><b>Cvar :</b> <font color="red"><b><font size="6">READ IT PLEASE ! Carefully.</font></b></font><br /><br />"sm_csc_is_master_server" "0"<br /><b>Is this server the master chat server ? 1 = yes | 0 = no</b><br />Note : ONLY 1 SERVER SHOULD HAVE THIS VALUE TO 1, others should have 0. It doesn't matter wich server have the value 1.<br /><br />"sm_csc_master_chat_server_ip" "123.467.89.10"<br /><b>IP of the master chat server, the server who have 'sm_csc_is_master_server' to 1.</b><br /><br />"sm_csc_connection_port" "2001"<br /><b>On wich port should the plugin read & send the messages ? This value should be the same on ALL servers. Also, the port need to be forwarded. <font color="Red">CAN NOT ME THE SERVER PORT</font> (usually, 27015)</b><br /><br />"sm_csc_message_key" "[PASSWORD]" //Exemple of good password : 786%*ç%)=)&/, you don't need to remember it.<br /><b>Wich key should the plugin use to send messages, <font size="5"><font color="Red"><u><b>KEEP PRIVATE !!!</b></u></font></font></b><br /><br />"sm_csc_reconnect_time" "45.00"<br /><b>After how much time a connection should try to reconnect disconnected sockets ?</b><br /><br />"sm_csc_server_tag" "[REMOTE MSG]" //Support more colors ! Use {green} or what you prefer !<br /><b>Tag before messages coming from outside of the actual server</b><br /><br />"sm_csc_mark_to_send" "+"<br /><b>Tag before chat messages to send to all other servers</b><br /><br />"sm_csc_admin_flag" "NONE"<br /><b>Putting a flag as value will restrict the usage to all players who hvae this flag, putting NONE don't restrict the acces.</b><br /><br />"sm_csc_message_format" "{red}[SERVER TAG] {purple}->{default} {pink}[SENDER NAME]{default} {purple}said{default} [MESSAGE]"<br /><b>Format of the message. Use the tag [SERVER TAG] to represent the value of 'CVAR_ServerTag', [SENDER NAME] for the player name who send the message, and [MESSAGE] to represent the message of teh player.</b><br /><br /><b>Commands :</b><br /><br />sm_msg [MESSAGE] - <font size="5"><font color="Red"><b>Send a message to all servers</b></font></font> produce smae effect as +[message] but, +[message] doesn't work on some servers 'cause of simple chat processor.<br />Exemple : sm_msg Hello everybody :3 !<br /><b>Admin command :</b><br /><br />sm_cscgag [TARGET] - Block / Unblock a player from sending messages to other servers.<br /><br /><b>Installation :</b><br /><br />1) Put CrossServerChat.smx in your plugins folder.<br />2) Download and install <a href="
https://forums.allie...=67640?t=67640" target="_blank">the socket extension</a>. Update if you already have it installed.<br />3) Read and configure the config file 'CrossServerChat.cfg' and put it in your cfg/sourcemod folder !<br />4) Restart all your servers.<br /><br />For those who wanna compille the plugin manually, you will need :<ul><li>Socket extension</li>
<li>Multicolors</li>
</ul><br /><font size="6"><font color="#2E64FE">Configuration</font></font><br /><br />A configuration file is created at the first start, in the cfg/sourcemod/ folder ! The same as the attached one, below.<br /><br /><font size="6"><font color="#2E64FE">Bugs :</font><br /></font><br /><br />
When a socket fail to connect, produce strange things on reconnect. -> <font color="Lime"><b>FIXED !</b></font><br /><br /><font size="6"><font color="#2E64FE">Request & to do:</font><br /></font><br /><br />Nothing, feel free to ask.<br /><br /><b>Logs :</b><br />------<br />1.0 : First public release.<br />1.1 : Added the tag support thing.<br />1.2 : Added a new command, sm_cscgag. ( See admin command )<br />1.3 : Added a new CVAR, to restrict who can send messages, and who can't.<br />1.4 : Removed the start order restriciton. cleaned a bit the code.<br />1.5 : Even more clean up, also, fixed some strange bugs occuring rarelly.<br />1.6 : Added a new command.<br />-------<br /><br /><b>IMPORTANT NOTE</b>:<br />Take a very good look at the cvar.</div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="
https://forums.allie...attach/cfg.gif" alt="File Type: cfg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="
https://forums.allie...verChat.cfg</a> (1.7 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="
https://forums.allie...attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="
https://forums.allie...verChat.smx</a> (21.5 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="
https://forums.allie.../attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="
http://www.sourcemod...96"><strong>Get Plugin</strong></a> or
<a href="
https://forums.allie...1441127468">Get Source</a> (CrossServerChat.sp - 17.3 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł