Repository containing all of BetterPvP's plugins for 1.21.11
-
Docker or for Windows and Mac users Docker Desktop
-
ProtocolLib (required for some plugins)
-
Nexo (soft, used by: Clans, Hub)
-
MythicMobs (soft, used by: Clans)
-
ModelEngine (soft, used by: Clans, Game, Hub)
-
A Postgres server (Bundled)
-
Clone this repository and open it with your IDE of choice:
git clone https://github.com/Mykindos/BetterPvP.git
-
Create your Postgres server. If you have Docker installed, you can use the bundled
docker-compose.ymlfile to create both servers by running thesetup.shscript in thedockerfolder -
Compile the project using the Gradle task
assembleto properly shade all project dependencies:./gradlew assemble
-
Copy the generated jar files from
./buildinto your server'spluginsfolder. -
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.ymlfile in each one of them and fill in the required information.- NOTE: You only need to do this if you are not using the bundled docker solution
- For
Corespecifically, fill in all database details:ip: The host of your Postgres 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
-
Restart your server.