You might want to test that again. /focus playername, just as the OP had typed, is invalid because playername is not treated as a target assignment.
Valid examples of selecting a target and setting the target as focus:
orCode:/focus [@playername]
orCode:/focus [target=playername]
Invalid exampleCode:/target playername /focus
Code:/focus playername
Connect With Us