Minecraft – How to clear dropped items with console command

minecraft-commandsminecraft-java-editionminecraft-tekkit

I'm running a small tekkit classic server with a few friends and I made an EMC farm that admittedly works too well. After turning off the server and coming back on the next day, it's horrendously laggy. I know it's the machine that's creating too many entities but it's so laggy I can hardly make it to the machine to break it and wait for the items to de-spawn. Unless I stop it, there will be no chance to turn off the machine. Is there any console command I should know about with the tekkit classic server commands, or what can I do? (P.S. There are more entities spawning than de-spawn so waiting it out won't work.)

Best Answer

If you are in 1.8+, you can also use vanilla commands:

/kill @e[type=Item,r=500]

r is the radius. @e is entity.