Ok i think your question is "how to send an interface containing 'custom data'"? If im wrong sorry, but to send an interface with a command with Matrix (718) probs will works with others but ye....u use this
Code:
player.getInterfaceManager().sendInterface(####);
TO apply data in that interface:
Code:
player.getPackets().sendIComponentText(1245, "what u want it to say....");
If you want it to contain continous amount of data such as for players:
Code:
player.getInterfaceManager().sendInterface(1245);
int number = 0;
for (int i = 0; i < 100; i++) {
player.getPackets().sendIComponentText(1245, i, "");
}
for(Player p5 : World.getPlayers()) {
if(p5 == null)
continue;
number++;
String titles = "";
if (player.getRights() == 0 && !p5.isExtremeDonator() && !p5.isDonator()) {
titles = "[Player]";
}
Hopefully that answer's your question