A chat mod with two modes:
!)100 blocks)If nobody is in range for a local message, the sender gets a warning.
1.21.121.1.222+21Clients do not need this mod installed: all chat logic runs on the server side.
globalPrefix is sent to all players.localChatRadius.warnIfNoListeners).config/chatter-common.toml)Available settings:
globalPrefix
Global chat prefix. Default: "!"
localChatRadius
Local chat radius in blocks. Default: 100.0
globalMessageFormat
Global message format.
Default: "&6[G] <{player}> {message}"
localMessageFormat
Local message format.
Default: "&7[L] <{player}> {message}"
emptyGlobalMessage
Message shown when globalPrefix is used without text.
Default: "&cYou must type message text after {prefix}."
noListenersMessage
Warning shown when nobody heard a local message.
Default: "&cNobody heard you within {radius} blocks."
echoLocalToSender
Whether to show local messages to the sender.
Default: true
warnIfNoListeners
Whether to show warning when local message has no listeners.
Default: true
Supported in formats and warning messages:
{player} - player name{message} - message text{radius} - current local chat radius{prefix} - current global chat prefix{listeners} - number of listenersSupported & formatting codes:
&0..&9, &a..&f&l, &o, &n, &m, &k&r&: &&globalPrefix = "!"
localChatRadius = 120.0
globalMessageFormat = "&6[GLOBAL] &f<{player}> &e{message}"
localMessageFormat = "&7[LOCAL {radius}] &f<{player}> {message}"
emptyGlobalMessage = "&cYou must type text after {prefix}."
noListenersMessage = "&cNobody heard you ({radius} blocks)."
echoLocalToSender = true
warnIfNoListeners = true
