Git Product home page Git Product logo

call-of-duty-watcher's Introduction

CoD Watcher

Um bot Discord para servidores Call of Duty 1. Os recursos incluem status do servidor ao vivo, logs de bate-papo, alertas de relatório e banimento e automute de spam e palavrões.

Setup

Gameserver

Os arquivos referentes ao seu servidor CoD estão na pasta "servidor". Abra.

  1. Adicione codwatcher.log e codwatcher.cfg à pasta "principal" (ou fs_game) do seu servidor.
  2. Inclua codwatcher.cfg em seu arquivo de configuração do servidor com extensãoexec codwatcher.cfg.
  3. Adicione codwatcher.gsc à pasta "codam" do seu servidor.
  4. Adicione o mod ao CoDaM "modlist.gsc" - [[ register ]]( "CoD Watcher", codam\codwatcher::main );.

Para usar o plugin com MiscMod, faça o seguinte:

  1. Abra "codam/_mm_commands.gsc"
  2. Procurar por str = codam\_mm_mmm::strip(str);
  3. Adicione o seguinte código acima dessa linha:
        if(!self codam\codwatcher::message(str)) {
            creturn();
            return;
        }

Para usar o plug-in com outros sistemas de comando de bate-papo, adicione o mesmo bloco de código do MiscMod em sua função de retorno de chamada de mensagem de bate-papo. Você também precisará incluir sua lógica de ativar/desativar o som no arquivo "codwatcher.gsc".

Bot

  1. Coloque a pasta "bot" em algum lugar no diretório do servidor. Assumiremos que você o colocou fora de sua pasta "principal".
  2. Vá para a pasta "bot".
  3. Configure as configurações em "config.json".
  4. Instale os módulos necessários com npm install.
  5. Execute o bot com o seguinte comando node app.js.

call-of-duty-watcher's People

Contributors

saddam171 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.