ECO server discord status bot



  • Okay, it took a while due to different things I was forced to do before starting working on the eco bot :D
    But now its implemented, just go to the channel you want to receive the messages to and type:
    !subscribemonitoring

    To unsubscribe just type !unsubscribemonitoring



  • @msniveau said:

    !subscribemonitoring

    Hi,
    thx that you did the code.
    One question: which is the interval the bot checks the server status?



  • Just another little thing :=) misspelling of "status"
    image.png



  • fixed the typo
    the check runs every 2 minutes



  • thx. Is there any way to donate your work?



  • not nessecary, the whole bot is currently only 300 lines long, so not complex enough :D
    just enjoy it, custom "offline" - "offline" message formats will follow

    But I've now reached the point that I need to refactor the whole thing to make this more pretty before implementing new stuff



  • in my oppion is still a code with e.g. 10 line donateable if its a good function someone needs :) But thx for your fast response and coding



  • so, cleaned up the codebase a little and added custom monitoring formatting, reduced by 100 lines of code :D

    New command: !setmonitoringformat <status> <format>
    valid status: online / offline
    example for offline monitoring messages:
    !setmonitoringformat offline [{server_tag}] {ip}:{port} is unavailable
    results in [main] 123.123.123.123:123 is unavailable



  • aaaand made it public - the code is still pretty ugly but okay :D
    github repo is linked in the main thread now



  • new version is out for a while now, seems to work pretty more stable
    https://github.com/msniveau/discord-statusbot

    this version supports other games as well:
    arkps, arkse, arkxb, arma2, arma3, bf3, bf4, bfh, citadel, conan, csgo, css, dnl, eco, empyrion, grav, hellion, hl2, kf, kf2, l4d, l4d2, mcr, pixark, steam, rust, tf, tf2, ts3

    another project which I'm not allowed to make public is used in here for getting the servers information, if you want to query any server on your own feel free to use the query.li api


Log in to reply