Tip of the day: UnrealIRCd 6 uses GeoIP by default. It is shown in WHOIS but also available as country in mask items,for example it can be used in the TLD Block to serve a Spanish MOTD to people in Spanish speaking countries. |
Central API
Jump to navigation
Jump to search
UnrealIRCd.org Central API Services
- Central API: What is it and how to get an API Key
- Central Blocklist: Block spammers/drones on-connect
- Central Spamreport: Report spam via
SPAMREPORT - Central Spamfilter: Centralized spamfilter rules
Via the central api you can access the Central API Services that the UnrealIRCd team provides online. To request a key go to https://www.unrealircd.org/central-api/
The current Central API Services are: Central Blocklist, Central Spamreport and Central Spamfilter.
These services are available (opt-in) in UnrealIRCd 6.1.3 or newer
Module
The functionality is currently provided via the central-api module.
Configuration
The https://www.unrealircd.org/central-api/ will guide you on how to request a key and how to set the appropriate configuration. But here is some information anyway, for reference:
When requesting a key
loadmodule "central-api"; // or third/central-api if you are on UnrealIRCd 6.1.2
set {
central-api {
request-key ""; // Fill in the key you eventually see at the "Request a key" page
}
}
When you have your API key
loadmodule "central-api"; // or third/central-api if you are on UnrealIRCd 6.1.2
set {
central-api {
api-key ""; // Fill in the key you received from us.
}
}