Solved <---- lower | How to give all players on the server item

Discussion in 'Spigot Plugin Development' started by Trix28, Jun 23, 2021.

  1. I want to give all players on the server some items, but I don't know how to do it
    Does anybody help me
    excuse my english
     
  2. Code (Java):
    for (Player player : Bukkit.getPlayers()) {
        player.getInventory().addItem(...);
    }