From c7d259a122ebd8300d84914032e247a5cc4a7f01 Mon Sep 17 00:00:00 2001 From: Myles Date: Wed, 7 Dec 2022 21:13:33 -0600 Subject: add feature: seperate winning player tp --- src/main/resources/config.yml | 10 ++++++++++ src/main/resources/plugin.yml | 8 ++++++++ 2 files changed, 18 insertions(+) (limited to 'src/main/resources') diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index a881556..0f059f2 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -10,6 +10,16 @@ permissionMessage: You do not have permission to perform this command! # Default is mixed gameMode: mixed +# Customize the place that the winner is teleported after a game ends +# This is an optional value +# Default is nothing +winnerTeleport: + # These coordinates cannot be zero! The teleport will fail if any of them are. + # Use something like 0.5 instead. + x: + y: + z: + # This tells the plugin which worlds it should use as the lobby/game worlds # Do NOT change unless you know what you're doing!! # Will be blank by default diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index dd24bcc..3dc3b90 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -22,6 +22,11 @@ commands: description: Force starts a Tumble match. usage: '§cUsage: /tumble:start' permission: start + winlocation: + description: Links the location to teleport the winning player of a game. + usage: '§cUsage: /tumble:winlocation ' + permission: winlocation + aliases: [win-location, winloc, win-loc] permissions: reload: description: Allows you to reload the plugin's config. @@ -32,3 +37,6 @@ permissions: start: description: Allows you to start a Tumble match. default: op + winlocation: + description: Allows you to link a win location. + default: op -- cgit v1.2.3