1 rcon2irc - IRC gateway for Xonotic servers, using rcon authorization
\r
4 Quick installation guide:
\r
6 1. Set up rcon access on your Xonotic server, by adding some line like
\r
8 in your server.cfg. This password gives anyone FULL access to your server,
\r
9 so do not give it away! This IRC gateway does not work with a
\r
10 rcon_restricted_password.
\r
12 2. Copy rcon2irc-example.conf to another name (e.g. rcon2irc.conf), and edit
\r
13 the settings to match your setup. At the very least:
\r
14 - change dp_server to the IP (or IP:port) of your Xonotic server
\r
15 - change dp_password to the rcon password set above
\r
16 - change irc_server to the IRC server to connect to
\r
17 - change irc_nick to the nick name to use
\r
18 - change irc_channel to the channel to join
\r
21 perl rcon2irc.pl rcon2irc.conf
\r
22 You may possibly want to run it in nohup so you can disconnect from your ssh
\r
23 connection, like this:
\r
24 nohup perl rcon2irc.pl rcon2irc.conf &
\r
25 Logging will then go to a file nohup.out in the same directory. Another way
\r
26 to run it permanently and to see its output is to run it inside a screen(1).
\r
31 - Show results of matches in the IRC channel
\r
33 - Act as a gateway to allow chat between Xonotic server and IRC users, useful
\r
34 for making the server more interesting to the public, but also useful as a
\r
35 mere helper for the server admin to watch what's happening in game (like, if
\r
36 people complain about a problem):
\r
37 - Any line written in game using say (not say_team) goes to the IRC channel.
\r
38 - Any line written in the channel, prefixed by the bot's nick name and a :,
\r
39 goes into the Xonotic game.
\r
42 XSAX LTU: GREAT WIN AHAHAHAHAHAHAHAHAH))
\r
43 (RedAlert) stop teamkilling!
\r
44 .ThreeHeadedMonkey.: I am behind you!
\r
45 View on IRC, assuming the IRC gateway has the nick noobXon and is voiced:
\r
46 <+noobXon> <XSAX LTU> GREAT WIN AHAHAHAHAHAHAHAHAH))
\r
47 <+noobXon> <.ThreeHeadedMonkey.> I am behind you!
\r
49 - Notify about free slots on the server. Example:
\r
51 * noobXon can be joined again (2 free slots); join now: xonotic +connect 172.23.42.54!
\r
52 <+noobXon> ctf_capturecity_v2r1 has begun (2 free slots); join now: xonotic +connect 172.23.42.54
\r
54 - Display scores at the end of a match in the IRC channel. Example:
\r
55 <+noobXon> ctf_capturecity_v2r1 ended: 301:78 Nicole 115, elsteer BLD {Y} 77,
\r
56 CensoredNickname 57, 0grueN# 29, Bigus 23, ZeroA 36, ricer 22,
\r
57 Treey@suse8 12, cZaR6RUSS7 8, BrightDev1l 0
\r
59 - Authenticate to the IRC services by Nickserv or Quakenet protocol, so the
\r
60 server bot can be set up to always get voice when entering the channel, and
\r
61 in case of Nickserv, make sure nobody else prevents it from using its
\r
62 configured nick. Other authentication protocols can often be set up using
\r
63 configuration, and if not, as plugin.
\r
65 - Support for /whois queries: the server hostname is put into the real name
\r
66 field for /whois, so people can see how to find the server in the server
\r
69 - Plugin interface for plugins written in Perl. See included rbiserver.pl for
\r
75 Copyright (c) 2008 Rudolf "divVerent" Polzer
\r
77 Permission is hereby granted, free of charge, to any person
\r
78 obtaining a copy of this software and associated documentation
\r
79 files (the "Software"), to deal in the Software without
\r
80 restriction, including without limitation the rights to use,
\r
81 copy, modify, merge, publish, distribute, sublicense, and/or sell
\r
82 copies of the Software, and to permit persons to whom the
\r
83 Software is furnished to do so, subject to the following
\r
86 The above copyright notice and this permission notice shall be
\r
87 included in all copies or substantial portions of the Software.
\r
89 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
\r
90 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
\r
91 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
\r
92 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
\r
93 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
\r
94 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
\r
95 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
\r
96 OTHER DEALINGS IN THE SOFTWARE.
\r