Plugin Info:
|
Modification: ALL
Category: Server Management
Approver: Xanimos (85)
|
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Texas
|
06-27-2006
, 18:42
HLDS <-> IRC /w Integration By Devicenull 2.7 UPDATED 3-19-07
|
#1
|
See This Live on GameSurge in #HLDSIRC
for the best connection use irc.nuclearfallout.net
HOW TO INSTALL:
* Step 1: Download the .amxx file (Named irc.amxx)
* Step 2: Add the plugin to your /addons/amxmodx/plugins folder and to your plugins.ini in /addons/amxmodx/configs folder.
* Step 3: Configure your IRC bot by putting these cvars (Look below this) in your amxx.cfg
________________
REQUIRED CVARS - These must be set (in amxx.cfg or server.cfg)
________________
irc_server "irc_network_address" - The IRC server's address to connect to (For example; "irc.gamesurge.net")
irc_port "port_here" - The irc server's port (normally 6667)
irc_nick "your_bot_nick_here" The nickname the bot will use on IRC (For example; "ServerBot")
irc_username "bot_username_here" - Name that shows when someone /whois or ucentral's you
irc_channel "#your_chan_here" - Channel to join
irc_msg_usecolors (default 1; 0|1) - Makes messges from HLDS in IRC colored based on team. If you're channel restricts colors, set this to 0. If you don't run CS, set this to 0.
________________
OPTIONAL CVARS - You may want to set these
________________
irc_identify (default 0; 0|1) - If you have a nickserv/auth account, set this to "1"
irc_ident (default "") - If you have a nickserv/auth account set this to "authserv auth [account] [password]"
irc_map_change (default 1; 0|1) - Display Server name, ip, map and players connected on map change and server start.
irc_show_joins (default 1; 0|1) - Show a message when someone joins the server
irc_to_hlds_say_auto (default 1; 0|1) - Automatically transfer messages from IRC to HLDS
irc_from_hlds_say_auto (default 1; 0|1) - Automatically transfer messages from HLDS to IRC
irc_to_hlds_say_activator (default "!hlds") - If irc_to_hlds_say_auto is disabled (set to 0) then only messages which contain what this cvar is set to will be sent to HLDS from IRC.
irc_from_hlds_say_activator (default "!irc") - If irc_from_hlds_say_auto is disabled (set to 0) then only messages which contain what this cvar is set to will be sent from HLDS to IRC.
irc_msg_srvjoin (default "$name ($steamid) has joined the server") - Set the message that will be displayed in IRC when a player joins the server. Set to "" to disable.
irc_msg_srvpart (default "$name ($steamid) has left the server") - Set the message that will be displayed in IRC when a player leaves the server. Set to "" to disable.
irc_msg_startup (default "$servername - $ip Current Map: $map $curplayers / $maxplayers players") - Set the message that will be displayed in IRC when the server starts up or changes map. Set to "" to disable.
Variables you can use for irc_msg_serv(join/part)
* $name - Person's name
* $steamid - Person's steamid
* $team - Person's team
* $teamn - Person's team number
* $connected - How long they have been connected
* $access - Persons access
Variables you can use for irc_msg_startup
* $servername - Name of the server
* $ip - IP of the server
* $map - Name of the current map
* $curplayers - Current number of players on the server
* $maxplayers - Maximum players allowed on server
________________
COMMANDS
________________
In-game Commands:
irc connect - Connect to irc
irc disconnect - Disc from irc
irc say - Send message to irc
irc help - Get help
IRC Commands:
In Channel:
-@cmds/@commands/@info/@help - Displays a list of commands usable in channel.
-@players - Lists the players currently in the server.
-@map - Display the current map.
-@nextmap - Display the next map in the map cycle.
-@timeleft - Display the time left on the current map.
-@ip - Display the IP of the server.
-@status - Display the same information contained in the start up message.
Admins can use any commands available to them as if they were in the server. (e.g. If an admin has ADMIN_BAN access, they could do @amx_ban player in channel and it will ban player from the server.)
Commands That You PM To The Bot
-cmds/commands/info/help - Displays a list of commands usable in channel.
-players - Lists the players currently in the server.
-map - Display the current map.
-nextmap - Display the next map in the map cycle.
-timeleft - Display the time left on the current map.
-ip - Display the IP of the server.
-status - Display the same information contained in the start up message.
-login <username> <password> - Log in to the bot so you can use admin commands.
-logout - Log out from the bot.
Admins can use any commands available to them as if they were in the server. (e.g. If an admin has ADMIN_BAN access, they could PM amx_ban player to the bot and it will ban player from the server.)
________________
HOW TO ADD ADMINS
________________
Edit your ircadmins.ini (It will be created in /addons/amxmodx/configs after the first time you run the plugin. If you don't see it, make sure the plugin is properly installed and then restart or change map on the server, then check again.)
Make sure to put it in this format:
"username" "password" "flags" "unique id"
*Flags should be the same as users.ini or your amxbans admins config
*Unique ID is an arbitrary number (it can be anything you want), just make sure that no two admins have the same ID.
________________
IMPORTANT: If your bot does not connect to the network, and you are sure you have all the settings right (Should work as long as you have the default cvars in amxx.cfg or Server.cfg), it means that your host is blocking the ports. This is common among gameserver providers now (More likely on the datacenter's end).
__________________
Last edited by {NM}Jason; 03-20-2007 at 00:27.
|
|
|
|