You forgot a semicolon after: Code: use pocketmine\event\player\PlayerJoinEvent You can't handle event if you don't register your plugin as Listener...
One of these guys , had me add PHP: namespace: xhfx/join\Main Ik tht just looked wrong , Correct Path PHP: namespace: xhfx/join/Main