Skip to content

Commit

Permalink
Merge pull request #5 (v1.0.2 release) from MylesAndMore/beta
Browse files Browse the repository at this point in the history
v1.0.2 release commit
  • Loading branch information
MylesAndMore authored Dec 27, 2022
2 parents a4d9ba8 + 35d25f6 commit 8c7b99a
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# tumble
# Tumble

## Overview

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ java {
}
}

group 'tumble'
version '1.0.1'
group 'Tumble'
version '1.0.2'

repositories {
// Use Maven Central for resolving dependencies.
Expand All @@ -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'
}
}
2 changes: 1 addition & 1 deletion og-guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# tumble
# Tumble

## Guide for original worlds

Expand Down
10 changes: 5 additions & 5 deletions src/main/java/com/MylesAndMore/tumble/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -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!");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
24 changes: 12 additions & 12 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 8c7b99a

Please sign in to comment.