adding Worldguard, Citizens, ProtocolLib
This commit is contained in:
1 parent
12e76b7316
commit
a43f27923e
2 files changed
+21
-4
No files matched your search
+18
-1
@@ -4,7 +4,7 @@ import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit.ServerVersion.*
|
|||||||
|
|
||||||
private val worldEdit = "com.sk89q.worldedit"
|
private val worldEdit = "com.sk89q.worldedit"
|
||||||
|
|
||||||
// TODO: Pex, luckperms, plotsquared, multiverse, worldguard
|
// TODO: plotsquared, multiverse
|
||||||
|
|
||||||
val ALL_PLUGINS = listOf(
|
val ALL_PLUGINS = listOf(
|
||||||
Plugin(
|
Plugin(
|
||||||
@@ -19,6 +19,23 @@ val ALL_PLUGINS = listOf(
|
|||||||
,
|
,
|
||||||
setOf("http://maven.sk89q.com/repo/")
|
setOf("http://maven.sk89q.com/repo/")
|
||||||
),
|
),
|
||||||
|
Plugin(
|
||||||
|
"WorldGuard",
|
||||||
|
listOf(v1_8, v1_9, v1_12).asPluginVersion("6.1") { setOf("com.sk89q:worldguard:$it") }
|
||||||
|
+ listOf(v1_13, v1_14, v1_15, v1_16).asPluginVersion("7.0.4-SNAPSHOT") { setOf("com.sk89q.worldguard:worldguard-core:$it", "com.sk89q.worldguard:worldguard-bukkit:$it") }
|
||||||
|
,
|
||||||
|
setOf("http://maven.sk89q.com/repo/")
|
||||||
|
),
|
||||||
|
Plugin(
|
||||||
|
"Citizens",
|
||||||
|
allVersion("2.0.27-SNAPSHOT") { setOf("net.citizensnpcs:citizensapi:$it", "net.citizensnpcs:citizens:$it") },
|
||||||
|
setOf("http://repo.citizensnpcs.co/")
|
||||||
|
),
|
||||||
|
Plugin(
|
||||||
|
"LuckPerms",
|
||||||
|
allVersion("5.1") { setOf("net.luckperms:api:$it") },
|
||||||
|
setOf() // mavenCentral
|
||||||
|
),
|
||||||
Plugin(
|
Plugin(
|
||||||
"ProtocolLib",
|
"ProtocolLib",
|
||||||
allVersion("4.5.1") { setOf("com.comphenix.protocol:ProtocolLib:$it") },
|
allVersion("4.5.1") { setOf("com.comphenix.protocol:ProtocolLib:$it") },
|
||||||
|
|||||||
+3
-3
@@ -82,9 +82,9 @@ fun generateGradleBuildFileContent(
|
|||||||
|bukkit {
|
|bukkit {
|
||||||
| main = "${packageName}.${pluginMainName}"
|
| main = "${packageName}.${pluginMainName}"
|
||||||
| depend = listOf("KotlinBukkitAPI"${plugins.mapIfNotBlank { ", $it" }})
|
| depend = listOf("KotlinBukkitAPI"${plugins.mapIfNotBlank { ", $it" }})
|
||||||
| ${description.mapIfNotBlank { "description = \"$it\"" }}
|
| description = "$description"
|
||||||
| ${author.mapIfNotBlank { "author = \"$it\"" }}
|
| author = "$author"
|
||||||
| ${website.mapIfNotBlank { "website = \"$it\"" }}
|
| website = "$website"
|
||||||
|}
|
|}
|
||||||
|
|
|
|
||||||
|tasks {
|
|tasks {
|
||||||
|
|||||||
Reference in new issue
Block a user