15.01.2015, 17:44
Not really, a foreach loop takes around 20 ms to complete. This means you can run 50 foreach loops per second without any problems. You should add some kind of anti-spam though, it's useful not only to protect server resources, but also to deny any kind of spam towards a player (maybe you have commands that send messages to players).