Описание
# **SignalLoss**
**Get notified whenever your server connection gets interrupted**
SignalLoss is a lightweight, configurable, client-side Fabric mod that displays a simple toast notification when your connection to a Minecraft server is interrupted.

## Configuration
You can configure the mod in-game using commands or by editing `/config/signalloss.json`.
**Commands:**
* `/signalloss config ` - sets a config value
* `/signalloss config reset` - resets the config file to default settings
* `/signalloss reload` - reloads the config from `signalloss.json`
**Options:**
| Name | Option | Default value | Description |
| :--- | :--- |:------------|:------------------------------------------------------------------------------------------------------------|
| **Enabled** | `enabled` | `true` | Enable the SignalLoss mod |
| **Timeout Threshold** | `timeoutThreshold` | `2000` (2s) | How long to wait since the last packet was successfully received, before displaying the toast notification. |
| **Min Warning Time** | `minWarningTime` | `2000` (2s) | Minimum time (in miliseconds) the toast stays on screen after being triggered, to prevent flickering. |
| **Linger Time** | `lingerTime` | `1000` (1s) | How long (in miliseconds) the toast stays on screen after recovery (shows final "lag duration"). |
| **Draw Background** | `drawBackground` | `true` | Should a background for the toast be rendered |
| **Show in Singleplayer** | `showInSingleplayer`| `false` | Enable the SignalLoss mod for the singleplayer internal server |
| **Position** | `position` | `CENTER` | Screen position (`LEFT`, `CENTER`, `RIGHT`). |
| **Text Color** | `textColor` | `#FFFF5555` | ARGB Hex color value (`#AARRGGBB`) for the warning text. |
| **Background Color** | `backgroundColor` | `#A0000000` | ARGB Hex color value (`#AARRGGBB`) for the background box. |