Repository containing all of BetterPvP's plugins for 1.21.
- Java 21
- PaperSpigot
- Docker or for Windows and Mac users Docker Desktop
- ProtocolLib
- LibsDisguises
- A MariaDB server (Bundled)
- A Redis server (Bundled)
-
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 thesetup.sh
script in thedocker
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'splugins
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.- For
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 database
- For
-
Restart your server.