how to log in as an administrator for commands to work?

how to log in as an administrator for commands to work?

Either op <your name> via console or use a permission plugin like LuckPerms.
(Plus wrong topic :eyes:)