So the best way to handle it would be to force a check from stealthed characters every 6-10 seconds, compare against a set DC for all enemies, and cause failure if you are lower than this DC and within sight or hearing range (which could be the cone/a circle around the character, maybe with a disadvantage interval and an advantage interval as well if that's not too hard to program). That way you aren't rolling 20 times or something, but you do have to actually beat multiple enemies perception DCs.
In other words, using actual 5e rules.
Oh, also, the way to fix combat stealth right now is to add readied reaction and fix the reaction system, so that if a character tries to pop around a wall and take a shot against 30 goblins the goblins pin them to it with a wall of arrows.
Last edited by SilverSaint; 20/10/20 07:04 PM.