[SMART] Plugin IRC-Bot v1.0

Moderators: vni, NADEO

Post Reply
User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

[SMART] Plugin IRC-Bot v1.0

Post by vni »

SMART IRC-Bot
The IRC-Bot connects to an IRC-Channel and idles there. You may transfer the Server-/IRC chat, so that it's possible to chat directly from IRC with players on the server and vice versa. You may also define custom commands the bot should react on, or commands to administrate your server right from the IRC.
The bot also has a widget that displays the connected players inside his channel.

Image
Image
Image

The IRC-Bot requires SMART 0.5.1 or higher!

Some information:
To configure the bot, go to the plugins.ircbot.xml and set a nickname, a channel and some commands. For users who run multiple SMART-Versions from one single machine, be aware of some networks connection limit. Quakenet for example allows you to have 5 connections from one IP => max. 5x SMART on one machine.
To prevent flooding the channel/being kicked increase the <anti_flood_delay> that makes your Bot not send more than one line in X seconds.

Authenticating with Q on Quakenet:
Use the example inside the config.

Changes in v1.0:
- Initial release

Download/Update
Manual installation: http://smarttool.org/plugins.php
Ingame installation: /admin plugins

PS: The plugin was tested with the Quakenet and with the UnrealIRCD-Server. It follows the IRC Din protocol, so that there should be no probs with other networks. Bouncer/psyBNC is untested. I also did not test it with SMART on Windows. Maybe you can give me a report.
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
User avatar
weerwolf
Posts: 630
Joined: 15 Jun 2010, 21:21
Location: Wijchen, Netherlands
Contact:

Re: [SMART] Plugin IRC-Bot v1.0

Post by weerwolf »

Code: Select all

Fatal error: Call to undefined function socket_set_nonblock() in /SMLYNX3smart/plugins/plugin.ircbot.php on line 123
:roll:
User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

Re: [SMART] Plugin IRC-Bot v1.0

Post by vni »

delete the complete line 123.
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
User avatar
askuri
Posts: 285
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: [SMART] Plugin IRC-Bot v1.0

Post by askuri »

Enable the Sockets extension in your php.ini
If its not installed: www.php.net/manual/de/sockets.installation.php
Post Reply

Return to “SMART Servercontroller”

Who is online

Users browsing this forum: No registered users and 0 guests