Wow, Bukkit made an update before I knew I needed one XD. Good job as always doods!
Ah good, i was worried i wouldn't be able to update to 1.6.2 tonight. Great work!
Create a simple array list of strings, then if they aren't in the list, add them to it, and setFlying to true. Then if they are in the list,...
oh yeah, im an idiot. Make sure to throw a null check when getting the string from the config, then check if it equals true
Inside. It works as a regular if statement, so the code would look like this: @EventHandler public void onGhastDeath(EntityDeathEvent event) {...
If that is your only class then it will never work, you need a main class that extends JavaPlugin, with an onEnable() and onDisable(), and you...
yeah, I just learned code that way, but i also don't add in the annoying usage message in the plugin.yml, I prefer to tell them manually.
if(args.length == 0) { //Tell them they need more arguments return false; } else if(args.length == 1) { //Do the code here return true; } else {...
Glad it works for you :D
Just an observation, but if(helmet == Material.LEATHER_HELMET)if(chestplate == Material.LEATHER_CHESTPLATE)if(leggings ==...
I've had similar problems with listeners that access a config before. If its an NPE then you just need to initialize your config in your listener.
oh, sorry. i would go ahead and add a solved tag to this thread then.
Are you trying to change the chat color? Or the prefix color? To change the prefix just use your permissions plugin, but if you want to...
Sorry to jump in on a random topic, but i think i see whats wrong with it. I believe you need to add a constructor to your listener class, so you...
I cant seem to get my plugin to alert the user when they use too many or too little arguments. Here is my code: import...
Separate names with a comma.