5.7 KB
lone_chat/config/channels.lua

Chat Channels

Lua lines for /new_card (new_card.lonechat)
    {
        id          = 'new_card',
        label       = 'New Card',
        short       = 'CHAT',
        prefix      = 'CHAT',
        color       = '#ff3131',
        icon        = 'chat',
        scope       = 'global',
        style       = 'default',
        command     = 'new_card',
        selectable  = true,
        enabled     = true,
        allowEmojis = true,
        allowGifs   = false,
    },

Channel · local

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
range
allow Emojis
allow Gifs

Channel · me

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
range
allow Emojis
allow Gifs

Channel · do

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
range
allow Emojis
allow Gifs

Channel · shout

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
range
cooldown
allow Emojis
allow Gifs

Channel · ooc

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
cooldown
allow Emojis
allow Gifs
logged

Channel · job

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
allow Emojis
allow Gifs
min Rank
min Grade
on Duty Only

Channel · dispatch

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
allow Emojis
allow Gifs
on Duty Only

Channel · business

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
allow Emojis
allow Gifs
boss Always Allowed

Channel · admin

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
min Rank
read Rank
allow Emojis
allow Gifs
bypass Mute
bypass Lockdown
logged

Channel · report

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
min Rank
read Rank
bypass Mute
bypass Lockdown
cooldown
allow Emojis
allow Gifs
logged
echo To Sender

Channel · policeann

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
send On Duty Only
min Grade
show Job
cooldown
allow Emojis
allow Gifs
bypass Lockdown
logged
title

Channel · emsann

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
send On Duty Only
min Grade
show Job
cooldown
allow Emojis
allow Gifs
bypass Lockdown
logged
title

Channel · yellowpages

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
show Job
cooldown
allow Emojis
allow Gifs
logged
title

Channel · announce

id
label
short
prefix
color
icon
scope
style
command
selectable
enabled
min Rank
allow Emojis
allow Gifs
bypass Mute
bypass Lockdown
logged
title

Channel · dm

id
label
short
prefix
color
icon
scope
style
command
selectabletargeted via /dm <id> <message>
enabled
requires Target
cooldown
allow Emojis
allow Gifs

Channel · system

id
label
short
prefix
color
icon
scope
style
selectableplayers cannot post here
enabled
allow Emojis
allow Gifs

Channel · notice

id
label
short
prefix
color
icon
scope
style
selectable
enabled
allow Emojis
allow Gifs

Channel · error

id
label
short
prefix
color
icon
scope
style
selectable
enabled
allow Emojis
allow Gifs

New Card /new_card

CHATPlayer
21:04
Sample message in #new_card.
Card Type
Badge Tag
Edit sample sender & message text
Lone DevNEW CHAT CARD

Create New Chat Card

Name your chat card freely. It will be created as a new .lonechat file and assigned to your custom channel.

cards/.lonechat
Lone DevDOWNLOAD COMPLETE

new_card.lonechat is ready

1
Put file in your resource

Move new_card.lonechat into lone_chat/cards/new_card.lonechat

2
Reload in game
/chatcard reload
Need channels.lua or config.lua lines for /new_card?Click to view or copy
lone_chat/config/channels.lua
    {
        id          = 'new_card',
        label       = 'New Card',
        short       = 'CHAT',
        prefix      = 'CHAT',
        color       = '#ff3131',
        icon        = 'chat',
        scope       = 'global',
        style       = 'default',
        command     = 'new_card',
        selectable  = true,
        enabled     = true,
        allowEmojis = true,
        allowGifs   = false,
    },
Config.Cards.channels['new_card'] = 'new_card'