You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,15 @@ title: README
12
12
You've found a comprehensive solution that helps you administrate your DCS World servers. It has a Discord integration
13
13
([now optional](#dcsserverbot-installation-non-discord)!) with slash-commands, built in per-server and per-user
14
14
statistics, optional cloud-based statistics, [Coalitions](./COALITIONS.md)-support, a whole
15
-
[Tournament-System](./plugins/tournament/README.md) and much more!<br>
15
+
[Tournament-System](./plugins/tournament/README.md), a third-party [web-frontend](https://github.com/Penfold-88/DCS-Statistics-Dashboard) for
16
+
statistics and much more!
17
+
<p>
16
18
With its plugin system and reporting framework, DCSServerBot can be enhanced very easily to support whatever might come
17
19
into your mind. DCSServerBot is a solution for DCS server admins built by a DCS server admin.
18
-
20
+
<p>
19
21
This documentation shows you the main features, how to install and configure the bot and some more sophisticated
20
22
stuff at the bottom, if you for instance run multiple servers maybe even over multiple locations.
21
-
23
+
<p>
22
24
Now let's see what DCSServerBot can do for you (installation-instructions [below](#installation))!
23
25
24
26
---
@@ -345,7 +347,7 @@ NODENAME: # this will usually be your hostname
345
347
listen_address: 0.0.0.0 # Optional: On which interface should the bot listen? Default is 127.0.0.1.
346
348
public_ip: 88.77.66.55 # Optional: Your public IP. ONLY if you have a static IP (!), put this in here to speedup the startup-process of the bot.
347
349
slow_system: false # Optional: if you are using a slower PC to run your servers, you should set this to true (default: false)
348
-
use_upnp: true # The bot will auto-detect, if there is an UPnP IGD available and configure this setting initially for you! If you do NOT want to use UPnP, even IF it is abailable, put this to false.
350
+
use_upnp: true # The bot will auto-detect, if there is an UPnP IGD available and configure this setting initially for you! If you do NOT want to use UPnP, even IF it is available, put this to false.
349
351
preferred_master: true # cluster only: this node should be the preferred master node (default: false)
350
352
heartbeat: 30# cluster only: time for the heartbeat between the master and agent nodes to run (default: 30)
351
353
cloud_drive: false # cluster only: set this to false, if you do not have the bot installed on a cloud drive (default and recommended: true)
@@ -370,6 +372,17 @@ NODENAME: # this will usually be your hostname
370
372
cloud: true # If you have installed DCS on a NAS or cloud drive, autoupdate and desanitization will only take place once on all your nodes.
371
373
desanitize: true # Desanitize your MissionScripting.lua after each update. Default is true.
| /getuser | POST | nick: string | {"name": string, "last_seen": date} | Return a list of players ordered by last seen that match this nick. |
33
-
| /stats | POST | nick: string, date: date | {<br>"deaths": int,<br>"aakills": int,<br>"aakdr": float,<br>"lastSessionKills": int,<br>"lastSessionDeaths": int,<br>"killsbymodule": [<br>{"module": string, "kills": int}<br>],<br>"kdrByModule": [<br>{"module": string, "kdr": float}<br>]<br>} | Statistics of this player |
34
-
| /topkills | GET | | {"fullNickname": string, "AAkills": int, "deaths": int, "AAKDR": float} | Top 10 of players ordered by kills descending. |
35
-
| /topkdr | GET | | {"fullNickname": string, "AAkills": int, "deaths": int, "AAKDR": float} | Same as /topkills but ordered by AAKDR descending. |
36
-
| /missilepk | POST | nick: string, date: date | {"weapon": {"weapon-name": string, "pk": float}} | Probability of kill for each weapon per given user. |
37
-
| /linkme | POST | discord_id: string, force: bool | {"token": 1234, "timestamp": "2025-02-03 xx:xx:xx...", "rc": 0} | Same as /linkme in discord. Returns a new token that can be used in the in-game chat. |
Copy file name to clipboardExpand all lines: docs/services/cron/README.md
+29-4Lines changed: 29 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,9 +108,9 @@ DEFAULT:
108
108
```
109
109
110
110
e) popup
111
-
Send a popup
111
+
Send a popup to a running server.
112
112
```yaml
113
-
DEFAULT:
113
+
DCS.server_release:
114
114
actions:
115
115
- cron: '55 3 * * 1'# Send a message to everyone at Mo, 03:55h
116
116
action:
@@ -120,7 +120,20 @@ DEFAULT:
120
120
timeout: 20
121
121
```
122
122
123
-
f) purge_channel
123
+
f) broadcast
124
+
Send a popup to all running servers.
125
+
```yaml
126
+
DEFAULT:
127
+
actions:
128
+
- cron: '55 3 * * 1'# Send a message to everyone at Mo, 03:55h
129
+
action:
130
+
type: broadcast
131
+
params:
132
+
message: Server will shut down in 5 mins!
133
+
timeout: 20
134
+
```
135
+
136
+
g) purge_channel
124
137
Delete messages from a Discord channel.
125
138
```yaml
126
139
DEFAULT:
@@ -136,7 +149,7 @@ DEFAULT:
136
149
ignore: 119922883377446655# ignore this user id AND message id (either the bot's or persistent messages in the channel); can be either an ID or a list of IDs
0 commit comments