Project

General

Profile

FAQ » History » Version 14

David Demelier, 03/07/2016 09:30 PM

1 1 David Demelier
h1. FAQ
2
3
{{>toc}}
4
5
h2. Is SSL supported?
6
7 14 David Demelier
Yes.
8 1 David Demelier
9
h2. Why plugins are not loaded per server?
10
11
This is a good question. I thought a lot about using plugin per server at first, this will add more flexibility about using different plugin configuration per server but will also be a huge pain to maintain for the user. Because a lot of people will use an only one irccd instance and server, I prefer to keep plugins globally and not per server basis.
12
13 14 David Demelier
h2. Why JavaScript instead of (insert my favorite language here)?
14 1 David Demelier
15 14 David Demelier
Because JavaScript is a very light language easy to embed. The irccd implementation uses "duktape":http://duktape.org.
16 9 David Demelier
17
See also question below.
18 1 David Demelier
19
h2. Do you plan to add (my language)?
20
21 14 David Demelier
No, there are plenty of bots which support your language.
22 1 David Demelier
23
h2. Is it possible to combine commands like @!foo !bar@?
24
25 14 David Demelier
Absolutely no, and will never. The special "onCommand":http://projects.malikania.fr/irccd/api/event/onCommand.html event is dedicated to specific plugin.
26 2 David Demelier
27 14 David Demelier
Internally, when a user writes a message like @!stats hello@ (assuming that command char is '!'), then irccd will search for the plugin *stats* and pass the trailing text to the plugin command.
28 4 David Demelier
29 14 David Demelier
In that way, the plugins will never conflict on onCommand. This security is called plugin namespaces.
30
31 5 David Demelier
By the way, this does not make sense and I don't know many bot which support this “feature”.
32
33 7 David Demelier
h2. Is it possible to integrate plugin dependencies?
34
35 14 David Demelier
No, plugins should be independant.
36 7 David Demelier
37 14 David Demelier
There are no ways to require a plugin. However, you can still verify if a plugin is loaded via the Irccd.Plugin.info:http://projects.malikania.fr/irccd/api/module/Irccd.Plugin/function/info.html function and eventually load it using http://projects.malikania.fr/irccd/api/module/Irccd.Plugin/function/load.html.
38 7 David Demelier
39 12 David Demelier
h2. Does irccd support DCC?
40 10 David Demelier
41
Not at the moment.
42
43 11 David Demelier
h2. What if I use a specific encoding?
44
45
Irccd is encoding agnostic just as the IRC protocol. If the server send UTF-8 messages, then irccd will pass these UTF-8 encoded messages to the plugins.
46
47 13 David Demelier
h2. The bot does not connect to the Freenode server!
48
49
Be sure to set a different identity (with different nickname **and** username) because **irccd** is a registered nickname.
50
51 2 David Demelier
h2. What does irccd drink?
52
53 6 David Demelier
Irccd only drinks white beer and French cognac.