/Graphite

A drop-in replacement for Purpur adding some features and enhancements to the game

Primary LanguageShellMIT LicenseMIT

Graphite

Build Status CodeFactor Grade


A fork of Purpur and Paper adding customisation options to the server.

This project would not be possible without the two projects above so please also check them out!


How To (Server Admins)

Graphite compiles a Paperclip jar file that you use to run the server, it is ran like a normal jar file.

Direct Download (Latest 1.20.1)

All Released Versions

For a full guide on how to run the server file, visit our documentation page.


How To (Plugin Developers)

  • See API patches here
  • See server patches here

Repository (Graphite-API)

  • Maven

<repository>
    <id>graphitemc</id>
    <url>https://repo.graphitemc.org/releases</url>
</repository>

<dependency>
    <groupId>org.graphitemc.graphite</groupId>
    <artifactId>graphite-api</artifactId>
    <version>1.20.1-R0.1-SNAPSHOT</version>
    <scope>provided</scope>
</dependency>
  • Gradle

repositories {
    maven("https://repo.graphitemc.org/releases")
}

dependencies {
    compileOnly("org.graphitemc.graphite:graphite-api:1.20.1-R0.1-SNAPSHOT")
}

Repository (dev-bundle)

For more on Paperweight.

plugins {
    id("io.papermc.paperweight.userdev") version "1.5.5"
}

repositories {
    maven("https://repo.graphitemc.org/releases")
}

dependencies {
    paperweight.devBundle("org.graphitemc.graphite", "1.20.1-R0.1-SNAPSHOT")
}

How To (Source Compiling)

To compile Graphite you require JDK 17 and an internet connection.

  1. Clone the Graphite repository to your machine.
  2. Run ./gradlew applyPatches and when that completes run ./gradlew createReobfBundlerJar in your terminal.
  3. Move the compiled jar found in build/libs to your server folder and run it.

If you find the process is too slow whilst compiling or applying patches, try using WSL2 or Linux.