Repository containing all of BetterPvP's plugins for 1.21.
Clone this repository and open it with your IDE of choice:
git clone https://github.com/Mykindos/BetterPvP.git
Create your MariaDB and Redis servers. If you have Docker installed, you can use the bundled docker-compose.yml
file to create both servers by running the setup.sh
script in the docker
folder
Compile the project using the Gradle task assemble
to properly shade all project dependencies:
./gradlew assemble
Copy the generated jar files from ./build
into your server's plugins
folder.
In your plugins folder, make sure to also include ProtocolLib and LibsDisguises as they are required dependencies.
Start your server and wait for all plugins to load. You should get an error saying that the server couldn't establish a connection to the database.
In the generated plugin folders, open the config.yml
file in each one of them and fill in the required information.
Core
specifically, fill in all database details:
ip
: The host of your MySQL serverdatabaseName
: The name of the database to useusername
: The username of an account with access to the databasepassword
: The password of the account with access to the databaseRestart your server.