That will do the same you had, but this will print item id to the id of the config, to the config's place. So like.. If the first config happens to be 4151, a whip will show in that box.Code:if (cmd[0].equals("test")) { player.getInterfaceManager().sendInterface(1123); for (int index : 10000) { player.getPackets().sendItemOnIComponent(1123, index, index, 1); } return true; }
I don't recommend using this for anything other than debugging and testing...