public function onCommand(CommandSender $sender, Command $cmd, $label, array $args) I want to get this '$args' message. It's just a trivial thing,Will you tell me?(A little English is going wrong this time)
Can you explain a little, like what you want to do with it? You already have $args, assuming you registered your command correctly. If you want the first subcommand, you can use $args[0].
Do you mean combining all values of the $args array to a string? PHP: $string = implode(" ", $args); The first parameter is character(s) separating words in $args