Spawning Items

Discussion in 'Spigot Plugin Help' started by NexonKingdom, Mar 20, 2020.

  1. So I know that I need to have a task with a scheduler so every 600 ticks (30s). But how can I get it to give random items to everybody?
  2. Create ItemStack object set the object and its Metadata if you want to, then use for(Player p : Bukkit.getOnlinePlayers() and set/add the
    inventory item.