xChat - Cross-Server Chat Plugin
A lightweight AMXX plugin that enables real-time chat communication between multiple Half-Life 1 based servers using RCON protocol.
How It Works
When a player types a message in chat on Server A, it automatically appears on Servers B, C, etc. with the format:
(from ServerName) PlayerName: message
Installation
1. Dependencies
- Place
rcon.incin yourinclude/folder
2. Plugin Setup
- Compile
xchat.smato getxchat.amxx - Place
xchat.amxxinplugins/folder - Add
xchat.amxxtoplugins.ini
Configuration
Edit the plugin source code for each server:
Server 1 (192.168.1.100):
#define THIS_SERVER_NAME "DeathMatch Server" new const g_szOtherServers[][] = { "192.168.1.101:27015:server2pass", "192.168.1.102:27015:server3pass" }
Server 2 (192.168.1.101):
#define THIS_SERVER_NAME "Aim Server" new const g_szOtherServers[][] = { "192.168.1.100:27015:server1pass", "192.168.1.102:27015:server3pass" }
Server 3 (192.168.1.102):
#define THIS_SERVER_NAME "Fun Server" new const g_szOtherServers[][] = { "192.168.1.100:27015:server1pass", "192.168.1.101:27015:server2pass" }
Each server needs: rcon_password "your_unique_password" in server.cfg
Credits
- RCON Library: GoldSRC RCON Query by serfreeman1337
License
This project is released under the Unlicense - free for any use.