aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorMyles <mylesandmore9@gmail.com>2022-12-07 21:13:33 -0600
committerMyles <mylesandmore9@gmail.com>2022-12-07 21:13:33 -0600
commitc7d259a122ebd8300d84914032e247a5cc4a7f01 (patch)
tree00fa7092bbb4923bc4a570288918d602e09a43a5 /src/main/resources
parent1a8b11f68e1e8089f5c145e4dc7335c296d5e6a4 (diff)
downloadTumble-c7d259a122ebd8300d84914032e247a5cc4a7f01.tar.gz
Tumble-c7d259a122ebd8300d84914032e247a5cc4a7f01.tar.bz2
Tumble-c7d259a122ebd8300d84914032e247a5cc4a7f01.zip
add feature: seperate winning player tp
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/config.yml10
-rw-r--r--src/main/resources/plugin.yml8
2 files changed, 18 insertions, 0 deletions
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 <x> <y> <z>'
+ 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