Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
LonelyDeath
【Host Only MOD】Players who stray too far from everyone will die.皆から離れすぎたプレイヤーは自殺する
By REPO_JP
| Last updated | 2 hours ago |
| Total downloads | 0 |
| Total rating | 1 |
| Categories | Mods Server-side AI Generated |
| Dependency string | REPO_JP-LonelyDeath-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
LonelyDeath
This mod is a host-only mod that kills players who stay too far away from everyone.
Overview
LonelyDeath checks player positions once per configured interval and calculates the center point from living players who are outside the truck.
If a player goes outside the configured safe sphere, the host forces that player to send a public chat message, turns their eyes red, applies periodic damage, and kills them if they do not return before the kill timer ends.
The truck can be used as a configurable safety zone. When the truck safe zone is enabled, players inside the truck are not damaged, killed, marked with red eyes, or forced to send the outside chat message.
Mod Type
Host Only MOD
Only the host needs to install this mod. Clients do not need to install it.
Main Features
- Host-only position monitoring
- Safe sphere based on XYZ distance
- Center point based only on living players outside the truck
- Forced public chat when leaving the safe sphere
- Forced public chat when returning to safety
- Red eyes while outside the safe sphere
- Configurable radius
- Configurable check interval
- Configurable kill delay
- Configurable damage per second
- Configurable damage start delay
- Configurable truck safe zone
- Disabled in shop, lobby, lobby menu, tutorial, and non-level states
- Multiplayer only
Config
| Section | Setting | Description | Default | Min | Max |
|---|---|---|---|---|---|
| General | EnableMod | Enables or disables the mod. | true | false | true |
| General | Radius | Safe sphere radius from the center point. | 25 | 0.1 | No fixed max |
| General | CheckInterval | Position check interval in seconds. | 1 | 0.1 | No fixed max |
| General | KillDelay | Seconds from leaving the safe sphere until death. | 10 | 0.1 | No fixed max |
| General | DamagePerSecond | Damage applied every second while outside after the delay. | 1 | 0 | No fixed max |
| General | DamageStartDelay | Seconds before periodic damage starts after leaving the safe sphere. | 0 | 0 | No fixed max |
| General | TruckSafeZone | Treats the truck as a safe zone. | true | false | true |
| Chat | OutsideChatMessage | Forced public chat when a player leaves the safe sphere. | I'm too far away from everyone. I'm lonely. I'm going to die. | Text | Text |
| Chat | SafeChatMessage | Forced public chat when a player returns to safety. | safe | Empty text | Text |
| Debug | EnableDebugLog | Enables debug logs. | false | false | true |
Notes
- The mod does nothing if the local player is not the host.
- The mod does nothing in single-player sessions.
- The center point ignores players inside the truck.
- The safety check uses full XYZ distance, so height difference is included.
- If fewer than two valid center-source players exist, the mod clears lonely states and does not punish anyone.
- Players inside the truck are safe only when
TruckSafeZoneis enabled.
※Mod created by AI
LonelyDeath
REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります! 参加は以下のリンクから! https://discord.gg/h5ATY4m5bZ
このMODは、全員から離れすぎたプレイヤーを死亡させるMODです。
概要
LonelyDeathは、設定した判定間隔ごとにプレイヤー位置を確認し、トラック外にいる生存プレイヤーから中心点を算出します。
プレイヤーが設定した安全球の外に出ると、ホスト側処理でそのプレイヤーに公開チャットを強制送信させ、目を赤くし、継続ダメージを与え、死亡猶予時間内に戻らなければ死亡させます。
トラックはConfigでセーフティーゾーンにできます。 トラックセーフティーゾーンが有効な場合、トラック内のプレイヤーはダメージ、死亡、赤目化、球外チャットの対象になりません。
MOD区分
Host Only MOD
ホストのみ導入すれば動作します。 参加者側の導入は不要です。
主な機能
- ホスト専用の位置監視
- XYZ距離による安全球判定
- トラック外の生存プレイヤーのみを使った中心点算出
- 安全球外に出た時の強制公開チャット
- 安全圏に戻った時の強制公開チャット
- 安全球外にいる間の赤目化
- 半径のConfig設定
- 判定間隔のConfig設定
- 死亡までの時間のConfig設定
- 毎秒ダメージ量のConfig設定
- ダメージ開始猶予時間のConfig設定
- トラックセーフティーゾーンのConfig設定
- ショップ、ロビー、ロビーメニュー、チュートリアル、レベル外状態では無効
- マルチプレイ時のみ動作
設定項目
| セクション | 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|---|
| General | EnableMod | MODを有効化または無効化します。 | true | false | true |
| General | Radius | 中心点からの安全球半径です。 | 25 | 0.1 | 固定上限なし |
| General | CheckInterval | 位置判定を行う間隔 秒です。 | 1 | 0.1 | 固定上限なし |
| General | KillDelay | 安全球外に出てから死亡するまでの秒数です。 | 10 | 0.1 | 固定上限なし |
| General | DamagePerSecond | ダメージ開始後、球外で毎秒受けるダメージ量です。 | 1 | 0 | 固定上限なし |
| General | DamageStartDelay | 安全球外に出てから継続ダメージが始まるまでの猶予秒数です。 | 0 | 0 | 固定上限なし |
| General | TruckSafeZone | トラック内をセーフティーゾーン扱いにします。 | true | false | true |
| Chat | OutsideChatMessage | 安全球外に出た時の強制公開チャット内容です。 | I'm too far away from everyone. I'm lonely. I'm going to die. | 文字列 | 文字列 |
| Chat | SafeChatMessage | 安全圏に戻った時の強制公開チャット内容です。 | safe | 空文字 | 文字列 |
| Debug | EnableDebugLog | デバッグログを有効化します。 | false | false | true |
注意事項
- ホスト以外では何もしません。
- シングルプレイでは何もしません。
- 中心点はトラック内のプレイヤーを除外して算出します。
- 判定はXYZ距離なので、高低差も距離に含まれます。
- 中心算出対象が2人未満の場合、孤立状態を解除して誰も処罰しません。
- トラック内が安全になるのは、
TruckSafeZoneが有効な場合のみです。
※AI生成MOD