Mykindos / BetterPvP

18 stars 23 forks source link

Repository containing all of BetterPvP's plugins for 1.21.

Dependencies:

Development Setup

  1. Clone this repository and open it with your IDE of choice:

    git clone https://github.com/Mykindos/BetterPvP.git
  2. 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

  3. Compile the project using the Gradle task assemble to properly shade all project dependencies:

    ./gradlew assemble
  4. Copy the generated jar files from ./build into your server's plugins folder.

  5. In your plugins folder, make sure to also include ProtocolLib and LibsDisguises as they are required dependencies.

  6. 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.

  7. 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 server
      • databaseName: The name of the database to use
      • username: The username of an account with access to the database
      • password: The password of the account with access to the database
  8. Restart your server.