/
This is a simple datapack to clear all dropped items every 5 minutes. Before clearing the items, player will be given a warning in chat and a countdown in the action bar.
/function cleardrops:clear: Clear dropped items immediatly
/function cleardrops:loop: Restart the loop in case something messes it up
/function cleardrops:disable: Temporarily disable the loop

Simple datapack to clear all dropped items every 5 minutes