Hey, to have your server's Gamemode be put into effect, you have to tick the box that is labeled "Force Gamemode" in the settings section.
When you are trying to op yourself through the console make sure it is formatted like this:
Java: /op (username)
Bedrock: /op *(username)