VoidPlugin/VoidAdmin/build.gradle

32 lines
779 B
Groovy

dependencies {
compileOnly project(":VoidPlugin")
}
bukkit {
main = "nl.voidcorp.adminplugin.VoidAdmin"
apiVersion = '1.14'
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'
}
}
}