chat3.colorize(name, color, msg)
name
and if recent enough returns the colourized msg
name
: Name of player to whom the colorized message is to be sentcolor
: Hex-code or color name (string)msg
: Message to colorizechat3.send(name, msg, prefix, source)
name
: Sender player namemsg
: Message to sendprefix
: An optional string to prefix the colourized message and usernamesource
: Used by ranks to allow compatibility between ranks and chat3chat3.ignore.get(name)
{ignoring = {name1 = true, ...}, ignored_by = {name2 = true, ...}}
)name
: Player usernamechat3.ignore.set(name, list)
name
: Player usernamelist
: Table of names (e.g. (e.g.{ignoring = {name1 = true, ...}, ignored_by = {name2 = true, ...}}
)chat3.ignore.add_name(name, ignore)
success
if ignore
was added to name
's ignoring
list and name
ignore
's ignored_by
listname
: Name of player to whose ignore list ignore
should be addedignore
: Player username to ignorechat3.ignore.remove_name(name, unignore)
success
if ignore
was removed from name
's ignoring
list andname
from ignore
's ignored_by
listchat3.ignore.clear(name)
success
if name
's ignore list was clearedchat3.ignore.set(name, nil)
as it also clearsignored_by
lists and notifies no longer ignored players.
name
: Name of player whose ignore list should be clearedchat3.ignore.can(name, check)
true
if the player can be ignoredname
: Name of player whose ignore list is to be checkedcheck
: Player username to check if ignoredchat3.ignore.is(name, check)
true
if the player is being ignoredname
: Name of player whose ignore list is to be checkedtarget
: Player Object of player to check the ignore list ofchat3.ignore.add(name, ignore)
success, message
after attempting to ignore a playerchat3.ignore.add_name
name
: Name of player to whose ignore list ignore
should be addedignore
: Player username to attempt to ignorechat3.ignore.remove(name, unignore)
success, message
after attempting to remove a player from another'schat3.ignore.remove_name
name
: Name of player from whose ignore list unignore
should be removedplayer
: Player username to attempt to unignorechat3.ignore.check(name, check)
result, message
after attempting to find out if check
is beingname
.name
: Name of player whose ignore list should be checkedcheck
: Player username to check if being ignoredchat3.ignore.list(name, subtable)
name
, or nil
table.concat
(e.g. {name1, name2, ...}
).name
: Name of player whose ignore list should be listedsubtable
: Table to return (ignoring
or ignored_by
)chat3.alt.get(name)
{name1 = true, name2 = true, ...}
)name
: Player usernamechat3.alt.set(name, list)
name
: Player usernamelist
: Table of alternate usernames (e.g. {name1 = true, name2 = true, ...}
)chat3.alt.add(name, alt)
nil
if max has been reached or if the
alternate username already exists)name
: Base player usernamealt
: New alternate usernamechat3.alt.remove(name, alt)
nil
if the username already does not
exist)name
: Base player usernamealt
: Alternate username to removechat3.alt.list(name)
table.concat
)name
: Player username