StedyOne try checking if the Y of tp.getTo() is <5, and if it is, use tp.getPlayer().teleport(<location you want the player to teleport to>); that...
If you want others to code it for you, why don't you just make a plugin in request? :P
Idk can you parse an UUID to an int?
why would you need an unique entity is using packets? What are you trying to do? And why can't you just use a list storing the ints you already used?
Why don't you use UUID? I believe you can get it with .getUniqueEntityID()
monkeymanboy ComputerTurtle That's not really the way to check if a player is on a pressure plate, it would be laggy and irreliable. Use a...
I assume that with GUI you mean like an inventory GUI? As used in here?
I would use different files for each player. I agree witj Jnorr44 that the performance difference is small, but using seperate files gives you a...
There already are a lot of plugins that do this, e.g. http://dev.bukkit.org/bukkit-plugins/disablemobsbukkit/ But if you really want to code...
And what's the problem?
But when the plugin.yml was invalid, shouldn't he get an error?
Maybe a little improvement? (nothing big) @Override public boolean onCommand(CommandSender sender, Command cmd, String cl, String[]...
That depends on if you get an error or not :p But if I were you, I would use: public boolean onCommand(CommandSender sender, Command...
;) Sorry TheUpdater, but your code is just really sloppy.... No offense, but you'll really need to know java before asking this kind of things on...
I see... well, try replacing || with && And why are you using this? if(args.length == 0 || args[0].equalsIgnoreCase("RTD")){...
Can I see the full error? Oh and make sure you've also changed this if(args.length == 0 || args[0].equalsIgnoreCase("RTD")){ into this...
TheUpdater Be aware that when you use arg[1] you actually use the second argument. Use this: if(args.length == 2 ||...
Is it an ArrayIndexOutOfBoundsException? Btw. be aware that when you use arg[1] you actually refer to args[2]. Use args[0]
agree
chasechocolate why is that necessary to fix the problem?
Separate names with a comma.