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
| Backup | Backup your bot- and DCS-configuration, your missions, database, etc. | Backup | [README](./services/backup/README.md) |
48
+
| Backup | Backup and restore your bot- and DCS-configuration, your missions, database, etc. | Backup | [README](./services/backup/README.md) |
49
49
| Bot | The Discord bot handling all discord commands. There is a Discord-free variant available also (see blow)! | | [README](./services/bot/README.md) |
50
50
| Cleanup | Cleanup log-files, track-files, etc. from your disk. | | [README](./services/cleanup/README.md) |
51
51
| Cron | Schedule tasks based on a cron-like configuration. | | [README](./services/cron/README.md) |
@@ -73,7 +73,7 @@ from time to time, but you as a community member can also create your own plugin
73
73
| Cloud | Cloud-based statistics and connection to the [DGSA](#dgsa) global ban system. | yes[^1] | Userstats | [README](./plugins/cloud/README.md) |
| Monitoring | Monitoring and statistics for your DCS servers. | yes[^1] | Userstats | [README](plugins/monitoring/README.md) |
76
-
| Backup | Create a backup of your database, server or bot configurations. | yes | | [README](./plugins/backup/README.md) |
76
+
| Backup | Backup or restore your database, server or bot configurations. | yes | | [README](./plugins/backup/README.md) |
77
77
| Battleground | Support for [DCS Battleground](https://github.com/Frigondin/DCSBattleground) | yes | | [README](./plugins/battleground/README.md) |
78
78
| Battleground2 | Support for the new version of [DCS Battleground](https://github.com/Frigondin/DCSBattleground) | yes | | [README](./plugins/battleground2/README.md) |
| Punishment | Punish users for team-hits or team-kills. | yes | Mission | [README](./plugins/punishment/README.md) |
92
93
| RealWeather | Apply real weather to your missions (also available as an extension). | yes | | [README](./plugins/realweather/README.md) |
93
94
| RestAPI | Simple REST-API to query users and statistics (WIP). | yes | Userstats, MissionStats | [README](./plugins/restapi/README.md) |
@@ -152,8 +153,10 @@ You need the following software to run DCSServerBot:
152
153
You need to have [Python](https://www.python.org/downloads/) 3.10 - 3.13 installed.
153
154
Please make sure that you tick "Add python.exe to PATH" during your Python installation.
154
155
155
-
> [!IMPORTANT]
156
-
> Python 3.14 does not work yet, despite listed differently in the changelog.
156
+
> [!WARNING]
157
+
> Pythong 3.14 is still very new and many third-party libraries are either not yet or not fully supported yet.
158
+
> The bot should install with 3.14 though, but you can not expect the same performance as with 3.13 yet.
159
+
> That said - use 3.14 on your own risk.
157
160
158
161
#### b) PostgreSQL
159
162
DCSServerBot needs a database to store information in. I decided to use [PostgreSQL](https://www.postgresql.org/download/), as it has great performance
@@ -200,9 +203,10 @@ you can now install DCSServerBot without the need to use Discord. Select the res
200
203
installation, and you will install a variant that works without.
201
204
202
205
> [!NOTE]
203
-
> Please keep in mind that DCSServerBot was originally built for Discord and that there are some functionalities that
204
-
> only work with Discord, like statistics graphs, greenieboards, and others.<br>
205
-
> You can still use a lot without Discord as in-game chat-commands, automated restarts, etc.
206
+
> It's important to note that DCSServerBot was initially designed for integration with Discord, and certain features
207
+
> only function properly within that platform, such as statistics graphs, greenieboards, and others.
208
+
> However, many aspects of the bot can still be used without Discord, including in-game chat commands, automated
209
+
> restarts, etc.
206
210
207
211
### Download
208
212
Best is to use ```git clone https://github.com/Special-K-s-Flightsim-Bots/DCSServerBot.git``` as you then always have
@@ -415,7 +419,6 @@ NODENAME: # this will usually be your hostname
415
419
host: 127.0.0.1 # SRS servers local IP (default is 127.0.0.1)
416
420
port: 5002 # SRS servers local port (default is 5002). The bot will change this in your SRS configuration if set here!
417
421
autostart: true # this will autostart your DCS server with the DCS server start (default: true)
418
-
autoupdate: true # This will auto-update your SRS servers. Default is false, you need to run the bot as Administrator to make it work!
419
422
Tacview:
420
423
show_passwords: false # If you don't want to show the Tacview passwords (default: true)
421
424
# instance2: # you can have an unlimited number of instance configurations, but each instance has to have a physical representation on your disk.
@@ -435,10 +438,10 @@ DEFAULT:
435
438
messages: # General messages for servers. You can overwrite any in any server.
436
439
greeting_message_members: "{player.name}, welcome back to {server.name}!"
437
440
greeting_message_unmatched: '{player.name}, please use /linkme in our Discord, if you want to see your user stats!'
438
-
message_player_username: Your player name contains invalid characters. # Default message for players with invalid usernames
439
-
Please change your name to join our server.
440
-
message_player_default_username: Please change your default player name at the top right # Default message for players with default usernames
441
-
of the multiplayer selection list to an individual one!
441
+
message_player_username: Your player name contains invalid characters.
442
+
Please change your name to join our server. # Default message for players with invalid usernames
443
+
message_player_default_username: Please change your default player name at the top right
444
+
of the multiplayer selection list to an individual one! # Default message for players with default usernames
442
445
message_player_inappropriate_username: Your username is inappropriate and needs to be changed to join this server.
443
446
message_ban: 'You are banned from this server. Reason: {}' # default message, if a player is banned on the DCS server
444
447
message_reserved: 'This server is locked for specific users.\nPlease contact a server admin.' # Message if server requires discord role (optional)
@@ -713,6 +716,29 @@ In these cases, you can run the `repair.cmd` script in the DCSServerBot installa
713
716
714
717
---
715
718
719
+
## Backup and Restore
720
+
The platform allows you to backup and restore your database, server configurations, or bot settings.
721
+
The backup and restore functionality are accessible in the Backup [service](./services/backup/README.md)
722
+
and [plugin](./plugins/backup/README.md).
723
+
724
+
> [!NOTE]
725
+
> The bot includes an auto-restore feature that allows you to easily transfer your data.
726
+
> To use this feature, copy the appropriate backup file into a folder named restore within the DCSServerBot
727
+
> installation directory (make sure to create it first). Upon startup, DCSServerBot will read this file and restore any
728
+
> saved information such as:
729
+
> * Database backup
730
+
> * DCSServerBot configuration backup
731
+
> * Instance backup (including missions and configurations; for details, see the backup service)
732
+
733
+
> [!TIP]
734
+
> Utilizing the auto-restore feature can be helpful when moving your database from one computer to another.
735
+
> After installing DCSServerBot on the new system, place the appropriate db_*.tar file in a `restore` folder within the
736
+
> bot's installation directory and ensure the node's nodes.yaml file points to the newly created database.
737
+
> Then launch the bot and allow the restoration process to complete.
738
+
>
739
+
> _Please be prepared to provide the new PostgreSQL master password when prompted._
0 commit comments