Mark this thread as solved if your problem has been solved
This will probably work. If the player is looking at an entity, it should be able to be found like this: public final Entity getLookingAt(final...
instead of using EntityDeathEvent and checking for an instance of a Player, you can just use PlayerDeathEvent
Good point, about there being only 1 argument. Your assumption about nothing happening is correct.
This is what @bwfcwalshy is getting at with using a StringBuilderif (cmd.equalsIgnoreCase("shoutout") && sender instanceof Player) { final...
You should now mark this as solved, considering that it is.
what the heck did you do to this simple question
Well for starters, I think you should change your registerConfig() method to look like this: private final void registerConfig() {...
I don't know if this helps or not, but the ServerListPingEvent has a .setMotd() method, and it has the InetAddress that is connecting
lol why is the args in onCommand defined as a 2 dimensional array? it should be String[] args not String[] args[]
Your plugin.yml might be indented wrong, it seems to not like tab characters, and also; why is the command description on 2 lines? It should look...
oh ps this is just a tip, when you invoke the .toString() on a chatcolor, it returns ยง + the color code, which is the same as \u00a7 + the color...
Here you go, wise guy http://stackoverflow.com/questions/1532461/stringbuilder-vs-string-concatenation-in-tostring-in-java read the first answer
actually using the .toString() method and using the final keyword both save the compiler time and dont need to call it itself. Using a string...
This might work. public final class Report { private static final Hashtable<String, Report> reports; private final String player,...
Um that's not true at all. You can use for loops on arrays. And also the ChatColor.toString() method returns the color code for the color, not...
Hi guys I'm making a plugin and it includes mounts. I've gotten the mounts to work/spawn just fine, the only problem I have is with the movement....
Hi! I'm making sort of an RPG plugin for my Bukkit server, and I'm using the PlayerMoveEvent to send titles to players for when they enter...
public class KryptoEconomyPlayerMenu { static HashMap<String, Inventory> playerMenuMapMain = new HashMap<String, Inventory>(); public void...
This is my code: public static void mount(Player p) { Player player = p; String playerName = player.getName(); if...
Separate names with a comma.