Greetings, I am working on a plugin (public), and a little stuck with an issue. My issue: I am unsure, that how can I access the command through the configs.yml, for example, if the person types in /kill in the configs.yml, the specific command will be used. My concept. PHP: if($cmd[0] === $this->configs['command']){ My aim is that the config user can add multiple commands into the configs. Any help appreciated
$this->getServer()->dispatchCommand($sender, $this->getConfig()->getNested("path.to.your.config.value"))