Ir para conteúdo

CFelipe

Membros
  • Total de itens

    81
  • Registro em

  • Última visita

Tudo que CFelipe postou

  1. CFelipe

    [ TextComponent ] Error?

    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
  2. CFelipe

    [AJUDA] JSON

    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.
  3. CFelipe

    [Vault]

    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()));
  4. CFelipe

    Medo

    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...
  5. O meu nick e 7Felipe, Por que quando eu jogava PB . E todo mundo do meu clan tinha 7 no nome;
  6. CFelipe

    LOBBY DO FUNCRAFT!

    LINDU AINDA MAIS COM ESSE SHADOW MODS ,_,
  7. 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
  8. NAUM SEI ORGANIZAR MALS AJUDA AI OU SKYPE
  9. 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")); } } } }
  10. ME ADICIONA NO SKYPE RAPIDNHO NEW.NERDY ,_,
  11. NO CASO O EO CODIGO QUE EU MANDEI SQ COM O BG DO [.CODE] CERTO? '-' ME ENSINA A FAZER ISSO ._.
  12. 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")); } } } }
  13. me ensina a usar esse [.code]?
  14. 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")); } } } } [
  15. meu amigo ele esta colocando o codigo depois do uso do evento '-'
  16. O erro e que o delay não esta funcionando o codigo que eu mandei agora deveria funcionar
  17. @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")); } } } } } }
  18. Mals não sei como funciona esse forum
  19. 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")); } } } } } }
  20. 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; } }
  21. CFelipe

    Meu spawn linduu <3

    FODINHA 10/10
  22. 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
  23. CFelipe

    Uma dica por favor [BUILD]

    TO LIGADO NESSAS INDIRETA AI MERMÃO...
×
×
  • Criar Novo...