Reading the process for enabling custom badges, I think that it’s worth discussing the idea of having a badge editor that doesn’t require SQL to manage in the first place. Since disabling SQL editing, badges are very decorative in the admin panel with no obvious note that editing them is possible in the first place.
In XenForo, you can create custom trophies and setup triggers like this:
I think it should be apparent and obvious that this isn’t the most flexible system in the world, but it does provide a level of individuality right out of the box for a forum, without exposing SQL to administrators.
I don’t know how this data is modeled internally, and I don’t think it’s the easiest to implement, but it would at least provide some replacement functionality for the SQL trigger section that badges currently have (albeit, hidden).