player current inventory set title code example
Example: bukkit inventory set name
public static void setPlayerInventory(Player p) {
Inventory teamselector = Bukkit.createInventory(null, 9*1, "Teamselector"); //Teamselector will be the name of the inventory.
}