Ir para conteúdo

Watyn

Membros
  • Total de itens

    273
  • Registro em

  • Última visita

Respostas na Comunidade

  1. Watyn's postagem in Anti-Divulgação was marked as the answer   
    http://gamersboard.com.br/topic/26324-ultraantidv-plugin/#entry240259
  2. Watyn's postagem in [Resolvido] [Oi, pode me ajudar] was marked as the answer   
    Tenta ver esse Projeto de um Plugin , ops nao sou criador,
     
    https://github.com/Delocaz/ChatUtils/blob/master/src/me/Delocaz/ChatUtils/Features/BlockCaps.java
     
    se ajudou da like ai
  3. Watyn's postagem in [Resolvido] Criar arquivo que guarde os bans do plugin was marked as the answer   
    Esses tempo tava fazendo um plzin de Bans com isso ai vo te passa o Codigo,
    Classe Main: http://pastebin.com/CucFa4kG Classe Do Evento De Join: http://pastebin.com/7MEc0Lkg Classe do Comando: http://pastebin.com/ZgNb7M56 Se Ajudei Like
  4. Watyn's postagem in [Resolvido] [Help] getBalance, economy was marked as the answer   
    public static Economy econ = null;



    @Override
    public void onEnable() {
    if (!setupEconomy() ) {
    getLogger().severe(String.format("[%s] - Disabled due to no Vault dependency found!", getDescription().getName()));
    getServer().getPluginManager().disablePlugin(this);
    return;
    }
    }



     private boolean setupEconomy() {
    if (getServer().getPluginManager().getPlugin("Vault") == null) {
    return false;
    }
    RegisteredServiceProvider<Economy> rsp = getServer().getServicesManager().getRegistration(Economy.class);
    if (rsp == null) {
    return false;
    }
    econ = rsp.getProvider();
    return econ != null;
    }

    econ.getBalance(p.getName())

    Isso e o que uso para mostra money do player no meu scoreboard

×
×
  • Criar Novo...