Skip to content

Commit 68bcf62

Browse files
committed
2.6.2
+ Added tdj.infinitejump permission (Fixes #24) * Updated Spigot dependency to 1.16.5
1 parent cbb8eac commit 68bcf62

File tree

16 files changed

+24
-20
lines changed

16 files changed

+24
-20
lines changed

NmsReference/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>TreysDoubleJump</artifactId>
77
<groupId>me.treyruffy.treysdoublejump</groupId>
8-
<version>2.6.1</version>
8+
<version>2.6.2</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Trey's Double Jump
22
[![Latest Version](https://img.shields.io/badge/dynamic/json?color=ed37aa&label=Latest%20Version&query=name&url=https%3A%2F%2Fapi.spiget.org%2Fv2%2Fresources%2F19630%2Fversions%2Flatest)](https://www.spigotmc.org/resources/treys-double-jump-api.19630/)
3-
![Minecraft Version Support](https://img.shields.io/badge/Minecraft%20Versions-1.8--1.16.4-9450cc)
3+
![Minecraft Version Support](https://img.shields.io/badge/Minecraft%20Versions-1.8--1.16.5-9450cc)
44
[![Downloads](https://img.shields.io/badge/dynamic/json?color=2230f2&label=Downloads&query=downloads&url=https%3A%2F%2Fapi.spiget.org%2Fv2%2Fresources%2F19630)](https://www.spigotmc.org/resources/treys-double-jump-api.19630/)
55

66

@@ -28,9 +28,9 @@ In order to get the required CraftBukkit libraries for CI programs, this plugin
2828

2929
The basic command is
3030
```bash
31-
bash setupCraftbukkit.sh 1.16.4
31+
bash setupCraftbukkit.sh 1.16.5
3232
```
33-
Just replace 1.16.2 with the version you need and build tools will download the required CraftBukkit libraries into
33+
Just replace 1.16.5 with the version you need and build tools will download the required CraftBukkit libraries into
3434
your Maven repository.
3535

3636
## Contributing

TreysDoubleJumpMain/dependency-reduced-pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>TreysDoubleJump</artifactId>
55
<groupId>me.treyruffy.treysdoublejump</groupId>
6-
<version>2.6.1</version>
6+
<version>2.6.2</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99
<artifactId>TreysDoubleJumpMain</artifactId>
@@ -88,7 +88,7 @@
8888
<dependency>
8989
<groupId>org.spigotmc</groupId>
9090
<artifactId>spigot-api</artifactId>
91-
<version>1.16.4-R0.1-SNAPSHOT</version>
91+
<version>1.16.5-R0.1-SNAPSHOT</version>
9292
<scope>provided</scope>
9393
<exclusions>
9494
<exclusion>

TreysDoubleJumpMain/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>TreysDoubleJump</artifactId>
77
<groupId>me.treyruffy.treysdoublejump</groupId>
8-
<version>2.6.1</version>
8+
<version>2.6.2</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>
@@ -89,7 +89,7 @@
8989
<dependency>
9090
<groupId>org.spigotmc</groupId>
9191
<artifactId>spigot-api</artifactId>
92-
<version>1.16.4-R0.1-SNAPSHOT</version>
92+
<version>1.16.5-R0.1-SNAPSHOT</version>
9393
<scope>provided</scope>
9494
</dependency>
9595
<dependency>

TreysDoubleJumpMain/src/main/java/me/treyruffy/treysdoublejump/Events/DoubleJump.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public void onMove(PlayerMoveEvent e) {
111111
if (FlightCommand.FlyingPlayers.contains(p.getUniqueId().toString())) {
112112
return;
113113
}
114-
if (!ConfigManager.getConfig().getBoolean("InfiniteJump.Enabled")) {
114+
if (!ConfigManager.getConfig().getBoolean("InfiniteJump.Enabled") || !p.hasPermission("tdj.infinitejump")) {
115115
if (!p.isOnGround() || p.getWorld().getBlockAt(p.getLocation().add(0, -1, 0)).getType() == Material.AIR) {
116116
return;
117117
}

TreysDoubleJumpMain/src/main/resources/plugin.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ permissions:
2222
tdj.updates: true
2323
tdj.groundpound: true
2424
tdj.groundpoundcommand: true
25+
tdj.infinitejump: true
2526
tdj.use:
2627
default: true
2728
description: Use the double jump feature.
@@ -52,6 +53,9 @@ permissions:
5253
tdj.groundpoundcommand:
5354
default: true
5455
description: Allows players to toggle their ground pounding
56+
tdj.infinitejump:
57+
default: true
58+
description: Allows players to infinite jump if it is enabled in the configuration
5559
commands:
5660
tdj:
5761
description: Allows you to toggle double jumping.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<groupId>me.treyruffy.treysdoublejump</groupId>
99
<artifactId>TreysDoubleJump</artifactId>
10-
<version>2.6.1</version>
10+
<version>2.6.2</version>
1111
<modules>
1212
<module>TreysDoubleJumpMain</module>
1313
<module>v1_8_R1</module>

setupCraftbukkit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
# In order to make this execute commands, read the .semaphore/sempaphore.yml and the
66
# .github/workflows/codeql-analysis.yml files
77

8-
# First argument is the version of Spigot (eg. 1.16.3)
8+
# First argument is the version of Spigot (eg. 1.16.5)
99
# Second argument is if you should force update the Spigot files
1010
# Set as true for yes
11-
# Run bash setupCraftbukkit.sh 1.16.3 true
11+
# Run bash setupCraftbukkit.sh 1.16.5 true
1212
if [ $# -eq 0 ]; then
1313
echo "Missing arguments"
1414
exit 1

v1_10_R1/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>TreysDoubleJump</artifactId>
77
<groupId>me.treyruffy.treysdoublejump</groupId>
8-
<version>2.6.1</version>
8+
<version>2.6.2</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

v1_11_R1/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>TreysDoubleJump</artifactId>
77
<groupId>me.treyruffy.treysdoublejump</groupId>
8-
<version>2.6.1</version>
8+
<version>2.6.2</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

0 commit comments

Comments
 (0)