ItemTrashandDuplicateKeys
Adds hotkeys to destroy or duplicate items and valuables while grabbing them. Regular items can optionally be added to or removed from the save file, giving full control over your equipment. Fully sup
About this mod Machine translation
Item Trash & Duplicate Keys
Adds hotkeys to destroy or duplicate any grabbed item or valuable.
Regular items can optionally be added to or removed from the save file, giving full control over permanent loadouts.
Supports full multiplayer synchronization for both items and valuables.
✨ Features
- Destroy grabbed items
- Destroy grabbed valuables (properly synchronized)
- Duplicate items using vanilla-compatible spawn logic
- Duplicate valuables using their correct PrefabRef
- Optional save-file updating (add/remove items permanently)
- Toggleable debug logging
- Works in singleplayer and multiplayer
- Visual on-screen hints for DELETE / DUPLICATE actions
⚙️ Configuration
General
| Key | Description |
| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| HoldTime | Time (seconds) required to hold the key before deletion/duplication triggers |
| SaveDataUpdate | If true, item duplication/deletion also updates the save file |
| EnableDebugLog | Enables or disables internal debug logs |
| EnableValuableMemoryCache | Enables a singleplayer-only memory scan mode that allows duplicating valuables not defined in any level presets |
Keys
| Key | Description |
| ---------------- | ---------------------------------------------------------- |
| TrashKey | Key used to delete the grabbed object (Default: Delete) |
| DuplicateKey | Key used to duplicate the grabbed object (Default: Insert) |
TrashKey
| Key | Description |
| ------------------- | -------------------------------------------------------------- |
| AllowEverywhere | If false, works only in Lobby/Truck. If true, works everywhere |
🔧 How It Works
Item Deletion
- Removes the object from the scene
- If SaveDataUpdate = true, also removes it from the save file using vanilla StatsManager logic
- Uses PhotonNetwork.Destroy for multiplayer synchronization
Item Duplication
- Uses StatsManager.itemDictionary to find the correct item key
- Spawns using the proper prefab path
- If SaveDataUpdate = true, registers the item as purchased and saves the file
Valuable Duplication
- Resolves the correct PrefabRef from the current level’s ValuablePresets
- Spawns safely and works in multiplayer
- Does not interact with save data (matching vanilla behavior)
Valuable Deletion
- Uses PhotonNetwork.Destroy in multiplayer
- Instant removal in singleplayer
- No save-file effect
🇯🇵 Japanese instructions
Item Trash & Duplicate Keys
洴んでいる アイテム や Precious goods を、ホットキーでERASE または COPY できる MOD です.
アイテムに关しては、セーブデータへAdded/removed するかどうかを选択できます.
マルチプレイでも正しくsynchronousされ、ホストlateralで実行されます.
✨ Function
- 洴んでいるアイテムをcut out
- Removal of valuable items (same period)
- アイテムを copy (バニラと同じofficial なスポーン process)
- Valuable items are copied (正しいPrefabからgenerated)
- セーブデータをUpdateするか选択possible
- DELETE / DUPLICATE means
General
| Setting name | Description |
| ----------------------------- | ------------------------------------------------------------ |
| HoldTime | The necessary and long holding time for deletion/copying (seconds) |
| SaveDataUpdate | にセーブデータへ Reflect when deleting and copying |
| EnableDebugLog | デバッグログの ON / OFF |
| EnableValuableMemoryCache | レベルDefinitionにExistenceしないvaluablesをCopyするためのシングルプレイ専用メモリ総为たりモード |
Keys
| Settings | Description |
| ---------------- | ------------------- |
| TrashKey | TrashKey: Delete |
| DuplicateKey | Duplicateキー(デフォルト: Insert) |
TrashKey
| Settings | Description |
| ------------------- | ------------------------------ |
| AllowEverywhere | false=ロビー/トラックのみ、true=全ステージで Valid |
🔧 Shizumi
アイテムDelete
*シーンから deleted
- When SaveDataUpdate = true, delete
- マルチでは PhotonNetwork.Destroy same period
アイテムCopy
- The same バニラのアイテム generation process
- SaveDataUpdate = true なら Purchase扱いでセーブ
Copying of valuables
- ValuablePresets から正しいPrefabをgetしてCopy
- マルチ対応
- It doesn't matter if it's a セーブデータとは
Removal of valuables
- マルチ时は Pho …
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- 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.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- 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.
Install these first, or the mod will not work: