@GodzillaFlame42 Change the event to PlayerLoginEvent Check if the player is banned Set the result to KICK_BANNED...
https://bukkit.org/threads/pasting-loading-schematics.87129/ Also make sure you go the last page of the comments and read the comment I posted it...
That will return all the players in that world. Do this to get the player count. Bukkit.getServer().getWorld("hi").getPlayers().size();
@xKing_MC In your code you never cancel the Runnable. You might want to cancel it so it doesn't keep running.
Assuming you're trying to get how many players are on the server. Use .size not .length Damn you beat me to it lmao @Zombie_Striker
I'll try to explain this as easy as i can. Create a SavedBlocks file Create command /saveblock Once player does command add them to an arraylist...
First off why do you have 2 InventoryClickEvents? Put them both in the same event. Second use your methods.... Third on your first...
For everyone having trouble loading the schematic file with this error java.util.zip.ZipException: Not in GZIP format You need to put your...
@mcdorli "ASSUMING" He may have a method that can call his methods from different classes but like i said i don't have the full code. I was...
@mcdorli I was assuming he was calling methods using statics from a different class because i saw this public static void openBuyItem(Player...
Here are some methods you could try. You could add a player to an arraylist. If the player is in the arraylist when they click in a specific...
@cats000cats Can you post some code so we see what you have.
@RTGPrison Can you post the whole class please
@RTGPrison Probably because you're sending the scoreboard twice. scoreboard.send(DP); scoreboard.send(player);
@darthteddy1 Instead of adding the item set the item. replace this getGUI(player).addItem(newItem); with this getGUI(player).setItem(int,...
@darthteddy1 On command what is suppose to do? And what is it doing when you do the command?
@SeamusMcFreak Get the pitch and yaw as a double then use this. It might work I'm not sure. Location loc = new Location(world, x, y, z,...
Check to see if the player is OP if(player.isOp()) {
There is no way to detect what kind of client that player is using. Hackers will be hackers.
I just tired this in my code and i'm not getting any errors in eclipse... public boolean onCommand(CommandSender sender, Command cmd, String...
Separate names with a comma.