VIP Premium Barrero Posted January 18 VIP Premium Share #1 Posted January 18 Просмотр файла [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: Go to the folder "DSSysMonitoring\src\components\ready". Open the file "user-activity.js". Find line 25. 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). Как изменить тип игры: Go to the folder "DSSysMonitoring\src\components\ready". Open the file "user-activity.js". Find line 11. 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 Добавил Barrero Добавлено 18.01.2023 Категория Прочее 6 Link to comment Share on other sites More sharing options...
Ivan PVP Posted April 22 Share #2 Posted April 22 Как добавить второй сервер, что бы их онлайн не отображался в общем онлайне? А то второй добавил, онлайн показывает и от первого и второго сервера в общем) Link to comment Share on other sites More sharing options...
Grim Posted April 22 Share #3 Posted April 22 @Barrero О спасибо) искал только щас его 1 Link to comment Share on other sites More sharing options...
VIP Premium Barrero Posted May 2 Author VIP Premium Share #4 Posted May 2 @Ivan PVP Ни как. Либо что бы выводило суммарный онлайн, либо что бы только с 1-го сервера. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now