there's no method like getUUID() What. player.getUniqueID()
String[] words = event.getMessage().split(" "); for(int i = 0; i < words.length; i++){ if(words[i].equalsIgnoreCase("tp") && i !=...
Uh, no? == and equals are totally different, do you even understand how java works? on topic, try this. @EventHandler public void...
I's because you're using.equals to compare type, you need == if(event.getGetClickedBlock().getType() == Material.STONE){
Kassestral didn't typecheck before casting in two of his posts Necrodoom I'd rather see a correct copypaste than someone with a horrible mess of...
First of all, sender doesn't need to be a player to send a message, second of all, half of you guys are suggesting just casting sender to player,...
use localhost.
https://forums.bukkit.org/threads/tutorial-create-a-inventory-menu.173571/
Listen for a PlayerInteractEvent. something like this (note this is psuedocode and may have errors :P ) @EventHandler public void...
You'd want to use maven to shade them in.
Retherz_, that method is a bad idea, use getServer().getPlayer(), that will do what you're looking for.
it would also need to be if(!player.hasPlayedBefore()){ otherwise it would give them the gift every time they join
if (online.getGameMode(GameMode.ADVENTURE).length == 1) { wat. for(Player online : getServer().getOnlinePlayers()){ List<Player> survivors =...
Separate names with a comma.