-
Total de itens
81 -
Registro em
-
Última visita
Tudo que CFelipe postou
-
CODIGO: http://prnt.sc/akczp9 ERRO: http://prnt.sc/akd023 QUERO ADICIONAR UM TEXTO EX: "Seja Bem-Vindo DotPvP Entre em nosso Site" Eu quero que somente nos que estão com a underline virem comando
-
Ola eu queria saber se alguém tem um tutorial realmente bom de JSON, Pode ser em ingles ou qualquer outra língua! contanto que seja bom.
-
To criando um pl, ai eu preciso do codigo que permita ver o saldo do player no banco Eu já tentei este codigo mais não funciona --- Main.econ.getBalance(p.getName()));
-
Meu medo foi: Tava eu e uns moleque (3) moleques alem de min, agente tava andando na rua e uns moleque começaram a encarar agente depois eles começaram a seguir a gente , no caso rolou altas porradas, eu senti medo no começo quando os moleque chamo a gente pra porrada. depois eu taquei umas porradas no moleque lá fiquei me sentindo feliz sera que eu sou um psicopata ou qualquer coisa ligado assim; Os moleque que chamo agente eram uns (3), tudo com roupa de escola publica, tudo neguin...
-
O meu nick e 7Felipe, Por que quando eu jogava PB . E todo mundo do meu clan tinha 7 no nome;
-
LINDU AINDA MAIS COM ESSE SHADOW MODS ,_,
-
tem skype?
-
dd @EventHandler public void interact(PlayerInteractEvent e){ Action eventAction = e.getAction(); final Player player = e.getPlayer(); if (pyro.contains(player.getName())) { if (eventAction == Action.RIGHT_CLICK_AIR || eventAction == Action.RIGHT_CLICK_BLOCK){ if (player.getItemInHand().getType().equals(Material.STONE_HOE)) if ((!dly.contains(player))) { dly.add(player); player.launchProjectile(Fireball.class).setVelocity(player.getLocation().getDirection().multiply(0.5)); Bukkit.getScheduler().scheduleSyncDelayedTask((Plugin) this, new Runnable() { public void run() { dly.remove(player); } }, Principal.cf.getConfig().getInt("Delay") * 20L); } } else { player.sendMessage(Principal.cf.getConfig().getString("MensagemDelay")); } } } } vlw tiu ai teste
-
NAUM SEI ORGANIZAR MALS AJUDA AI OU SKYPE
-
NO CASO ESSA NÃO E A MINHA '-' @EventHandler public void interact(PlayerInteractEvent e){ Action eventAction = e.getAction(); final Player player = e.getPlayer(); if (pyro.contains(player.getName())) { if (eventAction == Action.RIGHT_CLICK_AIR || eventAction == Action.RIGHT_CLICK_BLOCK){ if (player.getItemInHand().getType().equals(Material.STONE_HOE)) if ((!dly.contains(player))) { dly.add(player); player.launchProjectile(Fireball.class).setVelocity(player.getLocation().getDirection().multiply(0.5)); Bukkit.getScheduler().scheduleSyncDelayedTask((Plugin) this, new Runnable() { public void run() { dly.remove(player); } }, Principal.cf.getConfig().getInt("Delay") * 20L); } } else { player.sendMessage(Principal.cf.getConfig().getString("MensagemDelay")); } } } }
-
ME ADICIONA NO SKYPE RAPIDNHO NEW.NERDY ,_,
-
NO CASO O EO CODIGO QUE EU MANDEI SQ COM O BG DO [.CODE] CERTO? '-' ME ENSINA A FAZER ISSO ._.
-
USA ESTE CODIGO TIU '-' http://prnt.sc/a6c7w9 @EventHandler public void interact(PlayerInteractEvent e){ Action eventAction = e.getAction(); final Player player = e.getPlayer(); if (pyro.contains(player.getName())) { if (eventAction == Action.RIGHT_CLICK_AIR || eventAction == Action.RIGHT_CLICK_BLOCK){ if (player.getItemInHand().getType().equals(Material.STONE_HOE)) if ((!dly.contains(player))) { dly.add(player); player.launchProjectile(Fireball.class).setVelocity(player.getLocation().getDirection().multiply(0.5)); Bukkit.getScheduler().scheduleSyncDelayedTask((Plugin) this, new Runnable() { public void run() { dly.remove(player); } }, Principal.cf.getConfig().getInt("Delay") * 20L); } } else { player.sendMessage(Principal.cf.getConfig().getString("MensagemDelay")); } } } }
-
me ensina a usar esse [.code]?
-
TA FUI VER NO ECLIPSE E VI ISSO PESSO DESCULPA ve se e isso; @EventHandler public void interact(PlayerInteractEvent e){ Action eventAction = e.getAction(); final Player player = e.getPlayer(); if (pyro.contains(player.getName())) { if (eventAction == Action.RIGHT_CLICK_AIR || eventAction == Action.RIGHT_CLICK_BLOCK){ if (player.getItemInHand().getType().equals(Material.STONE_HOE)) if ((!dly.contains(player))) { dly.add(player); player.launchProjectile(Fireball.class).setVelocity(player.getLocation().getDirection().multiply(0.5)); Bukkit.getScheduler().scheduleSyncDelayedTask((Plugin) this, new Runnable() { public void run() { dly.remove(player); } }, Principal.cf.getConfig().getInt("Delay") * 20L); } } else { player.sendMessage(Principal.cf.getConfig().getString("MensagemDelay")); } } } } [
-
meu amigo ele esta colocando o codigo depois do uso do evento '-'
-
O erro e que o delay não esta funcionando o codigo que eu mandei agora deveria funcionar
-
@EventHandler public void interact(PlayerInteractEvent e){ Action eventAction = e.getAction(); final Player player = e.getPlayer(); if (pyro.contains(player.getName())) { if (eventAction == Action.RIGHT_CLICK_AIR || eventAction == Action.RIGHT_CLICK_BLOCK){ if (player.getItemInHand().getType().equals(Material.STONE_HOE)) if (!dly.contains(player)) { dly.add(player);{ player.launchProjectile(Fireball.class).setVelocity(player.getLocation().getDirection().multiply(0.5)); Bukkit.getScheduler().scheduleSyncDelayedTask((Plugin) this, new Runnable() { public void run() { dly.remove(player); } }, Principal.cf.getConfig().getInt("Delay") * 20L); }else{ player.sendMessage(Principal.cf.getConfig().getString("MensagemDelay")); } } } } } }
-
Mals não sei como funciona esse forum
-
PRONTO ACHO QUE AGORA VAI! MOTIVO - VOCÊ BOTOU O DELAY DEPOIS DE FAZER O EVENTO - CASO ESTE NÃO FUNCIONE BOTE ELE JUNTO COM O IF(2) @EventHandler public void interact(PlayerInteractEvent e){ Action eventAction = e.getAction(); final Player player = e.getPlayer(); if (pyro.contains(player.getName())) { if (eventAction == Action.RIGHT_CLICK_AIR || eventAction == Action.RIGHT_CLICK_BLOCK){ if (player.getItemInHand().getType().equals(Material.STONE_HOE)) //IF2 if (!dly.contains(player)) { //NOVO BG ADICIONADO dly.add(player);{ player.launchProjectile(Fireball.class).setVelocity(player.getLocation().getDirection().multiply(0.5)); Bukkit.getScheduler().scheduleSyncDelayedTask((Plugin) this, new Runnable() { public void run() { dly.remove(player); } }, Principal.cf.getConfig().getInt("Delay") * 20L); }else{ player.sendMessage(Principal.cf.getConfig().getString("MensagemDelay")); } } } } } }
-
tenta isso desculpe não li oque você queria então esso codigo so fara o delay funcionar eu vo arrumar aqui. caso funcione responda @EventHandler public void interact(PlayerInteractEvent e){ Action eventAction = e.getAction(); final Player player = e.getPlayer(); if (pyro.contains(player.getName())) { if (eventAction == Action.RIGHT_CLICK_AIR || eventAction == Action.RIGHT_CLICK_BLOCK){ if (player.getItemInHand().getType().equals(Material.STONE_HOE)){ player.launchProjectile(Fireball.class).setVelocity(player.getLocation().getDirection().multiply(0.5)); if (!dly.contains(player)) { dly.add(player); Bukkit.getScheduler().scheduleSyncDelayedTask(Main.plugin, new Runnable() { public void run() { dly.remove(p); } }, Principal.cf.getConfig().getInt("Delay") * 10L); } else { player.sendMessage(Principal.cf.getConfig().getString("MensagemDelay")); } } } } } } o meu ta assim Bukkit.getScheduler().scheduleSyncDelayedTask(Main.plugin, new Runnable() { public void run() { dly.remove(p); } }, 3 * 10L); } else { p.sendMessage(PREFIXF + "§7§oO comando esta em delay" ); } } } } return false; } }
-
Ola a todos Aqui tamo vendendo mapas Baratos e Bonitos Sinceramente ta muito em conta! Os mapas são feitos rápidos e a compra tem segurança. Essas prints são referencias da minha construção eu não vou vender estes! LEIA PF Ola vim avisar que esses mapas são os prontos; tem muitos mais que não estão completos. PRINTS: http://prnt.sc/a540h4
-
TO LIGADO NESSAS INDIRETA AI MERMÃO...