Tip of the day: Don't like snomasks / server notices? Then configure logging to a channel. |
模組
在 UnrealIRCd 3.4 中,我們將許多的功能轉換成各自獨立的模組 ( 超過 150 個模組! )。大多數的頻道模式、使用者模式以及所有 extended bans 現在都已納入模組裡。
優點:
- 高度客製化,讓你可以根據你真正的需求載入所需模組
- For coders it's easier to see all the source code related to a specific feature
- Allows bugs to be fixed without needing to restart the IRCd. Just rehash to reload the module(s).
Loading modules
For more information on how to load modules, see the Loadmodule directive.
If you just want to load all available modules (and thus all functionality) contained in UnrealIRCd, then put this in your unrealircd.conf:
include "modules.default.conf";
Available modules
UnrealIRCd has over 150 modules. Which module to load to enable/disable a certain feature is mentioned in the appropriate article:
Additionally, you may want to take a look at modules.default.conf as well.
Third party modules
It is possible to expand UnrealIRCd's functionality by modules from others. We call these modules "third party modules" because they are made by a 3rd party (not the UnrealIRCd team).
Where to find (more) third party modules
Many can be found on the Modules (3rd party) forums
How to use 3rd party modules
See FAQ: How to install 3rd party modules?
Dangers of third party modules
Although 3rd party modules are a great way to extend UnrealIRCd's features there is also a risk: any (subtle) coding mistakes can cause UnrealIRCd to crash. In fact, 90% of the crashes reported to our bug tracker are not crashes caused by UnrealIRCd but by 3rd party modules (not our bugs).