Skip to content

Commit 1b0995e

Browse files
committed
Release 3.10.0
1 parent 64d5951 commit 1b0995e

File tree

13 files changed

+22
-40
lines changed

13 files changed

+22
-40
lines changed

README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
> important changes affecting code security - [#512](https://github.com/Rollczi/LiteCommands/pull/512)
2-
3-
# Announcement - LiteCommands Permissions Update
4-
Starting with version `3.10.0` (release: **February 1, 2025**), the way permissions are handled is changing:
5-
- Old format (AND behavior):
6-
```java
7-
@Permission("admin")
8-
@Permission("time.set")
9-
```
10-
- **New required format (to keep AND behavior):**
11-
```java
12-
@Permission("admin", "time.set")
13-
```
14-
If you don’t update, **permissions will default to OR behavior** in the new versions.
15-
**Update** your annotations **NOW** to avoid issues when the new version is released!
16-
17-
---
18-
191
<div align="right">
202

213
[![dependency](https://repo.panda-lang.org/api/badge/latest/releases/dev/rollczi/litecommands-core?color=9372f9&name=Version)](https://repo.panda-lang.org/#/releases/dev/rollczi/litecommands)
@@ -109,13 +91,13 @@ maven("https://repo.panda-lang.org/releases")
10991

11092
#### ➕ Add LiteCommands to dependencies
11193
```kts
112-
implementation("dev.rollczi:{artifact}:3.9.7")
94+
implementation("dev.rollczi:{artifact}:3.10.0")
11395
```
11496
```xml
11597
<dependency>
11698
<groupId>dev.rollczi</groupId>
11799
<artifactId>{artifact}</artifactId>
118-
<version>3.9.7</version>
100+
<version>3.10.0</version>
119101
</dependency>
120102
```
121103
> ⚠️ Replace `{artifact}` with [platform artifact](https://docs.rollczi.dev/documentation/litecommands/platforms.html#supported-platforms)

examples/bukkit-adventure-platform/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
id("xyz.jpenilla.run-paper") version "2.3.1"
66
}
77

8-
version = "3.9.7"
8+
version = "3.10.0"
99

1010
repositories {
1111
mavenCentral()
@@ -16,8 +16,8 @@ repositories {
1616
dependencies {
1717
compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT")
1818

19-
// implementation("dev.rollczi:litecommands-bukkit:3.9.7") // <-- uncomment in your project
20-
// implementation("dev.rollczi:litecommands-adventure-platform:3.9.7") // <-- uncomment in your project
19+
// implementation("dev.rollczi:litecommands-bukkit:3.10.0") // <-- uncomment in your project
20+
// implementation("dev.rollczi:litecommands-adventure-platform:3.10.0") // <-- uncomment in your project
2121
implementation("net.kyori:adventure-platform-bukkit:4.3.0")
2222
implementation("net.kyori:adventure-text-minimessage:4.14.0")
2323

examples/bukkit-chatgpt/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
id("xyz.jpenilla.run-paper") version "2.3.1"
66
}
77

8-
version = "3.9.7"
8+
version = "3.10.0"
99

1010
repositories {
1111
mavenCentral()
@@ -16,8 +16,8 @@ repositories {
1616
dependencies {
1717
compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT")
1818

19-
// implementation("dev.rollczi:litecommands-bukkit:3.9.7") // <-- uncomment in your project
20-
// implementation("dev.rollczi:litecommands-chatgpt:3.9.7") // <-- uncomment in your project
19+
// implementation("dev.rollczi:litecommands-bukkit:3.10.0") // <-- uncomment in your project
20+
// implementation("dev.rollczi:litecommands-chatgpt:3.10.0") // <-- uncomment in your project
2121
implementation(project(":litecommands-bukkit")) // don't use this line in your build.gradle
2222
implementation(project(":litecommands-chatgpt")) // don't use this line in your build.gradle
2323
}

examples/bukkit/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
id("xyz.jpenilla.run-paper") version "2.3.1"
66
}
77

8-
version = "3.9.7"
8+
version = "3.10.0"
99

1010
repositories {
1111
mavenCentral()
@@ -16,8 +16,8 @@ repositories {
1616
dependencies {
1717
compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT")
1818

19-
// implementation("dev.rollczi:litecommands-bukkit:3.9.7") // <-- uncomment in your project
20-
// implementation("dev.rollczi:litecommands-folia:3.9.7") // <-- uncomment in your project
19+
// implementation("dev.rollczi:litecommands-bukkit:3.10.0") // <-- uncomment in your project
20+
// implementation("dev.rollczi:litecommands-folia:3.10.0") // <-- uncomment in your project
2121
implementation(project(":litecommands-bukkit")) // don't use this line in your build.gradle
2222
implementation(project(":litecommands-folia")) // don't use this line in your build.gradle
2323
}

examples/fabric/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ dependencies {
2727
modLocalRuntime("maven.modrinth:luckperms:v5.4.140-fabric")
2828
modLocalRuntime("com.terraformersmc:modmenu:11.0.3")
2929

30-
// modImplementation("dev.rollczi:litecommands-fabric:3.9.7") <-- uncomment in your project
31-
// modImplementation("dev.rollczi:litecommands-luckperms:3.9.7") <-- uncomment in your project
30+
// modImplementation("dev.rollczi:litecommands-fabric:3.10.0") <-- uncomment in your project
31+
// modImplementation("dev.rollczi:litecommands-luckperms:3.10.0") <-- uncomment in your project
3232
implementation(project(path = ":litecommands-fabric", configuration = "namedElements")) // <-- REMOVE THIS
3333
implementation(project(":litecommands-luckperms")) // <-- REMOVE THIS
3434
}

examples/fabric/src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schemaVersion": 1,
33
"id": "litecommands_example",
4-
"version": "3.9.7",
4+
"version": "3.10.0",
55
"name": "LiteCommands Fabric Example",
66
"description": "Annotation based command framework for Fabric.",
77
"authors": [

examples/jda/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ plugins {
55
}
66

77
group = "dev.rollczi"
8-
version = "3.9.7"
8+
version = "3.10.0"
99

1010
repositories {
1111
mavenCentral()
1212
maven("https://repo.panda-lang.org/releases")
1313
}
1414

1515
dependencies {
16-
// implementation("dev.rollczi:litecommands-jda:3.9.7") // <-- uncomment in your project
16+
// implementation("dev.rollczi:litecommands-jda:3.10.0") // <-- uncomment in your project
1717
implementation(project(":litecommands-jda")) // don't use this line in your build.gradle
1818

1919
implementation("net.dv8tion:JDA:5.5.1")

examples/minestom/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies {
1818
implementation("net.minestom:minestom-snapshots:32735340d7")
1919
implementation("net.kyori:adventure-text-minimessage:4.17.0")
2020

21-
// implementation("dev.rollczi:litecommands-minestom:3.9.7") // <-- uncomment in your project
21+
// implementation("dev.rollczi:litecommands-minestom:3.10.0") // <-- uncomment in your project
2222
implementation(project(":litecommands-minestom")) // don't use this line in your build.gradle
2323
}
2424

examples/paper/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repositories {
1414
dependencies {
1515
compileOnly("io.papermc.paper:paper-api:1.21.5-R0.1-SNAPSHOT")
1616

17-
// implementation("dev.rollczi:litecommands-bukkit:3.9.7") // <-- uncomment in your project
17+
// implementation("dev.rollczi:litecommands-bukkit:3.10.0") // <-- uncomment in your project
1818
implementation(project(":litecommands-bukkit")) // don't use this line in your build.gradle
1919
}
2020

examples/telegrambots/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repositories {
1010
}
1111

1212
dependencies {
13-
// implementation("dev.rollczi:litecommands-telegrambots:3.9.7") // <-- uncomment in your project
13+
// implementation("dev.rollczi:litecommands-telegrambots:3.10.0") // <-- uncomment in your project
1414
implementation(project(":litecommands-telegrambots")) // don't use this line in your build.gradle
1515

1616
implementation("org.telegram:telegrambots-longpolling:8.2.0")

0 commit comments

Comments
 (0)