MYCRAFTisbest 和 POSITION OPEN 的 RealisticChat —— 逼真的本地聊天!
原名
-----------------
| CakeMushroom's RealisticChat - realistic local chat! |
|
| a collaboration of cakenggt and mushroomhostage |
-----------------
捐赠者:
Godpuppet2 - $20USD 最高捐赠者
TheOnlyShad0w - $10USD
RealisticChat 3.0 已发布,现在支持更好的 1.4 版本
功能:
- 本地聊天
- 喊叫
- 耳语
- 扩音器
- 集音筒
- 对讲机
- 智能手机
基本用法
正常说话。你只能清晰地听到 25 米以内其他玩家的声音。
在 25 米到 50 米之间,聊天内容会失真:你的消息中会随机丢失字母,距离越远丢失的概率越大。
为了与更远的玩家沟通,你可以 喊叫(yell)。例如:"*help!*" 增加 10 米的范围。多个感叹号会让你喊得更响:"*help!!!!*" 增加 500 米的范围。喊叫也能让失真的消息变得更清晰。但是,喊叫会降低你的饥饿值!
如果你想和附近的人说话,但又不想让远处的其他人听到,你可以通过 耳语(whispering) 来减小你的聊天范围,例如:"*(lets go)*"。只有 10 米以内的玩家能听到你的耳语,而只有 5 米以内的玩家能听清你的内容。
高级用法
为了进一步增加聊天范围,手持 扩音器(bullhorn)(钻石)说话。这会在你前方的锥形区域内将你的范围加倍,就像真实的扩音器(或喇叭)一样。扩音器可以与喊叫结合使用。此外,听到扩音器消息的玩家会识别出声音的来源方向。如果你迷路了,可以利用这种能力进行 [声学定位]()。
为了在秘密行动中偷偷监听,请佩戴 集音筒(ear trumpet)。这是现代助听器的前身,源自 1600 年代。[集音筒]() 可以显著增加你的听力范围,但对你的说话范围没有影响,使你能够在安全距离外窃听敌方基地,同时像往常一样与同伙轻松交谈。它需要用木板(+100 米)、皮革(+150 米)或铁(+400 米)以头盔形状制作,并在中心放置一个钻石,然后将其作为盔甲戴在头上以提高听力。它的耐久度与金头盔相同。
对于远距离通信,请使用 对讲机(walkie talkie)(指南针)。将指南针握在 *手中* 并正常说话,你的声音将通过设备清晰地传输给任何其他 *快捷栏* 中持有指南针的玩家,最远可达 1000 米(超过 1000 米后会失真,最远可达 2000 米)。对讲机在旅行时与其他玩家保持联系特别有用。
对于私人的点对点通信,请使用 智能手机(smartphone)(时钟)。将时钟握在 *手中*,并向其说出你想呼叫的玩家的名字。其高科技的 *语音激活呼叫* 功能将使设备拨打该玩家的电话,最多尝试 4 次,直到他们切换到手机接听。一旦通话建立,所说的任何内容也会通过空中传输给另一位玩家。你可以通过将手移到另一个物品上来挂断电话。(请注意,如果其他玩家在附近,他们可能会偷听到你的声音,就像你正常说话一样,所以如果你真的希望对话保密,请确保去一个遥远的地方或使用耳语,但如果需要,此功能可以禁用,见下文)。智能手机仍处于实验阶段,如有任何问题或建议改进之处,请报告。
所有距离、物品和其他参数均可根据你的喜好进行配置;详见下文。
命令
无
配置
speakingRangeMeters (50.0): 在正常情况下,允许接收任何聊天消息的玩家之间的最大距离。请注意,在更长的距离上消息可能会失真,详见下文。
garbleRangeDivisor (2.0): 聊天开始失真的 speakingRangeDistance 的比例(字母随机丢失,距离越远概率越大)。例如,2.0 意味着超过 1/2.0 = 最大听力范围的一半(默认 50/2 = 25 米),聊天将会失真。
garblePartialChance (0.10): 当字符因失真即将被丢弃时,使用此概率来确定该字符是否应改为变暗(彩色聊天 chatDimMessageColor),代表几乎听不见的消息片段。设置为 1.0 以始终变暗字母而不是丢弃,或设置为 0.0 以完全禁用变暗。
garbleAllDroppedMessage (~~): 如果你的整个消息不幸全部失真,则显示的消息替换文本。设置为 null 以禁用替换。
chatLineFormat(%1$s: %2$s):显示给玩家的聊天行格式。第一个参数替换为玩家显示名称,第二个参数替换为消息文本。对于传统聊天显示,尝试使用“<%1$s> %2$s”,若要隐藏玩家名称以实现匿名聊天,则仅使用“%2$s”。
chatSpokenPlayerColor(黄色):玩家自己发言时,其玩家名称显示的颜色。
chatHeardPlayerColor(绿色):从其他玩家处听到的说话声,其玩家名称显示的颜色。
chatMessageColor(白色):聊天消息的颜色。
chatDimMessageColor(深灰色):由 garblePartialChance 导致乱码的已接收部分字符的颜色。设置为“MAGIC”可产生有趣的效果。
yellMax(4):允许在消息末尾使用的最大感叹号数量,用于提高喊叫等级。若要完全禁用喊叫功能,请设置为 0。
yell.#.hunger(1, 2, 4, 20):每个喊叫等级(尾部感叹号的数量)所消耗的饥饿值(以半根鸡腿为单位)。值为 20 时会耗尽所有饥饿值。
yell.#.rangeIncrease(10.0, 50.0, 100.0, 500.0):每个喊叫等级下,超出正常范围的增加距离(米)。
whisperRangeDecrease(40.0):耳语(括号内聊天)时减少的聊天范围距离。例如,40.0 会将正常的 50.0 范围最大减少至 10.0 米。乱码范围除数仍然适用,因此(默认情况下)只有距离 10.0/2 = 5.0 米以内的人才能清晰地听到你。
bullhornEnable(true):启用或禁用喇叭。
bullhornItem(钻石):用作喇叭代表的物品。
bullhornFactor(2.0):当玩家手持喇叭时,将聊天范围乘以该值。
bullhornWidthDegrees(70.0):玩家前方喇叭锥形区域的宽度,单位为度。
70 是 Minecraft 默认的视野角度。
bullhornChatLineFormat("%1$s [%3$s]: %2$s"):通过喇叭接收到的消息将使用此格式字符串进行格式化,其中第三个字段替换为消息来源的指南针方向。另请参阅 chatLineFormat。
earTrumpetEnable(true):启用或禁用集音筒。
earTrumpetEnableCrafting(true):启用或禁用集音筒的合成。
earTrumpet.#.rangeIncrease(100.0, 150.0, 400.0):每种等级的集音筒所增加的听力范围。佩戴者可以在增加后的范围内听到(但不能说话)声音。
walkieEnable(true):启用或禁用对讲机。
walkieItem(指南针):用作对讲机代表的物品。
walkieRangeMeters(2000.0):对讲机的最大范围。注意,在此范围接近末端时,消息会根据 walkieGarbleDivisor 变得乱码。
walkieGarbleDivisor(2.0):超过 walkieRangeMeters 的几分之几后,传输信号会变得乱码。使用默认值时,超过 2000.0/2 = 1000 米后消息会中断,而在 0 - 1000 米范围内,消息将清晰无误。
walkieChatLineFormat("[walkie] %1$s: %2$s"):通过对讲机接收到的消息将使用此格式字符串进行格式化。另请参阅 chatLineFormat。
walkieHearLocally(true):在对讲机通话时,允许附近的其他人偷听。这增加了真实感,因为你需要耳语或远离其他玩家才能进行私密对话,但如果你在对讲机上交谈的玩家离得足够近以至于也能本地听到你的声音,可能会导致消息重复显示。如果设置为 false,消息只会发送到对讲机中,而不会发送给附近的用户。
globalPrefix('/g '):以此前缀开头的消息将被全局发送,不受本地聊天限制的影响。你可以使用命令(示例:'/g ' 或 '/s '),或者在普通聊天中使用前缀(示例:'@')。设置为 null 以禁用。
globalChatLineFormat("[global] %1$s: %2$s"):使用 /g 发送的消息将使用此格式字符串进行格式化。另请参阅 chatLineFormat。
smartphoneEnable(true):启用智能手机。
smartphoneItem(手表):用作智能手机代表的物品。
smartphoneChatLineFormat("[cell] %1$s: %2$s"):通过智能手机接收到的消息将使用此格式字符串进行格式化。另请参阅 chatLineFormat。
smartphoneHearLocally(true):在使用智能手机通话时,允许附近的其他人偷听。另请参阅 walkieHearLocally。
smartphoneRings(4):呼叫玩家后,在他们接听之前手机响铃的次数。
Permissions
所有权限默认为 true。
realisticchat.yell:允许你喊叫
realisticchat.whisper:允许你耳语
realisticchat.bullhorn:允许你对着喇叭说话
realisticchat.eartrumpet:允许你佩戴集音筒并更好地倾听
realisticchat.walkie.talk:允许你对着对讲机说话
realisticchat.walkie.hear:允许你从对讲机收听
realisticchat.smartphone.call:允许你使用智能手机拨打电话
realisticchat.smartphone.answer:允许你使用智能手机接听电话
即将推出:
- 管理员覆盖(添加权限以允许管理员被所有人听到并听到所有人)
- 世界通信器(钻石锄头,它可以在任何地方工作,你可能需要某种东西来为其供电)
- 寻呼机(铁锭制成,仅用于显示通过寻呼机或电话联系你的人的名字)
- 家用电话(由铁块制成,在其范围内会听到铃声提示,右键点击可接听(以此类推))
- 新手消息(可自定义的消息,发送给首次登录的玩家,用于介绍服务器和聊天功能的使用方法)
- 可能包括信号塔(可配置方块)和电话线(红石粉/细绳)??
MYCRAFTisbest and POSITION OPEN's RealisticChat - realistic local chat!
FORMERLY
-----------------
| CakeMushroom's RealisticChat - realistic local chat! |
|
| a collaboration of cakenggt and mushroomhostage |
-----------------
DONATORS:
Godpuppet2 - $20USD TOP DONATOR
TheOnlyShad0w - $10USD
RealisticChat 3.0- released, now with better 1.4 support
Features:
- Local chat
- Yelling
- Whispering
- Bullhorns
- Ear trumpets
- Walkie-talkies
- Smartphones
Basic Usage
Talk normally. You'll only be able to clearly hear other players within 25 meters.
Beyond 25 up to 50 meters, chat will break up: letters will randomly drop from your messages, with increasing probability the greater the distance.
To reach someone further away, you can yell. For example: "*help!*" adds 10 m. Multiple exclamation marks will make you yell louder: "*help!!!!*" adds 500 m. Yelling will also make garbled messages clearer. However, yelling comes at the cost of decreasing your food level!
If you want to talk to people very close by but hide your chat from others further away, you can decrease your chat range by whispering, for example: "*(lets go)*". Only players within 10 m will be able to hear your whispering, and only those within 5 m will be able to hear you clearly.
Advanced Usage
To further increase your chat range, speak while holding a bullhorn (diamond). This will double your range within a conical region in front of you, just like a real bullhorn (or megaphone). Bullhorns can be used in conjunction with yelling. Additionally, players hearing messages from bullhorns will recognize the direction it is coming from. You can use this ability for [acoustic location]() if you get lost.
For stealthily listening in for covert operations, wear an ear trumpet. A precursor from the 1600s to the modern hearing aid, the [ear trumpet]() can increase your hearing range significantly, but has no effect on your speaking range, allowing you to eavesdrop on enemy bases from a safe distance while talking casually as normal with your partners in crime. Craft it in the shape of a helmet with a diamond in the center, out of wooden planks (+100 m), leather (+150 m), or iron (+400 m), then wear it on your head as armor for improved hearing. It has the same durability as a Golden Helmet.
For long-range communication, use a walkie talkie (compass). Hold the compass in your *hand* and speak as normal, and your voice will be clearly transmitted through the device up to 1000 meters (and break up beyond 1000 meters, up to 2000 meters) to other players holding a compass anywhere in their *hotbar*. Walkie Talkies are especially useful for keeping in touch with other players while travelling.
For private one-to-one communication, use a smartphone (clock). Hold the clock in your *hand*, and use speak into it the name of a player you want to call. Its high-tech *voice activated calling* capabilities will cause the device to ring up the player, giving them at most 4 times until they pickup by switching to the phone. Once the call is established anything said will also be transferred over the air to the other player. You can hang up the call by moving your hand to another item. (Note that other players can overhear you if they are nearby, just as if you are talking normally, so be sure to go somewhere far away or use whispering if you really want your conversation to be private, but this feature can be disabled if desired, see below). Smartphones are still experimental, please report any problems or suggested enhancements.
All distances, items, and other parameters are configurable to your liking; see below.
Commands
None
Configuration
speakingRangeMeters (50.0): Maximum distance between players to allow any chat message to be received, under normal conditions. Note that the message may be garbled at longer distances, see below.
garbleRangeDivisor (2.0): Fraction of speakingRangeDistance after which the chat is garbled (letters randomly dropped with increasing probability further away). For example, 2.0 means beyond 1/2.0 = half of the maximum hearing range (default 50/2 = 25 m), chat will be garbled.
garblePartialChance (0.10): When a character is about to be dropped due to garbling, use this probability to determine if the character should instead be dimmed (colored chatDimMessageColor), representing a barely audible piece of the message. Set to 1.0 to always dim letters instead of dropping, or 0.0 to disable dimming entirely.
garbleAllDroppedMessage (~~): Message replacement to display if you were unlucky enough for your entire message to be garbled. Set to null to disable replacement.
chatLineFormat (%1$s: %2$s): The format of the chat line to be shown to the player. The first argument is replaced with the player's display name, and the second with the message text. For the traditional chat display, try "<%1$s> %2$s", or to hide player names for anonymous chat, use just "%2$s".
chatSpokenPlayerColor (YELLOW): Color of player name shown to a player when they themselves speak.
chatHeardPlayerColor (GREEN): Color of player name of speech heard from other players.
chatMessageColor (WHITE): Color of chat messages.
chatDimMessageColor (DARK\_GRAY): Color of partially-received characters, garbled by garblePartialChance. Set to "MAGIC" for an interesting effect.
yellMax (4): Maximum exclamation marks allowed at end of message to increase yelling level. To disable yelling entirely, set to 0.
yell.#.hunger (1, 2, 4, 20): Hunger (in half-drumsticks) depleted for each yelling level (number of trailing exclamation marks). 20 depletes all hunger.
yell.#.rangeIncrease (10.0, 50.0, 100.0, 500.0): Range increase in meters, beyond the normal range, for each yelling level.
whisperRangeDecrease (40.0): Distance to decrease the chat range when whispering (parenthesized chat). For example, 40.0 will decrease the normal 50.0 range to 10.0 meters maximum. The garble range divisor still applies, so (by default) only those 10.0/2 = 5.0 meters away will hear you clearly.
bullhornEnable (true): Enable or disable bullhorns.
bullhornItem (diamond): The hand-held item to use to represent bullhorns.
bullhornFactor (2.0): Multiply chat range by this value when player is holding a bullhorn (diamond).
bullhornWidthDegrees (70.0): Width of the bullhorn conical region in front of the player, in degrees.
70 is the default Minecraft field-of-view.
bullhornChatLineFormat ("%1$s [%3$s]: %2$s"): Messages received from bullhorns will be formatted using this format string, with the third field replaced by the compass direction from where the message was received. See also chatLineFormat.
earTrumpetEnable (true): Enable or disable ear trumpets.
earTrumpetEnableCrafting (true): Enable or disable crafting of ear trumpets.
earTrumpet.#.rangeIncrease (100.0, 150.0, 400.0): Hearing range increase for each of the tiers of ear trumpets. The wearer will be able to hear (but not speak) up to this increased range.
walkieEnable (true): Enable or disable walkie talkies.
walkieItem (compass): The hand-held item to use to represent walkie talkies.
walkieRangeMeters (2000.0): The maximum range of walkie talkies. Note that near the end of this range, messages will be garbled depending on walkieGarbleDivisor.
walkieGarbleDivisor (2.0): Fraction of walkieRangeMeters after which the transmissions are garbled. Using the defaults, beyond 2000.0/2 = 1000 m the messages will break up, and from 0 - 1000 m, messages will be clear.
walkieChatLineFormat ("[walkie] %1$s: %2$s"): Messages received from walkie-talkies will be formatted using this format string. See also chatLineFormat.
walkieHearLocally (true): When talking into a walkie-walkie, allow other people nearby to overhear you. This adds realism since you'll have to whisper or go away from other players to have a private conversation, but can show doubled messages if the player you're talking to on teh walkie is near enough to hear you locally as well. If false, the message will only be sent into the walkie-talkie, not to nearby users.
globalPrefix ('/g '): Messages beginning this prefix will be delivered globally, regardless of local chat restrictions. You can either use a command (examples: '/g ' or '/s '), or a prefix in normal chat (example: '@'). Set to null to disable.
globalChatLineFormat ("[global] %1$s: %2$s"): Messages sent using /g will be formatted using this format string. See also chatLineFormat.
smartphoneEnable (true): Enable smartphones.
smartphoneItem (watch): Item to use to represent a smartphone.
smartphoneChatLineFormat ("[cell] %1$s: %2$s"): Messages received from smartphones will be formatted using this format string. See also chatLineFormat.
smartphoneHearLocally (true): When talking into a smartphone, allow other people nearby to overhear you. See also walkieHearLocally.
smartphoneRings (4): Number of times to ring smartphone when calling a player before they answer.
Permissions
All permissions default to true.
realisticchat.yell: Allows you to yell
realisticchat.whisper: Allows you to whisper
realisticchat.bullhorn: Allows you to speak into bullhorns
realisticchat.eartrumpet: Allows you to wear ear trumpets and hear better
realisticchat.walkie.talk: Allows you to talk into walkie-talkies
realisticchat.walkie.hear: Allows you to hear from walkie-talkies
realisticchat.smartphone.call: Allows you to place calls with your smartphone
realisticchat.smartphone.answer: Allows you to answer calls with your smartphone
Comming Soon:
- Op override (adding perms to allow Ops to hear and be heard by all)
- World Comminicator (diamond hoe, It works everywhere, you will probably need something to power it)
- Pager (iron ingot, it just tells u the name of the person who contacted you by ether pager or phone)
- Home Phone (made of an iron block and if within an area of it, a ring message will be heard and right clicking it will pick it up (ect))
- Newb message (a customizable message sent to first time players to describe the server and how the chat works)
- Maybe Cell tower (configured block) and phone lines (string)??
- Maybe Outlets (Phones need to be charged)??
评论 0
登录后参与评分
还没有评论,来抢沙发吧