diff options
author | Myles <43725835+MylesAndMore@users.noreply.github.com> | 2022-12-27 12:57:48 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-27 12:57:48 -0600 |
commit | 8c7b99a1b3dd3cada2ff2db7d862eb29cc2bd43f (patch) | |
tree | 99a9477be0121fff81896d1f332f7042b56f3030 /src | |
parent | a4d9ba8a90ff4ae5b2cf057534587fea2f67a1ee (diff) | |
parent | 35d25f6f7aa619cca27ebbb8e9b2da393c777710 (diff) | |
download | Tumble-8c7b99a1b3dd3cada2ff2db7d862eb29cc2bd43f.tar.gz Tumble-8c7b99a1b3dd3cada2ff2db7d862eb29cc2bd43f.tar.bz2 Tumble-8c7b99a1b3dd3cada2ff2db7d862eb29cc2bd43f.zip |
Merge pull request #5 (v1.0.2 release) from MylesAndMore/beta
v1.0.2 release commit
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/MylesAndMore/tumble/Main.java | 10 | ||||
-rw-r--r-- | src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java | 2 | ||||
-rw-r--r-- | src/main/resources/plugin.yml | 24 |
3 files changed, 18 insertions, 18 deletions
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 class Main extends JavaPlugin{ // 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 <world> (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 <playerAmount> [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 |