So I have a path called game_bans, and I want it to store the game bans by the user id, not the auto generated ID.
I’d like for it to save like this;
But the way it works is;

>Solution :
Use ref and set.
I don’t know your code, but something like:
database.ref('/game_bans/' + bannedUserId).set({moderator: ... });