As the title says, is there a way to do this? To see if a player has joined before is: PHP: if ($player->hasPlayedBefore() == true) { but yeah I wanna check if the player has been banned before, not sure how
PocketMine does not track ban history. You have to maintain your own ban log by listening to ban events (there is no ban event, so you have to rely on PlayerCommandPreprocessEvent/ServerCommandEvent or check ban status every PlayerQuitEvent/PlayerPreLoginEvent or synchronize the ban list periodically).