summaryrefslogtreecommitdiff
path: root/README.md
blob: a01f95c95c9f89f587c95986bc1e6b0760f37378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# ValheimPlus-Discord_Bot
Valheim Plus discord bot based off of [ckbaudio's valheim-discord-bot](https://github.com/ckbaudio/valheim-discord-bot)

## Setup:
**Working MySQL server is needed for this bot.**  
`table_info.sql` Has Table info for the database  
`pip install -r requirements.txt` To install Pyhton requirements.

## [config.py](code/config.py)
Edit this file with your info. Setting should be self-explanitory.  

Add `-logfile /location/to/file.log` to your start command to get a logfile.  

**Warning:** Using the `BepInEx/LogOutput.log` file will not work  

For `WORLDSIZE` user running the bot must have read permissions to the world.db.old file

## Usage:
`python3 plusbot.py` While in the `code` dir.  
`nohup python3 plusbot.py &` Too run in background.  
Or you can create a service to run `plusbot.py` under systemd  

**help** Shows available commands

### Example Output:
![](example/example.png)