From 7cd5fcd066bd16311daa4e4ab5023f3f53186891 Mon Sep 17 00:00:00 2001 From: ByteDream Date: Thu, 10 Dec 2020 20:12:50 +0100 Subject: [PATCH] Link fixes and update preparations --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 97e21ef..2d4453a 100755 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ When you run the bot manually you can choose from 2 types of data storage: ### In-memory storage -In memory data storage is pretty simple: Just download the [jar](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.1/UntisBot-1.0.jar) and run it with `java -jar UntisBot-1.0.jar token=`. +In memory data storage is pretty simple: Just download the [jar](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.1.1/UntisBot-1.1.1.jar) and run it with `java -jar UntisBot-.jar token=`. The simple things have unfortunately also often disadvantages: The user data is only stored as long as the bot is running. If you shut it down, all data will be lost. If you want to keep the data even after a shutdown, you should use [database storage](#MariaDB). @@ -84,7 +84,7 @@ To set up the database, you have to execute the following command and replace `< mysql -u -p -e "CREATE DATABASE Untis; USE Untis; $(wget -qO- https://raw.githubusercontent.com/ByteDream/untisbot-discord/master/files/database.sql)" ``` -Now you have set up the database and are ready to go. Download the [jar](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.1/UntisBot-1.0.jar) and run it with `java -jar UntisBot-1.0.jar mariadb`. +Now you have set up the database and are ready to go. Download the [jar](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.1/UntisBot-1.1.1.jar) and run it with `java -jar UntisBot-.jar mariadb`. ## Run options @@ -130,7 +130,7 @@ If you want to use MariaDB as store type you have to add the argument `mariadb` --- -Alternatively, you can write the arguments in a `json` file and load this via `java -jar UntisBot-1.0.jar file=` +Alternatively, you can write the arguments in a `json` file and load this via `java -jar UntisBot-.jar file=` Example: ```json @@ -146,12 +146,12 @@ This might be useful when you run the bot on a server and won't that your token --- In-memory examples: - - `UntisBot-1.0.jar token=BLySFrzvz3tAHtquQevY1FF5W8CT0UMyMNmCSUCbJAPdNAmnnqYVBzaPTkz` - - `UntisBot-1.0.jar token=BLySFrzvz3tAHtquQevY1FF5W8CT0UMyMNmCSUCbJAPdNAmnnqYVBzaPTkz encrypt=super_secure_password lng=/home/user/more_languages.json` + - `UntisBot-.jar token=BLySFrzvz3tAHtquQevY1FF5W8CT0UMyMNmCSUCbJAPdNAmnnqYVBzaPTkz` + - `UntisBot-.jar token=BLySFrzvz3tAHtquQevY1FF5W8CT0UMyMNmCSUCbJAPdNAmnnqYVBzaPTkz encrypt=super_secure_password lng=/home/user/more_languages.json` MariaDB examples: - - `UntisBot-1.0.jar mariadb token=BLySFrzvz3tAHtquQevY1FF5W8CT0UMyMNmCSUCbJAPdNAmnnqYVBzaPTkz encrypt=super_ultra_secure_password` - - `UntisBot-1.0.jar mariadb token=BLySFrzvz3tAHtquQevY1FF5W8CT0UMyMNmCSUCbJAPdNAmnnqYVBzaPTkz encrypt=super_ultra_secure_password user=untis password=toor` + - `UntisBot-.jar mariadb token=BLySFrzvz3tAHtquQevY1FF5W8CT0UMyMNmCSUCbJAPdNAmnnqYVBzaPTkz encrypt=super_ultra_secure_password` + - `UntisBot-.jar mariadb token=BLySFrzvz3tAHtquQevY1FF5W8CT0UMyMNmCSUCbJAPdNAmnnqYVBzaPTkz encrypt=super_ultra_secure_password user=untis password=toor` ## Language @@ -171,7 +171,7 @@ If you want to add a language which isn't supported you can - [Database client](https://github.com/mariadb-corporation/mariadb-connector-j) (mariadb java client) - [Logger](https://github.com/qos-ch/logback) (logback-core and logback-classic) -**_Note_: The [UntisBot jar file](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.1/UntisBot-1.0.jar) and the [Dockerfile](Dockerfile) are containing all dependencies.** +**_Note_: The [UntisBot jar file](https://github.com/ByteDream/untisbot-discord/releases/tag/v1.1.1/UntisBot-1.1.1.jar) and the [Dockerfile](Dockerfile) are containing all dependencies.** ## License