Well, that often doesnt work if you have essentailsX installed into your server, this will send a invalid command, so you would need to do; /execute run kill @e[type=item]
Mind you, this will do absoloute vannila commands, with even means you can do /reload, wich you should not do, minehut disabled it for the reason ok soo yea cool stuff :3