From ce0445896f5a175446e027e568d5232b11780e53 Mon Sep 17 00:00:00 2001 From: sowgro Date: Tue, 2 Jul 2024 02:07:28 -0400 Subject: remove camelcase command names due to issues with autocomplete --- OG_GUIDE.md | 16 ++++++++-------- README.md | 14 ++++++++------ .../com/MylesAndMore/Tumble/commands/ForceStart.java | 4 ++-- .../java/com/MylesAndMore/Tumble/commands/ForceStop.java | 4 ++-- .../com/MylesAndMore/Tumble/commands/SetGameSpawn.java | 4 ++-- .../com/MylesAndMore/Tumble/commands/SetKillYLevel.java | 4 ++-- .../java/com/MylesAndMore/Tumble/commands/SetLobby.java | 4 ++-- .../com/MylesAndMore/Tumble/commands/SetWaitArea.java | 4 ++-- .../com/MylesAndMore/Tumble/commands/SetWinnerLobby.java | 4 ++-- src/main/resources/plugin.yml | 14 +++++++------- 10 files changed, 37 insertions(+), 35 deletions(-) diff --git a/OG_GUIDE.md b/OG_GUIDE.md index 32b57a8..1ddf924 100644 --- a/OG_GUIDE.md +++ b/OG_GUIDE.md @@ -7,7 +7,7 @@ In this guide, I'll go over how to set up the Tumble plugin with the original ga ## Steps 1. Download this plugin and [Multiverse-Core](https://www.spigotmc.org/resources/multiverse-core.390/). Place them in your plugins directory -1. Download the worlds and unzip them into your server's worlds directory. +2. Download the worlds and unzip them into your server's worlds directory. - [Lobby](https://www.theminecraftarchitect.com/mini-game-maps/2017-mini-game-lobby) (Rename folder to 'lobby' after unzipping) - [Normal Arena](https://publicfiles.sowgro.net/console-minigame-maps/java/tumble/) - [Festive Arena](https://publicfiles.sowgro.net/console-minigame-maps/java/tumble/) @@ -16,12 +16,12 @@ In this guide, I'll go over how to set up the Tumble plugin with the original ga Tip: set a specific directory to store your worlds in with the `world-container` setting in `bukkit.yml` -1. Set `level-name` in server.properities to `lobby` -2. Take note of the names of the world folders, we will need this in a moment. -3. Start and join your server. -4. Import your arena worlds. This can be done with the multiverse command `/mv import normal` +3. Set `level-name` in server.properities to `lobby` +4. Take note of the names of the world folders, we will need this in a moment. +5. Start and join your server. +6. Import your arena worlds. This can be done with the multiverse command `/mv import normal` -5. Paste the arena config below into `plugins/tumble/arenas.yml`: +7. Paste the arena config below into `plugins/tumble/arenas.yml`: ```yaml arenas: basic: @@ -93,9 +93,9 @@ In this guide, I'll go over how to set up the Tumble plugin with the original ga Z: -340.5 world: lobby ``` -6. Reload the plugin with `/tmbl reload`. +8. Reload the plugin with `/tmbl reload`. -7. Join the game by using `/tmbl join basic Mixed` +9. Join the game using `/tmbl join basic mixed` (swap the arena and game type for whichever one you want to play). You're done! Happy playing! diff --git a/README.md b/README.md index d40a481..5a83f02 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ Tumble is a Spigot/Paper plugin that aims to recreate the Tumble minigame from t ## What *is* Tumble? -If you've never heard of it, [Tumble](https://minecraft.wiki/w/tumble) is a twist on the classic Minecraft minigame of spleef, where the objective is to break the blocks under your opponents. But in Tumble, you play on randomly generated layers of blocks, using shovels, snowballs, or both to try and eliminate your opponents. +If you've never heard of it, [Tumble](https://minecraft.wiki/w/tumble) is a twist on the classic Minecraft minigame of spleef, where the objective is to break the blocks under your opponents. +But in Tumble, you play on randomly generated layers of blocks, using shovels, snowballs, or both to try and eliminate your opponents. ## Features @@ -29,6 +30,7 @@ If you've never heard of it, [Tumble](https://minecraft.wiki/w/tumble) is a twis 3. Start your server. 4. Import your worlds using a plugin like Multiverse. ```/mv import myWorld normal```. 5. Create your first arena `/tmbl create myArena` +6. Set the spawn point of the arena `/tmbl setgamespawn myArena` - **Note**: The layers will generate relative to this location. Ensure that the area is clear, 20 blocks in each direction. 7. You're done! You can now join the game ```/tmbl join myArena mixed```. @@ -46,11 +48,11 @@ Scroll down for more options to configure your game. | `/tmbl reload` | Reload the plugin's configs. | `tumble.reload` | | `/tmbl create ` | Create a new arena | `tumble.create` | | `/tmbl remove ` | Remove an arena | `tumble.remove` | -| `/tmbl setGameSpawn ` | Set game spawn to your current position | `tumble.setGameSpawn` | -| `/tmbl setKillYLevel ` | Set the arena's Y-level to kill players at to current Y coordinate | `tumble.setKillYLevel` | -| `/tmbl setLobby ` | Set the arena's lobby to current location | `tumble.setLobby` | -| `/tmbl setWaitArea ` | Set the arena's wait area to the current location | `tumble.setWaitArea` | -| `/tmbl setWinnerLobby ` | Set the arena's lobby to the current location | `tumble.setWinnerLobby` | +| `/tmbl setgamespawn ` | Set game spawn to your current position | `tumble.setgamespawn` | +| `/tmbl setkillylevel ` | Set the arena's Y-level to kill players at to current Y coordinate | `tumble.setkillylevel` | +| `/tmbl setlobby ` | Set the arena's lobby to current location | `tumble.setlobby` | +| `/tmbl setwaitarea ` | Set the arena's wait area to the current location | `tumble.setwaitarea` | +| `/tmbl setwinnerlobby ` | Set the arena's lobby to the current location | `tumble.setwinnerlobby` | ## Configuration diff --git a/src/main/java/com/MylesAndMore/Tumble/commands/ForceStart.java b/src/main/java/com/MylesAndMore/Tumble/commands/ForceStart.java index bf130ea..d05155d 100644 --- a/src/main/java/com/MylesAndMore/Tumble/commands/ForceStart.java +++ b/src/main/java/com/MylesAndMore/Tumble/commands/ForceStart.java @@ -19,12 +19,12 @@ public class ForceStart implements SubCommand, CommandExecutor, TabCompleter { @Override public String getCommandName() { - return "forceStart"; + return "forcestart"; } @Override public String getPermission() { - return "tumble.forceStart"; + return "tumble.forcestart"; } @Override diff --git a/src/main/java/com/MylesAndMore/Tumble/commands/ForceStop.java b/src/main/java/com/MylesAndMore/Tumble/commands/ForceStop.java index 8ab48c2..a69779a 100644 --- a/src/main/java/com/MylesAndMore/Tumble/commands/ForceStop.java +++ b/src/main/java/com/MylesAndMore/Tumble/commands/ForceStop.java @@ -19,12 +19,12 @@ public class ForceStop implements SubCommand, CommandExecutor, TabCompleter { @Override public String getCommandName() { - return "forceStop"; + return "forcestop"; } @Override public String getPermission() { - return "tumble.forceStop"; + return "tumble.forcestop"; } @Override diff --git a/src/main/java/com/MylesAndMore/Tumble/commands/SetGameSpawn.java b/src/main/java/com/MylesAndMore/Tumble/commands/SetGameSpawn.java index b98d186..7711de9 100644 --- a/src/main/java/com/MylesAndMore/Tumble/commands/SetGameSpawn.java +++ b/src/main/java/com/MylesAndMore/Tumble/commands/SetGameSpawn.java @@ -18,12 +18,12 @@ import static com.MylesAndMore.Tumble.Main.languageManager; public class SetGameSpawn implements SubCommand, CommandExecutor, TabCompleter { @Override public String getCommandName() { - return "setGameSpawn"; + return "setgamespawn"; } @Override public String getPermission() { - return "tumble.setGameSpawn"; + return "tumble.setgamespawn"; } @Override diff --git a/src/main/java/com/MylesAndMore/Tumble/commands/SetKillYLevel.java b/src/main/java/com/MylesAndMore/Tumble/commands/SetKillYLevel.java index c6f7891..6e2a59e 100644 --- a/src/main/java/com/MylesAndMore/Tumble/commands/SetKillYLevel.java +++ b/src/main/java/com/MylesAndMore/Tumble/commands/SetKillYLevel.java @@ -19,12 +19,12 @@ public class SetKillYLevel implements SubCommand, CommandExecutor, TabCompleter @Override public String getCommandName() { - return "setKillYLevel"; + return "setkillylevel"; } @Override public String getPermission() { - return "tumble.setKillYLevel"; + return "tumble.setkillylevel"; } @Override diff --git a/src/main/java/com/MylesAndMore/Tumble/commands/SetLobby.java b/src/main/java/com/MylesAndMore/Tumble/commands/SetLobby.java index 85e9fd8..3dedf50 100644 --- a/src/main/java/com/MylesAndMore/Tumble/commands/SetLobby.java +++ b/src/main/java/com/MylesAndMore/Tumble/commands/SetLobby.java @@ -18,12 +18,12 @@ import static com.MylesAndMore.Tumble.Main.languageManager; public class SetLobby implements SubCommand, CommandExecutor, TabCompleter { @Override public String getCommandName() { - return "setLobby"; + return "setlobby"; } @Override public String getPermission() { - return "tumble.setLobby"; + return "tumble.setlobby"; } @Override diff --git a/src/main/java/com/MylesAndMore/Tumble/commands/SetWaitArea.java b/src/main/java/com/MylesAndMore/Tumble/commands/SetWaitArea.java index be97431..d00a0cb 100644 --- a/src/main/java/com/MylesAndMore/Tumble/commands/SetWaitArea.java +++ b/src/main/java/com/MylesAndMore/Tumble/commands/SetWaitArea.java @@ -18,12 +18,12 @@ import static com.MylesAndMore.Tumble.Main.languageManager; public class SetWaitArea implements SubCommand, CommandExecutor, TabCompleter { @Override public String getCommandName() { - return "setWaitArea"; + return "setwaitarea"; } @Override public String getPermission() { - return "tumble.setWaitArea"; + return "tumble.setwaitarea"; } @Override diff --git a/src/main/java/com/MylesAndMore/Tumble/commands/SetWinnerLobby.java b/src/main/java/com/MylesAndMore/Tumble/commands/SetWinnerLobby.java index 6e4550f..f40344e 100644 --- a/src/main/java/com/MylesAndMore/Tumble/commands/SetWinnerLobby.java +++ b/src/main/java/com/MylesAndMore/Tumble/commands/SetWinnerLobby.java @@ -18,12 +18,12 @@ import static com.MylesAndMore.Tumble.Main.languageManager; public class SetWinnerLobby implements SubCommand, CommandExecutor, TabCompleter { @Override public String getCommandName() { - return "setWinnerLobby"; + return "setwinnerlobby"; } @Override public String getPermission() { - return "tumble.setWinnerLobby"; + return "tumble.setwinnerlobby"; } @Override diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index feac687..c8085b8 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -21,9 +21,9 @@ permissions: tumble.leave: description: Allows you to leave a Tumble match. default: true - tumble.forceStart: + tumble.forcestart: default: op - tumble.forceStop: + tumble.forcestop: default: op tumble.reload: default: op @@ -31,14 +31,14 @@ permissions: default: op tumble.remove: default: op - tumble.setGameSpawn: + tumble.setgamespawn: default: op - tumble.setKillYLevel: + tumble.setkillylevel: default: op - tumble.setLobby: + tumble.setlobby: default: op - tumble.setWaitArea: + tumble.setwaitarea: default: op - tumble.setWinnerLobby: + tumble.setwinnerlobby: default: op -- cgit v1.2.3