diff options
author | stolenvw <stolenvw@hotmail.com> | 2021-04-10 15:28:44 -0400 |
---|---|---|
committer | stolenvw <stolenvw@hotmail.com> | 2021-04-10 15:28:44 -0400 |
commit | 7c58f5a97abf9ac5e7353940b0ddc50a585d9066 (patch) | |
tree | 7c58c1b3a856822495f95701f2417b0ec8c9ab2b /optional/README.md | |
parent | 10003220489fe8493021e35f7243a4f63525f376 (diff) |
Major rewrite, Added optional commands for displaying V+ config settings
Diffstat (limited to 'optional/README.md')
-rw-r--r-- | optional/README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/optional/README.md b/optional/README.md new file mode 100644 index 0000000..9c86307 --- /dev/null +++ b/optional/README.md @@ -0,0 +1,21 @@ +# Optional Addons +Optional commands for the bot + +## Pluscmds: +### Info: +`plussettingstodb.py` Will make a new table in the MySQL database and load the contents from `vplusfile` setting in `config.py` to the table. If the table exist it will delete the table and remake it + +`pluscmds.py` Is bot commands for displaying Valheim Plus setting from the table created by `plussettingstodb.py` + +### Setup: +Move `plussettingstodb.py` to the `code` dir +Move `pluscmds.py` to the `code/botcmds` dir + +### Usage: +`python3 plussettingstodb.py` While in the `code` dir. Script will run and exit when finished. **NOTE:** This will have to be done every time you make a change to the Valheim Plus configuration file. + +After moving the `pluscmds.py` restart the bot. This only needs to be done once, you can run `plussettingstodb.py` at anytime without having to restart the bot. + +### Example Output: +## Pluscmds: +![](../example/vplushelp.png) |