Skip to content

Commit 8f33c0d

Browse files
Update documentation
1 parent 20fec7d commit 8f33c0d

File tree

14 files changed

+159
-42
lines changed

14 files changed

+159
-42
lines changed

docs/README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ title: README
1212
You've found a comprehensive solution that helps you administrate your DCS World servers. It has a Discord integration
1313
([now optional](#dcsserverbot-installation-non-discord)!) with slash-commands, built in per-server and per-user
1414
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>
1618
With its plugin system and reporting framework, DCSServerBot can be enhanced very easily to support whatever might come
1719
into your mind. DCSServerBot is a solution for DCS server admins built by a DCS server admin.
18-
20+
<p>
1921
This documentation shows you the main features, how to install and configure the bot and some more sophisticated
2022
stuff at the bottom, if you for instance run multiple servers maybe even over multiple locations.
21-
23+
<p>
2224
Now let's see what DCSServerBot can do for you (installation-instructions [below](#installation))!
2325

2426
---
@@ -345,7 +347,7 @@ NODENAME: # this will usually be your hostname
345347
listen_address: 0.0.0.0 # Optional: On which interface should the bot listen? Default is 127.0.0.1.
346348
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.
347349
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.
349351
preferred_master: true # cluster only: this node should be the preferred master node (default: false)
350352
heartbeat: 30 # cluster only: time for the heartbeat between the master and agent nodes to run (default: 30)
351353
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
370372
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.
371373
desanitize: true # Desanitize your MissionScripting.lua after each update. Default is true.
372374
minimized: true # Start DCS minimized (default: true)
375+
allow_unsafe_api: # as of DCS 2.9.18: allow dostring_in only in these environments
376+
- scripting
377+
- gui
378+
- userhooks
379+
allow_dostring_in: # as of DCS 2.9.18: allow dostring_in only targeting these contexts
380+
- scripting
381+
- config
382+
- server
383+
- mission
384+
- gui
385+
- export
373386
user: xxxx # Your DCS username (only needed for specific use-cases)
374387
password: xxxx # Your DCS password (will be auto-moved by the bot to a secret place)
375388
instances:

docs/extensions/lardoon/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ MyNode:
1616
# [...]
1717
extensions:
1818
Lardoon:
19+
use_single_process: true # Start one Lardoon process per node (default: true)
1920
cmd: '%USERPROFILE%\Documents\GitHub\lardoon\lardoon.exe'
20-
bind: 0.0.0.0:3113 # IP and port the Lardoon server is listening to
21+
bind: 0.0.0.0:3113 # IP and port the (single) Lardoon server is listening to
2122
url: https://myfancyhost.com # Alternate hostname to be displayed in your status embed
2223
minutes: 5 # Number of minutes the Lardoon database is updated
2324
# [...]
@@ -27,9 +28,16 @@ MyNode:
2728
extensions:
2829
Lardoon:
2930
enabled: true
30-
debug: true # Show the Lardoon console output in the DCSSB console. Default = false
31+
debug: true # Show the Lardoon console output in the DCSSB console. Default = false
32+
bind: 0.0.0.0:3113 # Optional: IP and port this Lardoon server is listening to (only needed if use_single_process is false)
33+
url: https://myfancyhost.com # Optional: Alternate hostname to be displayed in your status embed (only needed if use_single_process is false)
34+
minutes: 5 # Optional: Number of minutes the Lardoon database is updated (only needed if use_single_process is false)
3135
tacviewExportPath: 'G:\My Drive\Tacview Files' # Alternative drive for tacview files (default: auto-detect from Tacview)
3236
```
33-
Don't forget to add some kind of security before exposing services like that to the outside world, with for instance
34-
a nginx reverse proxy.</br>
37+
Remember to add some kind of security before exposing services like that to the outside world, with for instance
38+
an nginx reverse proxy.</br>
3539
If you plan to build Lardoon on your own, I'd recommend the fork of [Team LimaKilo](https://github.com/team-limakilo/lardoon).
40+
41+
> [!IMPORTANT]
42+
> If you want to start multiple Lardoon processes, set use_single_process to false and make sure that you add a "bind"
43+
> parameter to each instance configuration.

docs/extensions/olympus/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ DCS_MERCS:
1717
- name: DCSOlympus
1818
version: latest
1919
source: SavedGames
20+
# uncomment for auto-update:
21+
# repo: https://github.com/Pax1601/DCSOlympus
2022
```
2123
To use the DCS Olympus client, you need [Node.js](https://nodejs.org/download/release/latest-v20.x/) installed.
2224
Click on the link, download and install it. Remember the installation location, as you need to provide it in the

docs/extensions/srs/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@ MyNode:
3838
config: '{instance.home}\Config\SRS.cfg'
3939
host: 127.0.0.1
4040
port: 5002
41-
minimized: true # start SRS minimized (default: true)
41+
gui_server: true # Optional: use the SRS-Server.exe (GUI server) instead of the command line one
42+
minimized: true # Old SR-Server.exe: start SRS minimized (default: true)
4243
autoconnect: true # install the appropriate DCS-SRS-AutoConnectGameGUI.lua, default: true
4344
awacs: true # if you use LotAtc
4445
lotatc_export_port: 10712
4546
blue_password: blue
4647
red_password: red
48+
show_passwords: false # Optional: do not show red/blue passwords in the status embed (default: true)
4749
radio_effect_override: false # optional: disable radio effects (LOS, etc)
4850
global_lobby_frequencies: 248.22,30.0,127.0 # optional: set your music channels in here
4951
autostart: true # optional: if you manage your SRS servers outside of DCSSB, set that to false

docs/plugins/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ function myplugin.onPlayerConnect(id)
278278
dcsbot.sendBotTable(msg)
279279
end
280280

281-
DCS.setUserCallbacks(myplugin)
281+
Sim.setUserCallbacks(myplugin)
282282
```
283283

284284
### lua/commands.lua
@@ -292,7 +292,7 @@ local dcsbot = base.dcsbot
292292

293293
function dcsbot.pauseMission(json)
294294
log.write('DCSServerBot', log.DEBUG, 'Mission: pauseMission()')
295-
DCS.setPause(true)
295+
Sim.setPause(true)
296296
end
297297
```
298298

docs/plugins/cloud/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ used to see with `/statistics`.
2222
If you opt in to the cloud plugin and even have not opted in to the cloud statistics, you can still use the global ban
2323
system. We've put together a group consisting of the admins of the most popular DCS servers, and we monitor what's going
2424
on in the community. When we see someone that is crashing servers by hacking or any other **really** (really) bad stuff,
25-
we put them in the global ban list. Nobody that gets usually banned on a server for misbehaviour will get onto the list.
25+
we put them in the global ban list. Nobody that gets usually banned on a server for misbehavior will get onto the list.
2626
There are only the real bad guys on it.</br>
2727
If you opt in to that plugin, you already participate from that ban list. You can choose whether to ban DCS players
2828
and/or Discord users. Both are active as a default.</br>
@@ -31,6 +31,7 @@ If you are a server admin of a large server and not part of DGSA, the "DCS Globa
3131
## Configuration
3232
```yaml
3333
DEFAULT:
34+
banlist: pvp # One of pvp, pve or both. For DCS bans / watchlist only (default: both).
3435
dcs-ban: true # true: subscribe to the global ban service for DCS users (default: false).
3536
discord-ban: true # true: subscribe to the global ban service for Discord users (default: false).
3637
watchlist_only: true # true: a player being on the global banlist will be added to the watchlist only (default: false, does not work with dcs-ban: true)

docs/plugins/creditsystem/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ away due to punishment points a player gets due to team-kills or the like.
1414
## Configuration
1515
The CreditSystem is configured with a file named config\plugins\creditsystem.yaml. You'll find a sample file in that directory:
1616
```yaml
17-
DEFAULT: # valid for all servers
18-
initial_points: 10 # The initial points a player gets (default = 0).
19-
max_points: 100 # The maximum points a player can get (default = unlimited).
20-
multiplier: 1 # multiplier for credit points on proper landings (if payback is enabled in slotblocking.yaml)
17+
DEFAULT: # valid for all servers
18+
initial_points: 10 # The initial points a player gets (default = 0).
19+
max_points: 100 # The maximum points a player can get (default = unlimited).
20+
multiplier: 1.0 # multiplier for credit points on proper landings if payback is enabled in slotblocking.yaml (default: 1.0)
21+
points_on_rtb: false # only give credit points on RTB (default: false)
2122
squadron_credits: true # enable squadron credits (see below).
2223
squadron:
2324
initial_points: 100 # default: 0

docs/plugins/mission/README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,25 @@ DEFAULT:
7373
You can configure the behaviour of the mission plugin with an optional config/plugins/mission.yaml:
7474
```yaml
7575
DEFAULT:
76-
uploads: # Configure how mission uploads are handled
77-
enabled: true # Here you can disable the feature at all (default: true = enabled)
76+
event_filter: # do NOT report these events (default: [])
77+
- connect
78+
- disconnect
79+
- change_slot
80+
- friendly_fire
81+
- self_kill
82+
- kill
83+
- takeoff
84+
- landing
85+
- crash
86+
- eject
87+
- pilot_death
88+
- shot
89+
- hit
90+
uploads: # Configure how mission uploads are handled
91+
enabled: true # Here you can disable the feature at all (default: true = enabled)
92+
channel: 112233445566778899 # Optional: mission upload channel (default: admin channel)
7893
discord:
79-
- DCS Admin # Define which roles are allowed to upload missions (default: DCS Admin)
94+
- DCS Admin # Define which roles are allowed to upload missions (default: DCS Admin)
8095
```
8196
8297
## Auto-Scanning

docs/plugins/motd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ If you want to play sounds, make sure that you loaded them into the mission firs
6767
display_type: chat # the message will be displayed in the in-game chat
6868
- delay: 120 # this message will be displayed every 2 mins
6969
message: "To see your stats, you can link your user by using /linkme in your discord!"
70-
receipients: '!@everyone' # and will be sent to anybody that is not linked yet (has not the discord role @everyone)
70+
recipients: '!@everyone' # and will be sent to anybody that is not linked yet (has not the discord role @everyone)
7171
display_type: popup # Message will be a popup
7272
```
7373

docs/plugins/punishment/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ DEFAULT:
3333
human: 12
3434
AI: 8
3535
reason: Friendly fire on a team member
36-
- event: collision_hit # if you hit another team member, you get 5 points, 1 if it was an AI.
36+
- event: collision_hit # If you hit another team member, you get 5 points, 1 if it was an AI.
3737
human: 5
3838
AI: 1
3939
reason: Colliding with a team member
40+
- event: reslot # If you re-slotted when being shot at, you get 30 points (you stole a kill)
41+
default: 30
42+
reason: Respawning when being shot at
4043
forgive: 30 # People can forgive others in-between of 30 seconds (default) with the .forgive in-game chat command.
4144
punishments: # list of punishments, based on the users penalty points
4245
- points: 100 # we temp-ban the player when they reached 100 points.

0 commit comments

Comments
 (0)