What if you made a <Player, Player> HashMap? You could record the player that sent the message, and then record the player that the message was...
@EventHandler public void horseOnStone(EntityEvent e) { EntityType entitytype = e.getEntity().getEntityType(); Entity entity = e.getEntity(); if...
Thank you very much for the tip, I will be sure to try it out.
Hello everyone. I am currently working on a plugin that prevents bots or alts being on at the same time, and kicking a player if someone else with...
I did, but I just double checked and found player.getAddress(). Thanks!
Hello everyone! I have been looking everywhere, yet I haven't been able to find a way to do this. I am making a plugin that involves fetching an...
I already know how to play the disc sounds, but the thing is, it would start the disc over every time if I did that.
I would check if the player using /r had any recent messages directed toward him, and if so, get the username that sent it. Then just make the...
Hey guys, I am working on an update for my plugin, and I am working on adding a radio type thing to it. I already set up the part where they type...
I believe you need to extend JavaPlugin.
Do the badges have certain item ID's?
I am not a significantly experienced developer, but this would be a pain in the butt make I believe. I don't think changing the velocity for the...
I will consider doing this, although I will need some more information. Would the badges be the only thing that you don't want to be movable? Is...
Hello everyone. I am working on a plugin that will display the contents of a kit in a GUI, but I was wondering if anyone knew of a way that I...
I'm really new to coding, and I wasn't sure how I would be able to do that.
Hello there, everyone. I am working on making a command that disabled the chat. When the command to disable the chat is sent, it creates a...
Thank you VERY much! That completely fixed the problem. :) Thanks for the help!
Hello everyone. I am currently working on a ChatControl plugin. Right now, I am working on a command that simply clears that chat. When I say...
Thank you sooo much!
Hey there, I am working on an update for my plugin called "Simple Horse". Basically, when you type "/horse" it spawns you on a horse, giving you...
Separate names with a comma.