I have changed the code from OfflinePlayer to string(had to change it anyway for my plugin), because as user above me have posted - CraftBukkit...
@DJSkepter Hmm, okay, that's so weird, because my listener is working nicely, the only problem is that it is throwing errors.. :o
Hey. I am having problem with Eclipse what is creating class files named as ClassName.class, ClassName$1.class etc in his \bin folder. Is there...
Yeah, I know, I think the timing is wrong, because if plugin starts then ofcourse everything is empty. ;) I am just wondering how I would get the...
I said it already..? IndexOutOfBoundsException error. getLobbyName.addAll(mapsSection); String lobbyNameToString =...
Hello, I am trying to create a map in onEnable() method (also, getting the world name from config), but it gives me IndexOutOfBoundsException...
@Konato_K @WarmakerT Yes, I renamed my world to World, so it is right. But what I forgot to copy is this line too: Location loc =...
Hello, I am having a problem with cancelling the event for placing/breaking a block if it is in a certain cube/area. Listener: if...
@Gamesareme Ok, I was testing for a longggg time, but I know now what is the problem at least: Scoreboard. Pretty much is it sending scoreboard to...
Yes, I am checking in a timer that is a player in cuboid area, I think this is making the lag, because it is calculating many things, but okay, I...
My server is just lagging with my minigame plugin sometimes, so I thought the timers are making lag and I would fix it with many small timers. I...
Hello. I was wondering what would be better: one big timer or just many small ones?
@nuclearmissile Sorry, but I can't understand that last sentence.. (I feel really stupid right now) // FIXED!
@nuclearmissile Didn't work, I did an debug too, but it "failed"..
I was thinking, how I would check when player is in certain cuboid area and I found this:...
@TGRHavoc Yep, I have tried the gameName2, and it is World. Oh my god, THANKS ALOT! These 0.5 messed up yeah.. :p
@Mysticate I debugged these cords and all of them was 0, but I have set X: 10, Y:0 and Z: 0.. (As you can see from the config what I posted.
Basically, I am trying to teleport player(s) to certain location when game starts.. But it doesn't seem to work.. I have trying to fix this ~1...
Fixed! I just added .getName() after getTeam(player): if (Team.getTeam(player).getName().equals("Red")) { //....
@mythbusterma I printed out the number of the teams, and there was 1 and 0, that is correct, I was on red team, so it was 1. But still, I think I...
Separate names with a comma.