Skip to content

Commit

Permalink
chore(deps): add PlaceholderAPI dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Silthus committed Feb 20, 2022
1 parent 14d014f commit 09f0dea
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build-logic/src/main/kotlin/schat.api.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ repositories {
includeGroup("com.comphenix.protocol")
}
}
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/") {
content {
includeGroup("me.clip")
}
}
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies {
implementation(libs.spigot)

implementation(libs.protocollib)
implementation(libs.placeholderapi)
implementation(libs.cloud.commands.paper)
implementation(libs.adventure.platform.bukkit)

Expand Down
32 changes: 32 additions & 0 deletions bukkit/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
main: net.silthus.schat.bukkit.BukkitLoader
name: sChat
version: ${version}
author: Silthus
api-version: 1.13
load: STARTUP
depend:
- ProtocolLib
softdepend:
- PlaceholderAPI
- WorldGuard
permissions:
schat.player:
description: Contains all basic player permissions for using sChat.
default: "true"
children:
schat.player.channel: true
schat.player.channel.join: true
schat.player.channel.leave: true
schat.player.channel.quickmessage: true
schat.player.directmessage: true
schat.admin:
description: Contains all admin permissions for sChat.
default: op
children:
schat.admin.reload: true
schat.admin.broadcast: true
schat.message.select: true
schat.message.delete: true
schat.nickname.set: true
schat.nickname.set.blocked: true
schat.nickname.set.others: true
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ velocity = "3.0.1"
protocollib = "4.7.0"
bstats = "3.0.0"
mockbukkit = "1.15.5"
placeholderapi = "2.11.1"

checkerframework = "3.21.2"
junit-jupiter = "5.8.1"
Expand Down Expand Up @@ -91,6 +92,7 @@ cloud-commands-paper = { module = "cloud.commandframework:cloud-paper", version.
protocollib = { module = "com.comphenix.protocol:ProtocolLib", version.ref = "protocollib" }
bstats-bukkit = { module = "org.bstats:bstats-bukkit", version.ref = "bstats" }
mockbukkit = { module = "com.github.seeseemelk:MockBukkit-v1.18", version.ref = "mockbukkit" }
placeholderapi = { module = "me.clip:placeholderapi", version.ref = "placeholderapi" }

[bundles]
testing-api = [
Expand Down

0 comments on commit 09f0dea

Please sign in to comment.