2019-08-25 01:19:27 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
|
|
id 'com.github.johnrengelman.shadow'
|
|
|
|
id 'net.minecrell.plugin-yml.bukkit'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly project(":VoidPlugin")
|
|
|
|
}
|
|
|
|
|
|
|
|
bukkit {
|
|
|
|
main = "nl.voidcorp.adminplugin.VoidAdmin"
|
2019-08-25 20:02:11 +02:00
|
|
|
apiVersion = '1.14'
|
2019-08-25 01:19:27 +02:00
|
|
|
author = 'J00LZ'
|
|
|
|
depend = ['VoidPlugin']
|
|
|
|
commands {
|
|
|
|
heal {
|
|
|
|
description = "Heal yourself (if you have the permissions to do so)"
|
|
|
|
permission = 'voidplugin.heal'
|
|
|
|
permissionMessage = 'You are not allowed to heal yourself!'
|
|
|
|
}
|
|
|
|
notifybar {
|
|
|
|
description = "Show a notificationbar to all users"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
permissions {
|
|
|
|
'voidplugin.*' {
|
|
|
|
children = ['voidplugin.heal']
|
|
|
|
}
|
|
|
|
'voidplugin.heal' {
|
|
|
|
description = 'Allows you to heal'
|
|
|
|
setDefault('OP') // 'TRUE', 'FALSE', 'OP' or 'NOT_OP'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|