I’m trying to create a CraftBukkit (a Minecraft server implementation) plugin, which would allow people to see chat from the game on an XAMPP server and vice-versa.
I’ve got the code, downloaded latest smack, downloaded xpp3 from http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions and compiled everything together.
This code, however, generates an error:
chatRoom.join(“nickname”, “password”, history, SmackConfiguration.getPacketReplyTimeout());
for (Occupant occupant : chatRoom.getParticipants()) {
// error occures at the next line
participantNicks.put(occupant.getJid(), occupant.getNick());
}
This question implies something about META-INF in the Jar file presumably, but that’s not my case here.
Any help would be appreciated