diff --git a/README.md b/README.md index 45681ff..9653937 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# tumble +# Tumble ## Overview diff --git a/build.gradle b/build.gradle index 8692a34..d4e63dc 100644 --- a/build.gradle +++ b/build.gradle @@ -8,8 +8,8 @@ java { } } -group 'tumble' -version '1.0.1' +group 'Tumble' +version '1.0.2' repositories { // Use Maven Central for resolving dependencies. @@ -26,4 +26,4 @@ dependencies { compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT' // Multiverse dependency compileOnly 'com.onarandombox.multiversecore:Multiverse-Core:4.3.1' -} \ No newline at end of file +} diff --git a/og-guide.md b/og-guide.md index 5077e16..4a68875 100644 --- a/og-guide.md +++ b/og-guide.md @@ -1,4 +1,4 @@ -# tumble +# Tumble ## Guide for original worlds diff --git a/src/main/java/com/MylesAndMore/tumble/Main.java b/src/main/java/com/MylesAndMore/tumble/Main.java index 73dedf5..4dd4e25 100644 --- a/src/main/java/com/MylesAndMore/tumble/Main.java +++ b/src/main/java/com/MylesAndMore/tumble/Main.java @@ -25,15 +25,15 @@ public void onEnable() { // Check if worlds are null in config if (TumbleManager.getGameWorld() == null) { - Bukkit.getServer().getLogger().warning("[tumble] It appears you have not configured a game world for Tumble."); - Bukkit.getServer().getLogger().info("[tumble] If this is your first time running the plugin, you may disregard this message."); + Bukkit.getServer().getLogger().warning("[Tumble] It appears you have not configured a game world for Tumble."); + Bukkit.getServer().getLogger().info("[Tumble] If this is your first time running the plugin, you may disregard this message."); } if (TumbleManager.getLobbyWorld() == null) { - Bukkit.getServer().getLogger().warning("[tumble] It appears you have not configured a lobby world for Tumble."); - Bukkit.getServer().getLogger().info("[tumble] If this is your first time running the plugin, you may disregard this message."); + Bukkit.getServer().getLogger().warning("[Tumble] It appears you have not configured a lobby world for Tumble."); + Bukkit.getServer().getLogger().info("[Tumble] If this is your first time running the plugin, you may disregard this message."); } // Init message - Bukkit.getServer().getLogger().info("[tumble] Tumble successfully enabled!"); + Bukkit.getServer().getLogger().info("[Tumble] Tumble successfully enabled!"); } } \ No newline at end of file diff --git a/src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java b/src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java index 4b97d9a..b5339b5 100644 --- a/src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java +++ b/src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java @@ -12,7 +12,7 @@ public class SetAutoStart implements CommandExecutor{ @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { // Check if sender has perms to run command - if (sender.hasPermission("autostart")) { + if (sender.hasPermission("tumble.autostart")) { // Check if game and lobby worlds are null if (TumbleManager.getGameWorld() != null) { if (TumbleManager.getLobbyWorld() != null) { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 02dd899..a5e2e55 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ main: com.MylesAndMore.tumble.Main -name: tumble -version: 1.0.1 +name: Tumble +version: 1.0.2 description: 'A Minecraft: Java Edition plugin recreating the Tumble minigame from Minecraft Legacy Console Edition.' api-version: 1.19 load: STARTUP @@ -12,39 +12,39 @@ commands: reload: description: Reloads the plugin's config. usage: '§cUsage: /tumble:reload' - permission: reload + permission: tumble.reload link: description: Links a world on the server as a lobby/game world. usage: '§cUsage: /tumble:link (lobby|game)' - permission: link + permission: tumble.link aliases: [linkworld, link-world] start: description: Force starts a Tumble match with an optional game type. usage: '§cUsage: /tumble:start [gameType]' - permission: start + permission: tumble.start winlocation: description: Links the location to teleport the winning player of a game. usage: '§cUsage: /tumble:winlocation [x] [y] [z]' - permission: winlocation + permission: tumble.winlocation aliases: [win-location, winloc, win-loc] autostart: description: Configures the auto start functions of Tumble. usage: '§cUsage: /tumble:autostart [enable|disable]' - permission: autostart + permission: tumble.autostart aliases: [auto-start] permissions: - reload: + tumble.reload: description: Allows you to reload the plugin's config. default: op - link: + tumble.link: description: Allows you to link a world on the server as a lobby/game world. default: op - start: + tumble.start: description: Allows you to start a Tumble match. default: op - winlocation: + tumble.winlocation: description: Allows you to link a win location. default: op - autostart: + tumble.autostart: description: Allows you to set the autostart details of Tumble. default: op