My mind just exploded, so take my suggestions! You could use anti-afk like system. like, if your outside, you'll take damage after 1 minute, but...
Separate names with a comma.