Added a new function to get player ban data