Ir para conteúdo

LeoT

Membros
  • Total de itens

    345
  • Registro em

  • Última visita

Tudo que LeoT postou

  1. Vlw :) Já existe um na net com delay
  2. Seu pedido foi marcado como [Entregue] e movido à área de pedidos entregues. Atenciosamente, Gamer's Board
  3. Seu pedido foi marcado como [Entregue] e movido à área de pedidos entregues. Atenciosamente, Gamer's Board
  4. Então não é problema no plugin...
  5. Seu pedido foi marcado como [Entregue] e movido à área de pedidos entregues. Atenciosamente, Gamer's Board
  6. Que bom mano :: Você configurou o MySQL? Algum erro no console?
  7. LeoT

    Plugin de Spawn

    Seu pedido foi marcado como [Entregue] e movido à área de pedidos entregues. Atenciosamente, Gamer's Board
  8. Seu pedido foi marcado como [Entregue] e movido à área de pedidos entregues. Atenciosamente, Gamer's Board
  9. Tive o mesmo problema um tempo atrás quando tentei usar o McMMO traduzido do Rush como API... Voltou ao normal quando troquei a External Jar
  10. Vlw :) Só chamar discord caso for comprar!
  11. Sua dúvida foi marcada como [Resolvido] e movido à área de dúvidas resolvidas. Atenciosamente, Gamer's Board
  12. Tirei isso de um plugin um tempo atrás... Nunca testei mas deve funcionar: public static String convertMoney(double paramDouble) { String str1; int j; String str2; if (paramDouble >= 1.0E15D) { str1 = String.format("%.2f", new Object[] { Double.valueOf(paramDouble / 1.0E15D) }); j = str1.indexOf("."); str2 = str1.substring(j + 1); if (str2.endsWith("0")) { if (str2.startsWith("0")) { str1 = str1.substring(0, str1.length() - 3); } else { str1 = str1.substring(0, str1.length() - 1); } } return str1 + "Q"; } if (paramDouble >= 1.0E12D) { str1 = String.format("%.2f", new Object[] { Double.valueOf(paramDouble / 1.0E12D) }); j = str1.indexOf("."); str2 = str1.substring(j + 1); if (str2.endsWith("0")) { if (str2.startsWith("0")) { str1 = str1.substring(0, str1.length() - 3); } else { str1 = str1.substring(0, str1.length() - 1); } } return str1 + "T"; } if (paramDouble >= 1.0E9D) { str1 = String.format("%.2f", new Object[] { Double.valueOf(paramDouble / 1.0E9D) }); j = str1.indexOf("."); str2 = str1.substring(j + 1); if (str2.endsWith("0")) { if (str2.startsWith("0")) { str1 = str1.substring(0, str1.length() - 3); } else { str1 = str1.substring(0, str1.length() - 1); } } return str1 + "B"; } if (paramDouble >= 1000000.0D) { str1 = String.format("%.2f", new Object[] { Double.valueOf(paramDouble / 1000000.0D) }); j = str1.indexOf("."); str2 = str1.substring(j + 1); if (str2.endsWith("0")) { if (str2.startsWith("0")) { str1 = str1.substring(0, str1.length() - 3); } else { str1 = str1.substring(0, str1.length() - 1); } } return str1 + "M"; } if ((paramDouble >= 1000.0D)) { str1 = String.format("%.2f", new Object[] { Double.valueOf(paramDouble / 1000.0D) }); j = str1.indexOf("."); str2 = str1.substring(j + 1); if (str2.endsWith("0")) { if (str2.startsWith("0")) { str1 = str1.substring(0, str1.length() - 3); } else { str1 = str1.substring(0, str1.length() - 1); } } return str1 + "k"; } int i = (int) paramDouble; return String.valueOf(i); } Pra usar é só usar: (Vault) -> convertMoney(Main.money.getBalance(p.getName());
  13. Sempre que chegar na meta o evento começará (Se não tiver um acontecendo) Vlw :)
  14. Download: Clique Permissão: efeitos.ver Imagem: Cobrar num plugin desse é ridículo -.-'
  15. Seu replace está de forma errada! slore.add(lore.replace("&", "§").replace("{valor}", NumberFormat.getInstance().format(valor)).replace("{player}", p.getName()));
  16. public static void sendActionBar(Player p, String msg) { IChatBaseComponent cbc = IChatBaseComponent.ChatSerializer .a("{\"text\": \"" + msg + "\"}"); PacketPlayOutChat ppoc = new PacketPlayOutChat(cbc, (byte) 2); ((CraftPlayer) p).getHandle().playerConnection.sendPacket(ppoc); }
  17. Seu pedido foi marcado como [Entregue] e movido à área de pedidos entregues. Atenciosamente, Gamer's Board
  18. Seu pedido foi marcado como [Entregue] e movido à área de pedidos entregues. Atenciosamente, Gamer's Board
  19. Seu pedido foi marcado como [Entregue] e movido à área de pedidos entregues. Atenciosamente, Gamer's Board
×
×
  • Criar Novo...