Are you sure you have the right skull data? Prehaps try printing out the data value in the chat when the block is clicked just so you can check if...
Just search on Youtube :D I'm sure someone has a nice tutorial on there
Don't quite understand what exactly you want to find out. But if you are needing to do permissions so other plugins can function with these ranks,...
What's the actual error? What does it say when you hover over the red line?
for(int i = 1; i < split.length; i ++) { String value = split[i]; }
Hello all, thankyou for taking your time to read this, I really appreciate it :D Anyway, firstly I'd like to apoligise if I have posted this on...
I believe each skull block has a different data value? So you can use this: if(block.getData() == (byte) <whatever> && arraylist.contains(player))...
Use a for loop to loop through the rest of the values??
I think rather than cancelling the event, you can just open the inventory a tick after the player interacted with the block. For example: private...
Can't really see any issues in the code. Have you checked that the method is actually firing?
Easy solution :D player.launchProjectile(Fireball.class); That would launch the fireball in the direction the player is currently facing
@Lolmewn Thanks for the reply. But what do you mean by not using Bukkit's main thread? Are you suggestiong starting a new thread in the onEnable...
@1Rogue But like I said, that freezes the server for about 5 seconds... If the other players are in the middle of a game it's gonna be really annoying
So I have just recently learnt MySQL but I am trying to find the best way to pull data from the MySQL database. For example, currently I laod all...
Oooo, let me try that. Thanks
Separate names with a comma.