VoidPlugin/VoidTeleport/build.gradle

54 lines
1.2 KiB
Groovy

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.teleportplugin.VoidTeleport"
apiVersion = '1.13'
author = 'J00LZ'
depend = ['VoidPlugin']
commands {
home {
description = "Teleport to a home"
}
sethome {
description = "Set a home"
}
delhome {
description = "Delete a home"
}
warp {
description = "Warp to a location"
}
spawn {
description = "Warp to the worldspawn"
}
}
permissions {
'voidteleport.*' {
children = ['voidteleport.setspawn']
}
'voidteleport.home' {
description = "Allows setting a home and teleporting to it"
setDefault("true")
}
'voidteleport.setspawn' {
description = "Allows setting the worldspawn to a different location"
setDefault("OP")
}
'voidteleport.spawn' {
description = "Allows usage of the spawn command"
setDefault("true")
}
}
}