Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.
every 5 minutes:
broadcast "&4&lClearLag Alert! &f&l>> &fDropped entities will be cleared in 30 seconds!"
wait 25 seconds
broadcast "&4&lClearLag Alert! &f&l>> &fDropped entities will be cleared in 5 seconds!"
wait 5 seconds
loop all entities:
loop-entity is a dropped item:
clear loop-entity
broadcast "&a&lClearLag &f&l>> &rDropped items cleared!"
command /lagclear [<text>]:
permission: gumble.lagclear
trigger:
if arg-1 is "force":
loop all entities:
loop-entity is a dropped item:
clear loop-entity
broadcast "&a&lClearLag &f&l>> &rDropped items cleared (Forced by %player%)"
else:
if arg-1 is "hostile":
loop all entities:
loop-entity is a hostile mob:
clear loop-entity
broadcast "&a&lClearLag &f&l>> &rHostile mobs cleared (Forced by %player%)"