diff options
author | Myles <43725835+MylesAndMore@users.noreply.github.com> | 2022-12-08 18:28:46 +0000 |
---|---|---|
committer | Myles <43725835+MylesAndMore@users.noreply.github.com> | 2022-12-08 18:28:46 +0000 |
commit | 08189436cff46ecd50979bc0d70a3ccf026ec00d (patch) | |
tree | b70d95dcb2cd2e3f416d91fac514a2f07fe84cef /src/main/resources | |
parent | fe547e5b0767616d7ea1b4f94c57566589dbf4c3 (diff) | |
download | Tumble-08189436cff46ecd50979bc0d70a3ccf026ec00d.tar.gz Tumble-08189436cff46ecd50979bc0d70a3ccf026ec00d.tar.bz2 Tumble-08189436cff46ecd50979bc0d70a3ccf026ec00d.zip |
add autostart config and command
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/config.yml | 26 | ||||
-rw-r--r-- | src/main/resources/plugin.yml | 10 |
2 files changed, 24 insertions, 12 deletions
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 0f059f2..6c5e0a6 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -10,19 +10,23 @@ permissionMessage: You do not have permission to perform this command! # Default is mixed gameMode: mixed +# Customize the auto start feature of Tumble +# Defaults are disabled and two players +# Players can be up to 8 +autoStart: + enabled: false + players: 2 + # 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: +# Keep in mind that these coordinates cannot be zero! The teleport will fail if any of them are; use something like 0.5 instead. +# These are optional values--defaults are nothing +winnerTeleport: + 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 -lobbyWorld: -# Game world -gameWorld:
\ No newline at end of file +lobbyWorld: +gameWorld:
\ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 7066a27..ac394bf 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -20,13 +20,18 @@ commands: aliases: [linkworld, link-world] start: description: Force starts a Tumble match with an optional game type. - usage: '§cUsage: /tumble:start [gametype]' + usage: '§cUsage: /tumble:start [gameType]' 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] + autostart: + description: Configures the auto start functions of Tumble. + usage: '§cUsage: /tumble:autostart <playerAmount> [enable|disable]' + permission: autostart + aliases: [auto-start] permissions: reload: description: Allows you to reload the plugin's config. @@ -40,3 +45,6 @@ permissions: winlocation: description: Allows you to link a win location. default: op + autostart: + description: Allows you to set the autostart details of Tumble. + default: op |