Proximity Text Chat
一款插件,允许你创建基于距离的聊天消息,并可选地加入一个混淆器,根据你与发送者的距离来扭曲消息内容!
注意:Proximity Text Chat 已集成到所有 Cheap Life 服务器的插件中。如果你希望在非 Cheap Life 服务器上使用此功能,才需要安装本插件。
要发送一条近距离消息,请在消息前加上一个句号。
示例:
"Nothing is happening." -> ".Nothing is happening."
设置项
配置文件中有几个可修改的值:
textChatFadeDistance - 开始对近距离消息进行混淆的距离阈值
textChatCutDistance - 近距离消息能被“听到”的最大距离
spectatorsCanChat - 是否允许处于旁观模式的玩家使用聊天功能
forceProximity - 是否强制所有消息都作为近距离消息处理,无论其前面是否有句号。
混淆效果变化
随着消息被逐渐混淆,消息中的多个元素会发生变化。
元音字母可能会被替换为其他元音字母
数字可能会被打乱或替换
单词可能会被截断并替换为 "..."
如果你不想使用混淆效果,而只是希望消息在超过特定距离后被完全截断,请将 textChatFadeDistance 设置为与 textChatCutDistance 相同的值。
混淆效果示例:
短语 "I finally got the wildfire in my sock drawer under control" 对于距离较远的玩家可能会显示为 "I fanally got thu waldfire in ... sock drawar under cantrol"
Proximity Text Chat
A plugin that allows you to create distance-based chat messages, with an optional obfuscator that distorts messages based on your distance from the sender!
Note: Proximity Text Chat is already integrated into all cheap life server plugins. This is only for if you want to have the proximity text chat on a non-cheap life server
To send a proximity message, put a period before your message.
ex:
"There's nothing happening." -> ".There's nothing happening."
Settings
In the config there are a couple values that can be changed
textChatFadeDistance - the distance at which a proximity message will start to be obfuscated
textChatCutDistance - the maximum distance at which a proximity message can be "heard"
spectatorsCanChat - if players in spectator mode will be allowed to use chat
forceProximity - if all messages should be in proximity chat regardless of whether they have a period before them or not.
Obfuscation changes
As a message gets obfuscated, several things about the message can be changed.
Vowels can be switched out with other vowels
Numbers can be switched
Words can be cut out and replaced with "..."
If you do not want to use obfuscation, and would rather just have the message cut out after a certain distance, set the textChatFadeDistance to the same value as the textChatCutDistance.
obfuscation example:
the phrase "I finally got the wildfire in my sock drawer under control" may be displayed to another player that is farther away as "I fanally got thu waldfire in ... sock drawar under cantrol"
评论 0
登录后参与评分
还没有评论,来抢沙发吧