SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

Typing Indicator

FBy Fatigue

When the player is typing, they'll show a little box above their head

Description

<p>Server / Singleplayer compatible. Must be installed on both client and server for it to successfully function.<br /><br /><strong>Server owners, when you update this mod it will replace your configuration.<br />1. </strong>Go to <code>VintagestoryData/ModConfig/typing_indicator/</code><br /><strong>2.</strong> Adjust <code>VintagestoryData/ModConfig/typing_indicator/config.json</code> with the localization text each update.<br /><strong>2.1. </strong>Your old configuration files have been moved to <code>VintagestoryData/ModConfig/typing_indicator/out_of_date_configs/config_(version).json</code>. You can copy/paste what's changed; this is just a safety thing in case the server packets change in the future. In most cases unless otherwise specified, you can basically copy paste <strong>everything <em>above</em></strong> <code><strong>READONLY_CreatedWithTypingIndicatorVersion</strong></code> to the new configuration.<br /><br /></p> <div class="spoiler"> <div class="spoiler-toggle">Changelog - Version 1.1.2</div> <div class="spoiler-text"> <p>Should fix <a href="https://github.com/FatigueDev/typing_indicator/issues/2" target="_blank" rel="noopener">https://github.com/FatigueDev/typing_indicator/issues/2</a>, which is a null reference exception when the display text is null in the renderer. Prevents players with rough connections from crashing, instead temporarily displaying the default english localization before the server finishes sending it's preferred configuration to be displayed.</p> </div> </div> <div class="spoiler"> <div class="spoiler-toggle">Changelog - Version 1.1.1</div> <div class="spoiler-text">Hotfix for singleplayer, should hopefully fix <a href="https://github.com/FatigueDev/typing_indicator/issues/1" target="_blank" rel="noopener">https://github.com/FatigueDev/typing_indicator/issues/1</a> reported by <span class="mention username">WickedSchnitzel</span></div> </div> <div class="spoiler"> <div class="spoiler-toggle">Changelog - Version 1.1.0</div> <div class="spoiler-text"> <p>Server Owners / Singleplayers:<br />When the game is run, it spits out a new configuration file containing the following defaults:<br /><br /><code>{<br />&nbsp; "Localizations": {<br />&nbsp;&nbsp;&nbsp; "en": "Typing..."<br />&nbsp; },<br />&nbsp; "Timeout": 5.0,<br />&nbsp; "MaxRange": 50,<br />&nbsp; "READONLY_CreatedWithTypingIndicatorVersion": "1.1.0"<br />}</code></p> <p>Localizations can be appended to and given custom text. The default is "en": "Typing...", but once the configuration is created it can be changed while the server is running. Players re-log, they get the updated contents of this config applied to their TypingIndicator.</p> <p>Timeout is how long a player can not type before they stop displaying their indicator in seconds.</p> <p>MaxRange is how far players can see each other's typing indicators (NOT in blocks, it's a magic distance number. Please tweak this until you're happy with how far away it is displayed.</p> <p>READONLY_CreatedWithTypingIndicatorVersion is a flag for creating configs. If the mod updates, we'll move your old config to ModConfig/typing_indicator/out_of_date_configs/ so you can copy and paste your old configuration settings to potentially a new configuration format. I don't think it'll be updated often, but if and when it is you'll need to keep this in mind.</p> </div> </div>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.