Command: Player can't use own command

A

AppPhil

Guest
#1
Hey there,

I've created a new command and registered it at the $commandMap. In the __construct function of the command (I created a new Class for the command and that extends Command) I set the permission like this:
PHP:
$this->setPermission("bw.command.setjoinsign");
Now I want to know how I can allow players to use this command.