Custom Admin Channel - rejchev/ccp-modules GitHub Wiki

About

Custom admin channel is a private virtual communication channel between administrators ingame server chat

Requirements

Inheritance

  • parent channel: TM

Configuration

{
    // virtual channel ident (https://github.com/rejchev/ccprocessor/blob/dd1a22df2361b5374a69030b6205cb81c929fee9/src/include/ccprocessor/forwards.inc#L43)
    "identificator":        "ST1",
    
    // on chat: #Hello, world
    "channelTrigger":       "#",
    
    // logging all messages
    "useLog":               true,
    
    // players can report information to administrators, but they cannot read messages.
    "playersCanComplain":   true,
    
    // channelTrigger access flag
    "accessFlag":           "a",
    
    // templates priority
    // 0 priority reserved by server
    // behavior is equivalent to z in CSS (web)
    "priority":             1,
    
    // on true - use custom channel template
    "delegate":             true,
    
    // custom channel template
    "{PROTOTYPE}":          "team_template",
    "{STATUS}": [
                            "status_died",
                            "status_alive"
    ],
    "{STATUSCO}":[
                            "status_color_died",
                            "status_color_alive"
    ],
    "{TEAM}": [
                            "team_admins",
                            "from_player",
                            "to_admins"
    ],

    "{TEAMCO}": [
                            "team_color_admins",
                            "team_color_from_player",
                            "team_color_to_admins"
    ],

    "{PREFIXCO}":           "native_chattag_color",
    "{NAMECO}":             "native_name_color",
    "{MSGCO}":              "native_msg_color"
}