Technically, it would not take a whole lot to get rid of the stings.
All that is needed is to lock up all violence, or rebuild their neighborhood in a segregated area and forcing them to move there, or handing them my "amnesia", either exposing their weapon and intent, filming curbs where targets would linger, campaigning to hand in weapons for disassembly, building a stationary retallatory and automated weapon every 300 feet that takes down weapon offensive, building lasers or Teslacoils at every school entry and switching it on when you signate or brandish a weapon, claymoores, tripwires or pillage boxes with camping snipers on parole duty, conscripting militia, or build an electrical grid with spikes that engage in every area, toxins or nerve gas or formaldehyde capsules which would regulate death penalty on an attempt at non-reactive or hostile engagements, STUN weaponry like round ballistics, shock wire proponents with barbs, regulating a force, bringing troops in as conscripts under law, a retallatory policy which makes the risk outweigh the consequence, building sniper huts or camping towers and hiring hunters that verify their shots in a hunt to kill mode on any violence, UAVs like in warfare that are on a regular patrol duty with weapons recognition and identification, mandatory registration of any repeat offense or heavy offense, ID tag visible on violent offense, routine gunpowder contact screening on violent offenders, chopping off fingers of any new to be determined offender rendering them inable to operate a firearm, or optionally rather just binding their hands in paddings like extra soft padding, locator and deterent which 1st registers an offense tgen IDs the perpetrator contacts Law enforcement, and informs the perp that they have been ID'd and that Law enforcement is on their way, free subscriptions excl. batteries to have an operator on standby with a carried microphone device on volatile subjects (both offenders or potential victims), tag locators on clothing that makes vulnerable subjects pingable (and their location) -- also tampering alarm on wearable locator device, ping when not in supervised area (like doggy -- GPS), mobile phone opt-in automated surveillance, valuables IDs like certificates which are applied by a chemical stain ID of microdots, immediate trackers which locate clothing in the matrix, suitable strands of fibre which would look bright through scanners to pick up stranded subjects on rescues, bells around every area where targeted kidnapping victims can either ring the bell or gesture predefined hand signals after which stationary LEOs or enforcers or vigilantes are there within 15 seconds around accessible areas (alternatively mobilized), invisible laser or IR triggers in harder to reach areas that can be triggered after which camera is on the target victims, wide area surveillance for certain motions gestures that signal ER or trauma, Police, Fire dept., rescue etc., acoustic sensors for audio which register different kinds of shouting/yelling or register violent intent through scanners and e.g. machine learning rather specific behaviour, taking turns holding guard duty in your neighborhood, UAV areal surveillance, regular scanner gates in high-risk areas and chemical marking used for tracking identifiable gun subjects, chemical identifying coating which registers DNA and can't be washed off or cleaned off the weapon -- like registering spores or fungi processed from harvesting your skin, mandatory pickup on any types of ammunitions with a registered display of (any) area where there is signal (or mandatory surveillance inside areas with any occupants), UAV or rovers which can hide in plain sight which patrol every accessible area infrequent yet still being unobtrusive which gain access to (otherwise private) "hideouts" like "unlocked" access areas, areas which have chains/locks & get (anonymous) details.