This Rust plugin ensures that when your inventory is full, any extra items from gathering, looting, or picking up dropped items are automatically sent to your backpack instead of being dropped on the ground.
Permissions
overflowtobackpack.use
- Grants players the ability to automatically send overflow items to their backpack when their inventory is full.
Commands
/overflow
- Players can use this to turn the overflow feature on or off. Enabled by default for anyone with permission. The command name can be changed in the config.
Configuration
JSON:
{
"Version": "1.3.0",
"Enable Gathered Resources": true,
"Enable Collectibles": true,
"Enable Dropped Items": true,
"Enable Looted Items": true,
"Send Game Tip Notification": true,
"Overflow Toggle Chat Command": "overflow"
}
Enable Gathered Resources
- Allows harvested resources (trees, ores, animals) to overflow into the backpack when inventory is full.Enable Collectibles
- Allows picked-up collectibles (hemp, mushrooms, plants) to overflow into the backpack when inventory is full.Enable Dropped Items
- Allows items picked up from the ground (loot from players, dropped items) to overflow into the backpack when inventory is full.Enable Looted Items
- Allows items taken from containers (loot crates, chests) to overflow into the backpack when inventory is full.Send Game Tip Notification
- Controls whether a game tip notification is shown when items overflow into the backpack.Overflow Toggle Chat Command
- Defines the chat command players use to toggle the overflow behavior for themselves. Set this to any command name you like.
Stored Data
JSON:
{
"Overflow Enabled": {
"76561198000000001": true,
"76561198000000002": false,
}
}
Overflow Enabled
- A dictionary storing whether overflow is enabled or disabled for each player by their Steam id.
Localization
JSON:
{
"NoPermission": "You do not have permission to use this command.",
"BackpackReceived": "Your inventory is full! {0} {1} has been moved to your backpack.",
"ToggleOn": "Overflow to backpack is now enabled.",
"ToggleOff": "Overflow to backpack is now disabled."
}