@FisheyLP If you have to set up the spawn locations manually, then why not just have some way for the user to specify that the location is a...
@spyrootjenl That is the problem. Make sure that you are not trying to use indexes of arrays that are greater than the array's length. In this...
@HeartandSoul You cannot do what you want to do the way you have the current code written. You can't jump from the grace case to the start case...
You have to make sure that the class you are trying to retrieve (the driver) is accessible to the server. The error is telling you that the class...
@sudoman281 Try using YamlConfiguration#getConfigurationSection("locations").getKeys(false) in order to get the names for each of the locations....
@MooshViolet You want to create your own class which extends BukkitRunnable, then, in that class' run() method, put the logic you wan to run (the...
@Capby Look at the post above mine. You have to be careful when using nested for loops. A better way to do this would be to use a traditional for...
@ipodtouch0218 Thanks for correcting me. :)
@FisheyLP I didn't mean it was exactly what he wanted, but it does highlight areas that are being worked on, like in your image. :) Have you been...
@PentaCoding Any reason why this code has to run under a PlayerMoveEvent listener. This code is going to run A LOT when all you are doing is...
@Piesrgr8 You need to change your code so it checks that the world you are coming from is the creative world, since this event is thrown after you...
@MooshViolet What @Zombie_Striker said is correct. Your code is failing because you cannot compare a Material object to a PotionType object. To do...
If you want that, I suggest having a look at GriefPrevention. It had abilities akin to what you are seeking, and its open source, so you can have...
@LegitLanden After some thought, I feel the best way to achieve what you want is by cancelling the sound packet from the player (when they are...
@FisheyLP Ah cool.
@FisheyLP Have you had any success? I'd love to see this work. :)
@i3ick I don't believe so. As far as I know, you can only pull that off with a mod.
@LegitLanden You'd want to look through all entities in a certain range of the player that is eating (using player#getNearbyEntities). If the...
@MordorKing78 Or also store the pitch and yaw when you write locations to your config, so that when you read the location from the configuration,...
@MordorKing78 The issue is not that the XYZ coordinates don't match, since they are kept as doubles internally. Location#equals checks ALL...
Separate names with a comma.