From 202f9ed4f81733a2ed13fc56b8f39b10ab2a0607 Mon Sep 17 00:00:00 2001
From: Rollczi <ndejlich5@gmail.com>
Date: Sun, 8 Sep 2024 13:24:45 +0200
Subject: [PATCH] Release 3.5.0

---
 README.md                                                     | 4 ++--
 buildSrc/src/main/kotlin/litecommands-publish.gradle.kts      | 2 +-
 examples/bukkit-adventure-platform/build.gradle.kts           | 4 ++--
 examples/bukkit-chatgpt/build.gradle.kts                      | 4 ++--
 examples/bukkit/build.gradle.kts                              | 2 +-
 examples/fabric/build.gradle.kts                              | 2 +-
 examples/fabric/src/main/resources/fabric.mod.json            | 2 +-
 examples/minestom/build.gradle.kts                            | 2 +-
 examples/velocity/build.gradle.kts                            | 2 +-
 .../src/dev/rollczi/litecommands/platform/PlatformSender.java | 2 +-
 litecommands-fabric/src/main/resources/fabric.mod.json        | 2 +-
 11 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/README.md b/README.md
index d2d8cae61..a447e8f5c 100644
--- a/README.md
+++ b/README.md
@@ -88,13 +88,13 @@ maven("https://repo.panda-lang.org/releases")
 
 #### ➕ Add LiteCommands to dependencies
 ```kts
-implementation("dev.rollczi:{artifact}:3.4.3")
+implementation("dev.rollczi:{artifact}:3.5.0")
 ```
 ```xml
 <dependency>
     <groupId>dev.rollczi</groupId>
     <artifactId>{artifact}</artifactId>
-    <version>3.4.3</version>
+    <version>3.5.0</version>
 </dependency>
 ```
 > ⚠️ Replace `{artifact}` with [platform artifact](https://litedevelopers.github.io/LiteDevelopers-documentation/platforms.html)  
diff --git a/buildSrc/src/main/kotlin/litecommands-publish.gradle.kts b/buildSrc/src/main/kotlin/litecommands-publish.gradle.kts
index 4c21d202b..ebcb2a770 100644
--- a/buildSrc/src/main/kotlin/litecommands-publish.gradle.kts
+++ b/buildSrc/src/main/kotlin/litecommands-publish.gradle.kts
@@ -4,7 +4,7 @@ plugins {
 }
 
 group = "dev.rollczi"
-version = "3.5.0-SNAPSHOT"
+version = "3.5.0"
 
 java {
     withSourcesJar()
diff --git a/examples/bukkit-adventure-platform/build.gradle.kts b/examples/bukkit-adventure-platform/build.gradle.kts
index feec51143..e5b3f4370 100644
--- a/examples/bukkit-adventure-platform/build.gradle.kts
+++ b/examples/bukkit-adventure-platform/build.gradle.kts
@@ -16,8 +16,8 @@ repositories {
 dependencies {
     compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT")
 
-    // implementation("dev.rollczi:litecommands-bukkit:3.4.3") // <-- uncomment in your project
-    // implementation("dev.rollczi:litecommands-adventure-platform:3.4.3") // <-- uncomment in your project
+    // implementation("dev.rollczi:litecommands-bukkit:3.5.0") // <-- uncomment in your project
+    // implementation("dev.rollczi:litecommands-adventure-platform:3.5.0") // <-- uncomment in your project
     implementation("net.kyori:adventure-platform-bukkit:4.3.0")
     implementation("net.kyori:adventure-text-minimessage:4.14.0")
 
diff --git a/examples/bukkit-chatgpt/build.gradle.kts b/examples/bukkit-chatgpt/build.gradle.kts
index 88038d65e..c829d66a8 100644
--- a/examples/bukkit-chatgpt/build.gradle.kts
+++ b/examples/bukkit-chatgpt/build.gradle.kts
@@ -16,8 +16,8 @@ repositories {
 dependencies {
     compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT")
 
-    // implementation("dev.rollczi:litecommands-bukkit:3.4.3") // <-- uncomment in your project
-    // implementation("dev.rollczi:litecommands-chatgpt:3.4.3") // <-- uncomment in your project
+    // implementation("dev.rollczi:litecommands-bukkit:3.5.0") // <-- uncomment in your project
+    // implementation("dev.rollczi:litecommands-chatgpt:3.5.0") // <-- uncomment in your project
     implementation(project(":litecommands-bukkit")) // don't use this line in your build.gradle
     implementation(project(":litecommands-chatgpt")) // don't use this line in your build.gradle
 }
diff --git a/examples/bukkit/build.gradle.kts b/examples/bukkit/build.gradle.kts
index 373fb34d9..b2171c15f 100644
--- a/examples/bukkit/build.gradle.kts
+++ b/examples/bukkit/build.gradle.kts
@@ -16,7 +16,7 @@ repositories {
 dependencies {
     compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT")
 
-    // implementation("dev.rollczi:litecommands-bukkit:3.4.3") // <-- uncomment in your project
+    // implementation("dev.rollczi:litecommands-bukkit:3.5.0") // <-- uncomment in your project
     implementation(project(":litecommands-bukkit")) // don't use this line in your build.gradle
 }
 
diff --git a/examples/fabric/build.gradle.kts b/examples/fabric/build.gradle.kts
index 3ce791a2b..953c9bc5c 100644
--- a/examples/fabric/build.gradle.kts
+++ b/examples/fabric/build.gradle.kts
@@ -21,7 +21,7 @@ dependencies {
     modImplementation("net.fabricmc:fabric-loader:0.15.6")
     modImplementation("net.fabricmc.fabric-api:fabric-api:0.96.1+1.20.4")
 
-//    modImplementation("dev.rollczi:litecommands-fabric:3.4.3") // <-- uncomment in your project
+//    modImplementation("dev.rollczi:litecommands-fabric:3.5.0") // <-- uncomment in your project
     implementation(project(path = ":litecommands-fabric", configuration = "namedElements"))
 
 }
diff --git a/examples/fabric/src/main/resources/fabric.mod.json b/examples/fabric/src/main/resources/fabric.mod.json
index 6d1d85e45..9b99d0d9d 100644
--- a/examples/fabric/src/main/resources/fabric.mod.json
+++ b/examples/fabric/src/main/resources/fabric.mod.json
@@ -1,7 +1,7 @@
 {
     "schemaVersion": 1,
     "id": "litecommands_example",
-    "version": "3.4.3",
+    "version": "3.5.0",
     "name": "LiteCommands Fabric Example",
     "description": "Annotation based command framework for Fabric.",
     "authors": [
diff --git a/examples/minestom/build.gradle.kts b/examples/minestom/build.gradle.kts
index 2225478da..e64b4fa2f 100644
--- a/examples/minestom/build.gradle.kts
+++ b/examples/minestom/build.gradle.kts
@@ -18,7 +18,7 @@ dependencies {
     implementation("dev.hollowcube:minestom-ce:5347c0b11f")
     implementation("net.kyori:adventure-text-minimessage:4.15.0")
 
-    // implementation("dev.rollczi:litecommands-minestom:3.4.3") // <-- uncomment in your project
+    // implementation("dev.rollczi:litecommands-minestom:3.5.0") // <-- uncomment in your project
     implementation(project(":litecommands-minestom")) // don't use this line in your build.gradle
 }
 
diff --git a/examples/velocity/build.gradle.kts b/examples/velocity/build.gradle.kts
index 4af4bef09..746b6a44b 100644
--- a/examples/velocity/build.gradle.kts
+++ b/examples/velocity/build.gradle.kts
@@ -19,7 +19,7 @@ dependencies {
     compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
     annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
 
-    // implementation("dev.rollczi:litecommands-velocity:3.4.3") // <-- uncomment in your project
+    // implementation("dev.rollczi:litecommands-velocity:3.5.0") // <-- uncomment in your project
     implementation(project(":litecommands-velocity")) // don't use this line in your build.gradle
 }
 
diff --git a/litecommands-core/src/dev/rollczi/litecommands/platform/PlatformSender.java b/litecommands-core/src/dev/rollczi/litecommands/platform/PlatformSender.java
index d5acea45a..a47b69e78 100644
--- a/litecommands-core/src/dev/rollczi/litecommands/platform/PlatformSender.java
+++ b/litecommands-core/src/dev/rollczi/litecommands/platform/PlatformSender.java
@@ -28,7 +28,7 @@ public interface PlatformSender {
      *             Use {@link Invocation#sender()} instead and check permissions.
      */
     @Deprecated
-    @ApiStatus.ScheduledForRemoval(inVersion = "3.5.0")
+    @ApiStatus.ScheduledForRemoval(inVersion = "3.6.0")
     boolean hasPermission(String permission);
 
     <T> T getProperty(MetaKey<T> key);
diff --git a/litecommands-fabric/src/main/resources/fabric.mod.json b/litecommands-fabric/src/main/resources/fabric.mod.json
index 7035273eb..42053268c 100644
--- a/litecommands-fabric/src/main/resources/fabric.mod.json
+++ b/litecommands-fabric/src/main/resources/fabric.mod.json
@@ -1,7 +1,7 @@
 {
     "schemaVersion": 1,
     "id": "litecommands",
-    "version": "3.4.3",
+    "version": "3.5.0",
     "name": "LiteCommands",
     "description": "Annotation based command framework for Fabric.",
     "authors": [