VoidPlugin/VoidTeleport/build.gradle

87 lines
2.1 KiB
Groovy
Raw Normal View History

2019-08-20 17:21:56 +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.teleportplugin.VoidTeleport"
apiVersion = '1.13'
author = 'J00LZ'
depend = ['VoidPlugin']
commands {
spawn {
description = "Warp to the worldspawn"
}
2019-08-20 17:21:56 +02:00
home {
description = "Teleport to a home"
}
sethome {
description = "Set a home"
}
delhome {
description = "Delete a home"
}
homes{
description = "List all your homes"
}
2019-08-20 17:21:56 +02:00
warp {
description = "Warp to a location"
}
setwarp {
description = "Set a warp"
}
delwarp {
description = "Delete a warp"
}
warps{
description = "List all the warps"
}
tpa {
description = "Request to teleport to a player"
2019-08-20 17:21:56 +02:00
}
tpaccept {
description = "Accept a teleport request"
}
tpdeny {
description = "Deny a teleport request"
}
back{
description = "Go back to your previous location"
}
2019-08-20 17:21:56 +02:00
}
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")
}
'voidteleport.setwarp' {
description = "Allows setting warps"
setDefault("OP")
}
'voidteleport.warp' {
description = "Allows usage of the warp command"
setDefault("true")
}
2019-08-20 17:21:56 +02:00
}
}