Browse Source

adjusted gitignore to accommodate the new directory structure in options

testing
Christian Voigt 3 months ago
parent
commit
9ece0f42a9
2 changed files with 30 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +29
    -0
      bot/options/default/README.md

+ 1
- 0
.gitignore View File

@ -1,2 +1,3 @@
/bot/options/
/bot/debug.log
!*.md

+ 29
- 0
bot/options/default/README.md View File

@ -0,0 +1,29 @@
## minimum settings for 7dtd:
### setting up the telnet component
host would be your IP address, or if the bot is on the same machine, localhost
port + password is what you have set up in your 7dtd serverconfig
chrani-bot-tng/bot/options/module_telnet.json
> {
> "host": "127.0.0.1",
> "port": 26902,
> "password": "supersecret"
> }
You might want to set the telnet buffer to a higher value if you have a high-pop server or are using mods like
Darkness Falls. the standard 16k is too small for extensive amount of entities
> "max_telnet_buffer": 32768
### setting up the webserver component
host would be your servers public IP address
port and secret-key can be whatever you feel is clever
chrani-bot-tng/bot/options/module_webserver.json
> {
> "host": "YOUR PUBLIC SERVER IP",
> "port": 26905,
> "Flask_secret_key": "whateverisclever"
> }
With those two files in place and some sensible data to populate them, the bot should start up and provide it's
webinterface and should start listening to the games telnet.

Loading…
Cancel
Save