aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyles <43725835+MylesAndMore@users.noreply.github.com>2022-12-27 12:57:48 -0600
committerGitHub <noreply@github.com>2022-12-27 12:57:48 -0600
commit8c7b99a1b3dd3cada2ff2db7d862eb29cc2bd43f (patch)
tree99a9477be0121fff81896d1f332f7042b56f3030
parenta4d9ba8a90ff4ae5b2cf057534587fea2f67a1ee (diff)
parent35d25f6f7aa619cca27ebbb8e9b2da393c777710 (diff)
downloadTumble-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
-rw-r--r--README.md2
-rw-r--r--build.gradle6
-rw-r--r--og-guide.md2
-rw-r--r--src/main/java/com/MylesAndMore/tumble/Main.java10
-rw-r--r--src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java2
-rw-r--r--src/main/resources/plugin.yml24
6 files changed, 23 insertions, 23 deletions
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 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