Ir para conteúdo

AlanGomes_ (BrineDev)

Membros
  • Total de itens

    605
  • Registro em

  • Última visita

Respostas na Comunidade

  1. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Qual é melhor para desempenho? Arquivo .yml ou SQLite | MySQL ? was marked as the answer   
    Usa MongoDB, se não conseguir ou não quiser, fique no MySQL ou SQLite, yml é a ÚLTIMA opção.
  2. AlanGomes_ (BrineDev)'s postagem in [Entregue] [Entregue] [Pedido]GUtilsMC - Utilidades was marked as the answer   
    Entregue
  3. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Outro erro basico ;-; was marked as the answer   
    você fechou uma chave que não tinha sido aberta, ou seja, um } sozinho
  4. AlanGomes_ (BrineDev)'s postagem in [Resolvido] [Dúvida] Ofuscado (sla) was marked as the answer   
    Nada a ver, ele não perde o desempenho, só é quase impossível de editar o código, pois o mesmo tem muitos erros.
     
    Use o ProGuard, é meio chatinho, mas com várias tentativas vc aprende.
  5. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Gerador de Labirintos? was marked as the answer   
    http://pastebin.com/n5N6trLj
     
    Créditos: Dablakbandit
  6. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Dúvida² ([ULTIMA]) mt dificil porem mt fácil! was marked as the answer   
    ai vc tem q alterar o seu codigo, mande a Main do seu plugins
  7. AlanGomes_ (BrineDev)'s postagem in [Resolvido] String Duvida was marked as the answer   
    Tenta esse código:
    private String center(String text) { int maxWidth = 80, spaces = (int) Math.round((maxWidth-1.4*ChatColor.stripColor(text).length())/2); return StringUtils.repeat(" ", spaces)+text; } E use assim:
    p.sendMessage(center("§bHUE BR"));
  8. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Quando ping um ip vai pra LocalHost was marked as the answer   
    Coloca o IP numérico do servidor, vai funcionar.
  9. AlanGomes_ (BrineDev)'s postagem in [Resolvido] 2º comandos. was marked as the answer   
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
    if(cmd.getName().equalsIgnoreCase("itens")){
    for(String b : getConfig().getStringList("Itens")) {
    sender.sendMessage((b).replaceAll("&","§").replace(">", "»"));
    }
    } else if(cmd.getName().equalsIgnoreCase("xburgue")){
    for(String b : getConfig().getStringList("xburgue")) {
    sender.sendMessage((b).replaceAll("&","§").replace(">", "»"));
    }
    }
    return false;

  10. AlanGomes_ (BrineDev)'s postagem in [Resolvido] [Ajuda PFV] urgentileza. was marked as the answer   
    Olá SrGames (xKizame)

    Coloca isso no inicio do evento:
    if (e.getEntity() instanceof Player == false) return;
  11. AlanGomes_ (BrineDev)'s postagem in [Resolvido] [Dúvida] como criar getStringList was marked as the answer   
    for (String str:getConfig().getStringList("BroadCast2_pesca")) { Bukkit.broadcastMessage(str.replace("&", "§").replace("@player", p.getName()));
    }

    Resolvido?
  12. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Dúvida - Como Criar Sistema de Login mo BootStrap / HTML? was marked as the answer   
    procura no google: sistema de login em php
     
    ta inundado de sistema free por ai
  13. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Lançar uma quantidade de raios was marked as the answer   
    int raios=// Numero de raios Player p=// Player do sistema int i=0; while (i!=raios) { p.getWorld().strikeLightning(p.getLocation()); i++; } OBS: Se não souber adaptar, desista de programar ehauehauheuah (zoa)
  14. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Scheduler was marked as the answer   
    Desculpe, erro meu kk
    private List<String> players=new ArrayList<String>(); @EventHandler public void onMove(PlayerMoveEvent e) { int segundos=3; final String p=e.getPlayer().getName(); if (players.contains(p)) return; players.add(p); e.getPlayer().sendMessage("§bVoce se moveu :D"); p.sendMessage(mensagem); Bukkit.getScheduler().scheduleAsyncDelayedTask(this, new Runnable() { public void run() { players.remove(p); } }, segundos*20); }
  15. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Pegando o tempo restante was marked as the answer   
    private HashMap<String, Long> times=new HashMap<String, Long>(); // Inicia o scheduler public void comer(final Player p) { Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable() { public void run() { p.sendMessage("§dVoce foi comido!"); times.remove(p.getName()); } }, 20*30); times.put(p.getName(), System.currentTimeMillis()); } // Retorna o tempo restante (em segundos) public int tempoRestante(Player p) { long time=times.get(p.getName()); long atual=System.currentTimeMillis(); return atual-time; } Fiz agora
  16. AlanGomes_ (BrineDev)'s postagem in [Entregue] LimiteTAGs was marked as the answer   
    http://www.brinedev.com.br/download?f=BrLimit.jar
     
    Qualquer erro ou dúvida me avise.
     
    Atenciosamente,
    BrineDev.
  17. AlanGomes_ (BrineDev)'s postagem in [Resolvido] API de plugins de economia was marked as the answer   
    tudo no vault
  18. AlanGomes_ (BrineDev)'s postagem in [Entregue] Banir item was marked as the answer   
    Edite a config do plugin dentro do arquivo .jar
  19. AlanGomes_ (BrineDev)'s postagem in [Entregue] LimparBow - Limpar arcos. was marked as the answer   
    https://www.dropbox.com/s/uc0mgownojrt6jt/LimparBOW.jar?dl=0
     
    Resolvido?
  20. AlanGomes_ (BrineDev)'s postagem in [Entregue] Converter plugin para 1.5 was marked as the answer   
    Passos necessários para saber se um plugin pode/precisa ser convertido:
     
    1º Instale o plugin em um servidor 1.5
    2º Teste TODAS as funcionalidades do plugin
    3º Caso haja bugs ou erros no console ai sim precisará ser convertido
     
    OBS: O plugin funciona em 1.6, ALGUNS plugins da 1.6 são compatíveis com 1.5
  21. AlanGomes_ (BrineDev)'s postagem in [Entregue] Magnata. was marked as the answer   
    Fiz uma pequena atualização, botei comandos, talvez possa servir https://www.dropbox.com/s/x667tdouwgqyl9s/BrMagnata.jar?dl=1
  22. AlanGomes_ (BrineDev)'s postagem in [Entregue] Auto spawn was marked as the answer   
    http://www.mediafire.com/download/tk52bw4imd7igw6/VoidSpawn.jar
     
    Deixa resolvido ae
  23. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Como criar mais de uma Arquivo.yml was marked as the answer   
    https://bukkit.org/threads/tutorial-custom-yml-files.259122/
  24. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Como posso bloquear isto ? was marked as the answer   
    Vou editar seu código, te mando jaja
     
    @EDIT: http://pastebin.com/vTh4bP8f
  25. AlanGomes_ (BrineDev)'s postagem in [Resolvido] Formatar Tempo was marked as the answer   
    Simples:
    int segundos=-120; if (segundos<0) segundos=-segundos; // De -120 foi para 120
×
×
  • Criar Novo...