EnergyCrystalAutoRefill

v4.0.0·Updated 2026-05-10

【Host Only MOD】Automatically refills depleted energy crystals by spending savings when a player tries to charge an item.

About this mod Machine translation

EnergyCrystalAutoRefill

COMPATIBLE WITH COSMETICS UPDATE V0.4.0.

This mod is a host-only mod that automatically refills depleted Charging Station energy crystals by spending savings when a player tries to charge an item.

Features

  • Works with host installation only.
  • Triggers only when the Charging Station is depleted and a chargeable item is placed in the charge area.
  • Spends run savings and refills the Charging Station automatically.
  • Refills the configured number of energy crystals accurately.
  • Limits forced public chat to the nearest players around the charged item, up to 3 players.
  • Keeps the original refill flow:
  • Announces refill cost in k$.
  • Checks savings before starting the countdown.
  • Waits 5 seconds.
  • Counts down 5, 4, 3, 2, 1.
  • Rechecks that the station is still depleted and the item is still trying to charge.
  • Spends savings.
  • Refills the Charging Station.
  • Announces current savings after refill.
  • Keeps cooldown after refill.
  • Sends a cooldown notice only once when someone tries to charge during cooldown while the station is depleted.

Configuration

The config file is created under BepInEx/config.

| Setting | Description | Default | Minimum | Maximum |

|---|---|---:|---:|---:|

| EnableMod | Enables or disables this mod. | true | false | true |

| CostPerRefill | Cost per refill in k$. | 10 | 0 | 100 |

| PowerCrystalsToAdd | Number of energy crystals to add per refill. | 1 | 1 | 10 |

| CooldownSeconds | Cooldown seconds after a refill. | 10 | 1 | 300 |

Behavior Notes

  • The mod does nothing when the Charging Station is not depleted.
  • If savings are insufficient, it announces the shortage and requires the item to be removed and inserted again after savings increase.
  • If the item is removed or the depleted condition is resolved during the wait or countdown, the sequence cancels silently.
  • Forced public chat is intentionally limited to nearby players to avoid excessive chat spam in large groups.
  • The chat limit only affects forced chat output. It does not change the refill result.

For Developers

  • The refill process is executed only by the host or in singleplayer.
  • The refill amount is calculated as accurate energy crystal units for R.E.P.O. v0.4.0 Charging Station behavior.
  • The charged item position is used as the distance origin for selecting forced chat speakers.
  • The nearest valid players inside the truck are selected, up to 3 players.
  • The refill sequence keeps a lock to avoid duplicate refill execution and duplicate forced chat during the same process.

※Mod created by AI

EnergyCrystalAutoRefill

COSMETICS UPDATE V0.4.0対応済み.

REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります!

Participate in the following のリンクから!

このMODは、ホスト専用の、プレイヤーがchargerしようとした时にエナジークリスタル Cut the charging station and store the money and consume it and automatically replenish it and MOD it.

Function

-ホストのみの Importでactionします.

  • Charging station is dry, charging is possible, and charging is possible when charging is possible.
  • The money stored in the store can be consumed at the charging station and automatically replenished.
  • Set the correct number of したエナジークリスタル and add it correctly.
  • It is compulsory to release the チャットの対肖を and the charging 徾肖 アイテムにNearlyい, with a maximum limit of 3 people and a limit of 3 people.
  • Existing supplements are maintained.
  • Supplementary information from コスト(k$)を
  • Confirm the remaining height before starting the game
  • 5 seconds standby
  • 5, 4, 3, 2, 1 のカウントダウン
  • まだ渇していて、まだchargeしようとしているか reconfirm
  • Savings and spending
  • Charging station replenishment
  • Notification of residual height after supplementation
  • After replenishing the クールダウンをmaintenanceします.
  • In the case where the クールダウン中に渇status is charging, the クールダウン notification is 1 reply and the message is sent.

Setting items

Configファイルは BepInEx/config is paired with に成されます.

| Setting value name | Setting content description | Initial value | Setting the minimum possible value | Setting the maximum possible value |

|---| …

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
EnergyCrystalAutoRefill-4.0.0.zip
File size
111.4 KiB