Jump to content
TS.CSPOWER.RO #1 217.156.22.108:9987
Connect
VRANCEA.CSPOWER.RO #2 54.37.95.118:27015
Connect
RED.CSPOWER.RO #3 185.254.98.52:27015
Connect
CSGO.CSPOWER.RO #4 217.156.22.62:27015
Connect
GG.CSPOWER.RO #5 212.81.56.12:27015
Connect
DR.CSPOWER.RO #6 93.114.82.65:27015
Connect

FREAKHOSTING.COM FIRMĂ PARTENERĂ
ESAGAMES FIRMĂ PARTENERĂ
DREAMSERVER.RO FIRMĂ PARTENERĂ
ROYALSERVERS MASTERSERVER PARTENER

[CS2] Admin Panel Controlled via discord


Gudzone
 Share

Recommended Posts


Autor: justMemou
Official Link: GitHub
Features

  • * BAN Player
  • * UNBAN Player
  • * KICK Player


Full list of commands is available in the discord bot help command or screenshot below.

Sample diagram

diagram.png

Installation
- Move/copy config.json-sample to config.json and edit it. (CS2 server config)(!!!supports multiple servers!!!)

- Move/copy .env-sample to .env and edit it. (discord bot)

- Invite the discord bot to your server ID and setup the channel ID in .env

- Run npm install

- Run node server.js

Once you ensure that your nodejs server (waiting for events from the cs2 server (you can open http://<YOUR-NODE-SERVER>:8080 and you SHOULD RECEIVE "Cannot GET /"  THIS IS EXPECTED)) is running you can:

Put the following in your server.cfg

  • log on; mp_logdetail 3;
  • mp_logmoney 1;
  • mp_logdetail_items 1;
  • logaddress_add_http "http://<YOUR-NODE-SERVER>:8080";

Change map on server so server.cfg config gets loaded.

Available discord commands:
help.png
discord commands Currently all of the listed functions should be fully functional.

 


cooltext451574570373020.gif
_________________

type-460x42_cborder-000000_ctop-692108_c

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Guest, Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...