Beatrice
A simple Discord bot, which shows the server status of the Lost Ark server Beatrice.
Example
Usage
- Clone the repository.
- Edit the property files in the resources folder.
- Change the file extensions of the property files to
.properties
. - Build the .jar with maven
mvn package
Note: the project is written, build and tested with java 17, but may work with older versions too. - Deploy and enjoy :)
How it works
- Fetch the current server status from the unofficial Lost Ark API.
- Display the status in the presence of the Discord bot using JDA.
- Save the status to a MySQL database with HikariCP.
Why was this project created?
First of, this project was a way for me to get in contact with new ecosystems and learn about them, despite that it doesn't really have a use.
The thing I've learned the most about was SQL, I haven't ever set up a database or even written a single line of SQL, but I've worked with SQL databases on other projects in the past and even had I descend understanding of them. So I created this project as a way to get more familiar with it and collect some experience.
Besides, that I also focused on documentation, for example I used JavaDoc throughout the project, as well as this README.