Ir para conteúdo

RalfGamerBR

Membros
  • Total de itens

    171
  • Registro em

  • Última visita

Tudo que RalfGamerBR postou

  1. @EventHandler public void Placa(SignChangeEvent e){ Player p = e.getPlayer(); if(!p.hasPermission("Criar.placa")return; World mundo = e.getBlock().getWorld(); double x = e.getBlock().getX(); double y = e.getBlock().getY(); double z = e.getBlock().getZ(); if(e.getLine(0).equalsIgnoreCase("[Placa]")){ if(p.hasPermission(getConfig().getString("Config.Permissao"))){ e.setLine(0, getConfig().getString("Config.Placa.Linha1").replace("&", "§")); e.setLine(1, getConfig().getString("Config.Placa.Linha2").replace("&", "§")); e.setLine(2, getConfig().getString("Config.Placa.Linha3").replace("&", "§")); e.setLine(3, getConfig().getString("Config.Placa.Linha4").replace("&", "§")); p.sendMessage(getConfig().getString("Mensagens.Placa.Change").replace("&", "§").replace("@mundo", mundo.getName()).replace("@x", df.format(x)).replace("@y", df.format(y)).replace("@z", df.format(z))); }else{ p.sendMessage(getConfig().getString("Mensagem.SemPermissao").replace("&", "§")); e.setCancelled(true); } } }
  2. @EventHandler public void PlacaInteract(PlayerInteractEvent e){ if (!(e.getAction() == Action.RIGHT_CLICK_BLOCK)) return; if (e.getClickedBlock().getState() instanceof Sign){ Sign s = (Sign) e.getClickedBlock().getState(); if (s.getLine(0).equalsIgnoreCase("[Placa]")){ for(String cmds : getConfig().getStringList("Config.Placa.Comandos")){ Bukkit.dispatchCommand(Bukkit.getConsoleSender(), cmds.replace("@player", e.getPlayer().getName())); } } } }
  3. Lek quero coloca para spawnar sozinho...
  4. Vlw, vou tentar usar mais tarde...
  5. Bom quero gerar estrutura usando o schematic em java, quem souber como usa me fala ou passa um tutorial.
  6. Como eu faço para verificar quantos porcos tem em um mundo
  7. Como eu posso deletar uma pasta quando o servidor for iniciado. exemplo quando eu desligar o servidor quero coloca para deletar o mundo minerar
  8. Gg, Agora tem um plugin de terreno bom e grátis Top.
  9. Já aprendi '-' http://www.guj.com.br/articles/17pode fecha '-'
  10. Como eu posso fazer uma lista random
  11. Que foda, Eu ganho uq com isso '-' @Off Zuando....
  12. https://www.youtube.com/watch?v=g8SY-VpYpTQ
  13. Top!!! @Off fiz um tutorial de plugin de manutenção no meu canal assim
  14. RalfGamerBR

    mds ;(

    kkkkkkkkkkkk, mdssssssssssssss morriiiiiiiii
  15. ItemStack vidro = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)15 );
  16. ItemStack vidro = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)15 );
  17. Ótimo PLUGIN! @Off Não e mais fácil anota os blocos quebrados e depois colocar quando acabar o evento? '-'
×
×
  • Criar Novo...