Skip to content

Configuration

ItsOnlyBinary edited this page Feb 23, 2020 · 6 revisions
"plugin-asl" : {
    "gecosType": 1,
    "showRealname": false,
    "showUserBrowser": true,
    "userBrowserIcon": "fa-heart",
    "singleLineUserbox": false,
    "singleLineString": {
        "age": "%a years",
        "sex": "%s",
        "location": "%l",
        "separator": " ",
    },
    "ageRanges": [
        { "name": "All", "value": "all" },
        { "name": "< 25", "value": "<25" },
        { "name": "25 - 45", "value": "25-46" },
        { "name": "> 45", "value": ">45" },
    ],
    "sexes": {
        "Male": { "chars": "M", "colour": "#00F" },
        "Female": { "chars": "F", "colour": "#F0F" },
        "Other": { "chars": "O", "colour": "#0F0" },
    },
    "queryKeys": {
        "age": "age",
        "sex": "sex",
        "location": "location",
        "realname": "realname",
    },
    "strings": {
        "age": "Age",
        "sex": "Sex",
        "location": "Location",
        "realname": "Real Name",
        "info": "Info",
        "browseUsers": "Browse Users",
    }
},

gecosType

This controls the style of gecos set to upon connecting, it will attempt to parse both types regardless of this setting

1 - [a/s/l] realname

2 - a s l

showRealname

This controls the showing of a realname field on the startup screen. note only works with gecosType: 1

showUserBrowser

Control if the User Browser button and sidebar are added into kiwiirc.

userBrowserIcon

What font-awesome 4.7.0 icon shall we use for the User Browser button. default: "fa-heart"

singleLineUserbox

This will enable a single line in the userbox for asl based off the settings in singleLineString

singleLineString

strings age, sex & location are substituted if the user has these attributes. The string is then joined together using the separator.

eg 32 years Male Blackpool

"singleLineString": {
    "age": "%a years",
    "sex": "%s",
    "location": "%l",
    "separator": " ",
},
Clone this wiki locally