Project

General

Profile

FAQ » History » Version 17

David Demelier, 06/07/2016 01:31 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 16 David Demelier
This is a good question.
12
13
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.
14 1 David Demelier
15 14 David Demelier
h2. Why JavaScript instead of (insert my favorite language here)?
16 1 David Demelier
17 14 David Demelier
Because JavaScript is a very light language easy to embed. The irccd implementation uses "duktape":http://duktape.org.
18 9 David Demelier
19
See also question below.
20 1 David Demelier
21
h2. Do you plan to add (my language)?
22
23 14 David Demelier
No, there are plenty of bots which support your language.
24 1 David Demelier
25 17 David Demelier
Since [[version-2-1-0|irccd 2.1.0]] you can write plugins in C++.
26
27 1 David Demelier
h2. Is it possible to combine commands like @!foo !bar@?
28
29 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.
30 2 David Demelier
31 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.
32 4 David Demelier
33 14 David Demelier
In that way, the plugins will never conflict on onCommand. This security is called plugin namespaces.
34
35 5 David Demelier
By the way, this does not make sense and I don't know many bot which support this “feature”.
36
37 7 David Demelier
h2. Is it possible to integrate plugin dependencies?
38
39 14 David Demelier
No, plugins should be independant.
40 7 David Demelier
41 15 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 "Irccd.Plugin.load":http://projects.malikania.fr/irccd/api/module/Irccd.Plugin/function/load.html.
42 7 David Demelier
43 12 David Demelier
h2. Does irccd support DCC?
44 10 David Demelier
45
Not at the moment.
46
47 11 David Demelier
h2. What if I use a specific encoding?
48
49
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.
50
51 13 David Demelier
h2. The bot does not connect to the Freenode server!
52
53
Be sure to set a different identity (with different nickname **and** username) because **irccd** is a registered nickname.
54
55 2 David Demelier
h2. What does irccd drink?
56
57 6 David Demelier
Irccd only drinks white beer and French cognac.