Actually, my code throws a NullPointerException now: for (ProtectedRegion region :...
Hi, i have a problem with WorldGuard and it's API. When i'm doing this in a command: getWorldGuard().getRegionManager(world).getRegion(str[0]);...
Yep, there is nothing for do it. :'(
Thanks @Avygeil for help. I'll search more if i can cancel this boss bar.
@nverdier :( :( :( :( @mine-care I checked here, but almost everything are in letters, a, br, as, bv, bw etc. Is there something for "decrypt"...
Hi, i want to create a custom ender dragon, without boss bar, and i don't want to let it move. I think we can do it with NMS, but i really don't...
Hi, i'm trying to make a countdown, with messages like: "60 seconds before the game starts !" "30 seconds before the game starts !" "10 seconds...
Ah, okay.
Why ?
Actual code: public static Location getLowestDistance(Location source, Location[] locs) { Location shortest = locs[0]; for...
Thanks, i'll try this. EDIT: Error: Object cannot be cast to Location. (In the Bukkit console, not IDE) Actual code: public static...
I have a problem: how i transform this "for" for the list ? for (Location loc : locs) { if (loc.distanceSquared(source) <...
I do not know how to explain.. I have theses functions for convert locations to strings, and strings to locations: public static String...
It works now. Thanks for all! Oh, sorry i forgot something. How i can add more than 10 locations, using the configuration file ? Because i get...
Hi, i tried this: double[] locsDistances = { l1.distanceSquared(pLoc), l2.distanceSquared(pLoc), l3.distanceSquared(pLoc),...
I want to use several inns in a configuration file, use Location#distance(Location) isn't a problem, the problem is how to do this with severals...
Sorry for my bad english... Hi guys, i want to check if a inn is closer than the other, and teleport it after, but i don't know how to do...
Separate names with a comma.