This plugin empties loot containers that players leave partially looted, ensuring they despawn so new ones can spawn in their place.
Configuration
JSON:
{
"Version": "1.1.0",
"Emptying Trigger Mode": "Looted",
"Number Of Items To Trigger Emptying": 1,
"Delay Before Emptying Container Seconds": 30.0,
"Remove Items Instead Of Dropping": false
}
Emptying Trigger Mode
- Determines the trigger condition for clearing a container. UseRemaining
to base it on items left in the container orLooted
to base it on items taken.Number Of Items To Trigger Emptying
- The count threshold; if the number of items (remaining or looted, depending on the mode) meets this threshold, the container will be emptied.Delay Before Emptying Container Seconds
- The delay after a player stops looting before the container is cleared.Remove Items Instead Of Dropping
- When set totrue
, the remaining items are removed rather than dropped on the ground.