Code Monkey home page Code Monkey logo

discord-player-count-bot's People

Contributors

floriansw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

discord-player-count-bot's Issues

Polling Provider error

Bot cannot gather informations. Server is online and informations are provided by different other services.

PLAYER_COUNT_PROVIDER = steam-query
GAME_TYPE = dayz
GAME_QUERY_PORT = 2305
GAME_IP = MY-IPV4-SERVERADDRESS

Starting Discord Bot...
Logged in as ***bot#8811!
App setup done...
PollingProvider errored, retrying in 4 seconds for max 15 tries (1. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 6 seconds for max 15 tries (2. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 8 seconds for max 15 tries (3. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 10 seconds for max 15 tries (4. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 12 seconds for max 15 tries (5. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 14 seconds for max 15 tries (6. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 16 seconds for max 15 tries (7. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 18 seconds for max 15 tries (8. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 20 seconds for max 15 tries (9. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 22 seconds for max 15 tries (10. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 24 seconds for max 15 tries (11. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 26 seconds for max 15 tries (12. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 28 seconds for max 15 tries (13. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 30 seconds for max 15 tries (14. try). Error: Failed all 2 attempts
PollingProvider errored, retrying in 32 seconds for max 15 tries (15. try). Error: Failed all 2 attempts

Auto restart

When I'm using steam or steam-query and the server goes down for say a minute the bot quits and needs a manual restart. I have found a work around using nodemon but thought it might be a nice addition to add👍

battleye option

Hi, i see there is a battleye option in the env file as well, but this doesn't work yet. Any chance you can also get this option up and running please?

Feature Request

Hey bud

would you be down to add functionality to use channel names as a counter

like This

Bildschirm­foto 2023-01-25 um 23 05 43

Would be awesome

and thanks for the dev work

CF Tools server offline

When using CF Tools as the PLAYER_COUNT_PROVIDER. If the server is offline the bot does not refresh. It just shows the last known online as a status. Would be nice if it said the server was offline.

Thanks Florian for your amazing work

"Invalid game"

Hi there, I'm getting an error when attempting to run this bot.

`PS D:\Coding Projects\V Bot\Florian\discord-player-count-bot> npm start

[email protected] prestart
npm run build
[email protected] build
del-cli dist && tsc
[email protected] start
node ./dist/index.js

Starting Discord Bot...
(node:25824) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Logged in as V Rising 1#4200!
./config/maps.json does not exist
App setup done...
PollingProvider errored, retrying in 4 seconds for max 15 tries (1. try). Error: Invalid game: v rising
PollingProvider errored, retrying in 6 seconds for max 15 tries (2. try). Error: Invalid game: v rising
App is shutting down on user event`

My .env file looks like this:

`PLAYER_COUNT_PROVIDER=steam-query

Steam API provider specific

STEAM_API_TOKEN=C1...
GAME_ADDRESS=localhost

Steam Query provider specific

GAME_TYPE="v rising"
GAME_IP="127.0.0.1"
GAME_QUERY_PORT="27016"`

Any help would be appreciated, thankyou!

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.