Jump to content
DAYZ-CODE.RU - Создай свой игровой сервер

[DSSYS] Online server monitoring (DayZ server)


Barrero
 Share

Recommended Posts

Pinned posts
  • VIP Premium

[DSSYS] Online server monitoring (DayZ server)


Help Server:
https://discord.gg/qDcZ5BkmxM


Online monitoring:

  • Displaying the online game server DayZ Standalone in the game activity of the bot.

Installation:

1. Install NodeJS 18.7.0 and higher (https://nodejs.org/en /);

2. Open the .env file, specify:
STEAM_API_KEY= - Steam API key (Log in to the domain - be sure to specify the IP of the server where the bot itself is located),
DISCORD_TOKEN= - Token you discord bot (Discord Developer Portal — API Docs for Bots and Developers).

Example of a configured config:

Please Log in or Register to see this: Spoiler

3. Go to configs/server.json and configure the address and port of the server/s
     Values:
        "name": - Technical name, for convenience in searching for the server (visible only in the config itself and that's it);
        "address": - IP address of the game server server;
        "port": - Game server port (not rcon and query).

Example of a configured config for 1 server:

Please Log in or Register to see this: Spoiler

Example of a configured config for 2 servers:

Please Log in or Register to see this: Spoiler

Example of a configured config for 3 servers:

Please Log in or Register to see this: Spoiler

4. Run the install.bat file (only on the first run on the machine);
5. Run the start.bat file.

P.S. The bot has no limit on the number of game servers.

 

How to change the monitoring text:

  1. Go to the folder "DSSysMonitoring\src\components\ready".
  2. Open the file "user-activity.js".
  3. Find line 25.
  4. What can be adjusted "Online ${players}/${maxPlayers}" and "Server is off" (${players} - how many people are on the server now, ${maxPlayers} - total slots on the server).

Как изменить тип игры:

  1. Go to the folder "DSSysMonitoring\src\components\ready".
  2. Open the file "user-activity.js".
  3. Find line 11.
  4. What can be adjusted "221100" (this is the game ID on steam (you can see the ID here steamdb.info )).


Test Server: https://discord.gg/t9RatpKhKd


 

  • Like 6
Link to comment
Share on other sites

  • 3 months later...
UnPinned posts

Как добавить второй сервер, что бы их онлайн не отображался в общем онлайне?
А то второй добавил, онлайн показывает и от первого и второго сервера в общем)

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...