New answers tagged

0

I think really your question seems to be one of protocol rather than language. You've ruled out HTTP, but that doesn't necassarilly rule out PHP, as you can implement websockets in that as well as other languages. The same is also true of sockest, so if you know PHP my advice would be to stay with that language server side unless there's a compelling reason ...


0

Without the exact error I can only assume what the problem is. Both Player#getItemInHand(), ItemStack#getItemMeta() and ItemMeta#getDisplaName() can return null and thus can throw a nullpointer exception. You need to check if any of these is null before using them.


0

It's hard to say without some more information, but we can certainly try and rule out some obvious candidates first. 1) Are you seeing your Debug.log statements print out to the console? If not, then the code just isn't executing because of an error/exception on a previous line. 2) If it is sending the packets, and you're not seeing them, then maybe its ...



Top 50 recent answers are included