Utilise the new Prism API (#101)

* Start changes to use the new Prism API

Currently, the Prism API doesn't support rollback so pushing the changes until such time the API allows you to rollback and/or restore modifications

* Modified the API to use the new modification services

* Only rollback activities that has occurred in previous 24 hours upon ban

* code formatting [skip-ci]
This commit is contained in:
Nathan Curran
2026-05-18 06:03:45 +10:00
committed by GitHub
parent ab26f707d8
commit c4bd65e7e0
4 changed files with 46 additions and 29 deletions
+3 -2
View File
@@ -15,6 +15,7 @@ plugins {
repositories {
maven(url = uri("https://maven.playpro.com"))
maven(url = uri("https://nexus.telesphoreo.me/repository/plex-modules/"))
maven(url = uri("https://nexus.prism-mc.org/repository/maven-snapshots/"))
}
dependencies {
@@ -29,7 +30,7 @@ dependencies {
exclude("org.bukkit", "bukkit")
}
compileOnly("net.coreprotect:coreprotect:23.2")
compileOnly("network.darkhelmet.prism:Prism-Api:1.0.0")
compileOnly("org.prism_mc.prism:prism-paper-api:4.3-SNAPSHOT")
compileOnly("com.github.LeonMangler:SuperVanish:6.2.19")
implementation("org.bstats:bstats-base:3.2.1")
implementation("org.bstats:bstats-bukkit:3.2.1")
@@ -65,7 +66,7 @@ paper {
required = false
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
}
register("Prism") {
register("prism") {
required = false
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
}