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.14' author = 'J00LZ' depend = ['VoidPlugin'] commands { spawn { description = "Warp to the worldspawn" } home { description = "Teleport to a home" } sethome { description = "Set a home" } delhome { description = "Delete a home" } homes{ description = "List all your homes" } 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" } tphere{ description = "Request a player to teleport to you" } tpaccept { description = "Accept a teleport request" } tpdeny { description = "Deny a teleport request" } back{ description = "Go back to your previous location" } } 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") } } }