| Tip of the day: Log files can use JSON logging. You can also send the JSON data to IRCOps on IRC. The JSON is machine readable and contains lots of details about every log event. |
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.
}
}