Command
ClearPlayerInventory
ASAClearPlayerInventory <playerID> <bClearInventory> <bClearSlotItems> <bClearEquippedItems>BC(B for parameters, C for description)
Clears a player's inventory, slot items and/or equipped items.
- Usage
- ClearPlayerInventory <playerID> <bClearInventory> <bClearSlotItems> <bClearEquippedItems>
- Access
- admin
- Defined on
- UShooterCheatManager
- Comes from
- ARK
- How to run
- In single player, type cheat ClearPlayerInventory <playerID> <bClearInventory> <bClearSlotItems> <bClearEquippedItems>. On a server, run enablecheats with the admin password once, then admincheat ClearPlayerInventory <playerID> <bClearInventory> <bClearSlotItems> <bClearEquippedItems>. Over RCON, send ClearPlayerInventory <playerID> <bClearInventory> <bClearSlotItems> <bClearEquippedItems> with no prefix.
- Over RCON
- A command sent over RCON can be up to 490 bytes, ASCII text only. The server takes one at a time, so wait for each reply before sending the next. I tested this on 7 October 2026.
Parameters
| Name | Takes | C++ type | Default |
|---|---|---|---|
| playerID | whole number | int32 | required |
| bClearInventory | true or false | bool | required |
| bClearSlotItems | true or false | bool | required |
| bClearEquippedItems | true or false | bool | required |
More values (3)
More values I could read from the files for this row. Some are left out: lists of records, Wildcard's own text, the engine's internal keys and a few values I haven't put on the page yet.
| Field | Value |
|---|---|
| Function flags | Final, Exec, Native, Public |
| Module | ShooterGameEditor-ShooterGame.dll |
| Needs admin | Yes |
Sources
- UShooterCheatManager::ClearPlayerInventory (UFUNCTION Exec)