Repository navigation
Empty Inventory v2.0.0
The Empty Inventory v2.0.0 release uses scripts to detect if a player has nothing in their inventory and assigns the player a score. You can then run your own commands based on the player's score.
For example, you can give players who have nothing in their inventory an effect, like strength. This example command would be put into a repeating command block, set to unconditional, always active in a tickingarea.
effect @a[scores={detect:empty=1}] strength 1 0 true