i want to create a menu that shows every player thats been on the server either offline or online and each player has their own slot and their head shows, when you click the player head it bans them but before it bans them they let you choose the reason for the ban and when you choose the reason it would for example issue this command /ban (player) (reason) if thats even possible.
for my 2nd question can we add an item in players inventory and when they right click it, it opens the menu above??
please help me create this if possible cuz i have no idea on how to make one.
