summaryrefslogtreecommitdiff
path: root/README.md
blob: b8f035598f51b5fc746a37b9d5705132e5bd5889 (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
27
28
29
30
31
32
# 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

## [Optional:](optional)
Check the optional dir for addons

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

## Changes:
- March 4, 2021: Major rewrite