aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorMyles <43725835+MylesAndMore@users.noreply.github.com>2022-12-13 14:16:59 -0600
committerGitHub <noreply@github.com>2022-12-13 14:16:59 -0600
commit6739bbb14d03bd215f8c7d72dc14d961b6bc175e (patch)
treee2c680914445931fdfad35169eb17dd0404301f5 /src/main/resources
parentcea002dc786f7826a1a3faef26fb659e3d8e908e (diff)
parentcbafd10bc90273a263d019faeccb356ead442eb1 (diff)
downloadTumble-6739bbb14d03bd215f8c7d72dc14d961b6bc175e.tar.gz
Tumble-6739bbb14d03bd215f8c7d72dc14d961b6bc175e.tar.bz2
Tumble-6739bbb14d03bd215f8c7d72dc14d961b6bc175e.zip
Merge pull request #1 from MylesAndMore/beta
merge beta to main for release
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/config.yml32
-rw-r--r--src/main/resources/plugin.yml26
2 files changed, 44 insertions, 14 deletions
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml
index b2ba268..ee2a2c7 100644
--- a/src/main/resources/config.yml
+++ b/src/main/resources/config.yml
@@ -1,18 +1,32 @@
+# Customize the default game mode of Tumble
+# Acceptable options include: shovels, snowballs, mixed
+# Default is mixed
+gameMode: mixed
+
# Hides join/leave messages in public chat
-# Default is true
-hideJoinLeaveMessages: true
+# Default is false
+hideJoinLeaveMessages: false
# Customize the message that displays when the player does not have permission to execute a command from this plugin
permissionMessage: You do not have permission to perform this command!
-# Customize the game mode of Tumble
-# Acceptable options include: shovels, snowballs, mixed
-# Default is shovels
-gameMode: shovels
+# Customize the auto start feature of Tumble
+# Defaults are false 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
+# 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 dd24bcc..c78eece 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,7 +1,7 @@
main: com.MylesAndMore.tumble.Main
name: tumble
-version: 0.0.1-SNAPSHOT
-description: 'A Minecraft: Java Edition plugin recreating the Tumble minigame from Minecraft: Xbox 360 Edition.'
+version: 1.0.0
+description: 'A Minecraft: Java Edition plugin recreating the Tumble minigame from Minecraft Legacy Console Edition.'
api-version: 1.19
load: STARTUP
author: MylesAndMore
@@ -15,13 +15,23 @@ commands:
permission: reload
link:
description: Links a world on the server as a lobby/game world.
- usage: '§cUsage: /tumble:link <world> lobby|game'
+ usage: '§cUsage: /tumble:link <world> (lobby|game)'
permission: link
aliases: [linkworld, link-world]
start:
- description: Force starts a Tumble match.
- usage: '§cUsage: /tumble:start'
+ description: Force starts a Tumble match with an optional game type.
+ 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.
@@ -32,3 +42,9 @@ permissions:
start:
description: Allows you to start a Tumble match.
default: op
+ winlocation:
+ description: Allows you to link a win location.
+ default: op
+ autostart:
+ description: Allows you to set the autostart details of Tumble.
+ default: op