Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 693 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 693 Bytes

mks-demo Project

This project is an example exercise Spigot plugin, that saves the coordinates of opened trapdoors in a MySQL database. For inserting and deleting from the database, a QueueManager class is used that manages the data in the background to avoid problems if a player should spam a trapdoor.

This plugin utilizes the kotlin-commons Gigadrive library.

Requirements

  • Spigot 1.16.5
  • MySQL
  • Java 8
  • Gradle 6.7

Docker Database

In order to quickly start a MySQL server, run the following Docker command:

docker run -e MYSQL_ROOT_PASSWORD=password -e MYSQL_ROOT_HOST=% -d -p 3306:3306 mysql/mysql-server:5.7