No, this works for all player names, even those without any spaces at all. You just have to replace the variable $playerName.
Why do you need a sample code? You really just have to add quotation marks around the player name:
$playerName = "Steve 123";
$cmdString = "key...
I'd suggest looking into what Primus wrote, but if you insist on doing it your way, it is of course possible to solve this issue.
No you can not. A port can only be occupied by a single instance.
Given the number of seconds left, you can use division and rounding to convert to a whole amount in a larger unit. After that the modulo operator...
Perhaps my RestrictedSkins plugin could help you out:
It can disallow custom skin geometry sent by the...
You made a typo.
It should be use pocketmine\plugin\PluginBase; instead of use pockermine\plugin\PluginBase;
-> You mixed up the t with an r in...
Thanks, today's actually the anniversary of my server. ;)
Older than me.
Separate names with a comma.