public void onPlayerJoin(final PlayerJoinEvent e) { Player p = e.getPlayer(); p.getWorld().dropItemNaturally(p.getLocation(), new ItemStack(Material.LEVER)); // drops a lever at his location.. }