Removed flashlights still exist but can't be turned on

I used this plugin to remove thousands of flashlight entities due to the Kits bug, however some remain but they cant be turned on

Do you mean players cannot turn on their flashlights?
5b6ed4c9ac8e4.jpg misticos
Do you mean players cannot turn on their flashlights?

Yes this is what i mean

That is because you delete the flashlights as you have just said. Restart will fix that. Instead of deleting them you should fix or ask for a fix for Kits.
The same goes for holosights they dont work anymore
5b6ed4c9ac8e4.jpg misticos
That is because you delete the flashlights as you have just said. Restart will fix that. Instead of deleting them you should fix or ask for a fix for Kits.

I only removed them outside TC range

Even if they are somewhere in a box that is inside a TC range it does not mean their entity is inside. Make sure you set inside to false as well. You should not use this plugin like that tho, just a temporary fix that also causes issues.
5b6ed4c9ac8e4.jpg misticos
Even if they are somewhere in a box that is inside a TC range it does not mean their entity is inside. Make sure you set inside to false as well. You should not use this plugin like that tho, just a temporary fix that also causes issues.

Yeah I know, the problem with alot of non-existing weapon attachments is caused by the Kits plugin. But no one fixes that one so I tried this to remove the 20k of weapon flashlights my server had. It looked like it kept the flashlights in the boxes inside bases etc so I thought it was working, but after an hour people started to complain that their flashlights wouldnt turn on.

Just restart your server after doing that. Also, possible option:
Daily restart with a "cleanup" in a few seconds before the restart.