From 7c58f5a97abf9ac5e7353940b0ddc50a585d9066 Mon Sep 17 00:00:00 2001 From: stolenvw Date: Sat, 10 Apr 2021 15:28:44 -0400 Subject: Major rewrite, Added optional commands for displaying V+ config settings --- optional/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 optional/README.md (limited to 'optional/README.md') 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) -- cgit v1.2.3-54-g00ecf