Admin permissions - superadmin


Is there a way to stop an option to add yourself as a superadmin? When I first joined my RP server as first player I was able to add myself as an admin from the chat window even know I was not added to the cfg file. I have used the commend called setgroup 1 superadmin. Anyone can use this command but I don’t want it to be open to everyone, appreciate your help.

Most frameworks grant admin permissions to the first player to connect. What framework are you using?