From da972283b3e787eeb4f70999fb94612da5960afa Mon Sep 17 00:00:00 2001 From: Myles Date: Sat, 26 Nov 2022 21:23:29 -0600 Subject: rename StartGame to start --- src/main/java/com/MylesAndMore/tumble/Main.java | 2 +- src/main/resources/plugin.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main/java/com/MylesAndMore/tumble/Main.java b/src/main/java/com/MylesAndMore/tumble/Main.java index 30c8141..c376f2c 100644 --- a/src/main/java/com/MylesAndMore/tumble/Main.java +++ b/src/main/java/com/MylesAndMore/tumble/Main.java @@ -14,7 +14,7 @@ public class Main extends JavaPlugin{ // Register commands this.getCommand("reload").setExecutor(new ReloadCommand()); this.getCommand("setworld").setExecutor(new SetWorldConfig()); - this.getCommand("startgame").setExecutor(new StartGame()); + this.getCommand("start").setExecutor(new StartGame()); // Save the default config file (packaged in the JAR) this.saveDefaultConfig(); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 71cc531..06e85ef 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -18,7 +18,7 @@ commands: usage: /tumble:setworld lobby|game permission: setworld aliases: [set-world] - startgame: + start: description: Force starts a Tumble match. usage: /tumble:startgame permission: startgame @@ -30,6 +30,6 @@ permissions: setworld: description: Allows you to set a world on the server as a lobby/game world. default: op - startgame: + start: description: Allows you to start a Tumble match. default: op -- cgit v1.2.3