diff --git a/chatty-paper/build.gradle.kts b/chatty-paper/build.gradle.kts index 6207635..8d65fe9 100644 --- a/chatty-paper/build.gradle.kts +++ b/chatty-paper/build.gradle.kts @@ -22,6 +22,7 @@ dependencies { compileOnly(libs.kotlinx.serialization.kaml) compileOnly(libs.kotlinx.coroutines) compileOnly(libs.minecraft.mccoroutine) + compileOnly(libs.bundles.idofront.core) // Other plugins compileOnly(chattyLibs.geary.papermc) @@ -32,7 +33,6 @@ dependencies { // Shaded implementation(chattyLibs.imageloader) - implementation(libs.bundles.idofront.core) } diff --git a/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt b/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt index 76bacfa..8c85ad6 100644 --- a/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt +++ b/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt @@ -10,17 +10,12 @@ import com.mineinabyss.geary.autoscan.autoscan import com.mineinabyss.geary.modules.geary import com.mineinabyss.idofront.config.config import com.mineinabyss.idofront.di.DI -import com.mineinabyss.idofront.platforms.Platforms import com.mineinabyss.idofront.plugin.listeners import github.scarsz.discordsrv.DiscordSRV import org.bukkit.Bukkit import org.bukkit.plugin.java.JavaPlugin class ChattyPlugin : JavaPlugin() { - override fun onLoad() { - Platforms.load(this, "mineinabyss") - } - override fun onEnable() { createChattyContext() diff --git a/chatty-paper/src/main/resources/paper-plugin.yml b/chatty-paper/src/main/resources/paper-plugin.yml new file mode 100644 index 0000000..3a55e84 --- /dev/null +++ b/chatty-paper/src/main/resources/paper-plugin.yml @@ -0,0 +1,25 @@ +name: Chatty +version: "${plugin_version}" +author: boy0000 +main: com.mineinabyss.chatty.ChattyPlugin +api-version: "1.20" +description: Highly customizable chat plugin + +dependencies: + server: + Geary: + required: true + load: BEFORE + join-classpath: true + BondrewdLikesHisEmotes: + required: false + load: BEFORE + join-classpath: true + PlaceholderAPI: + required: false + load: BEFORE + join-classpath: true + DiscordSRV: + required: false + load: BEFORE + join-classpath: true diff --git a/chatty-paper/src/main/resources/plugin.yml b/chatty-paper/src/main/resources/plugin.yml deleted file mode 100644 index 78adf51..0000000 --- a/chatty-paper/src/main/resources/plugin.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Chatty -version: ${plugin_version} -author: boy0000 -main: com.mineinabyss.chatty.ChattyPlugin -api-version: "1.20" -depend: [ Geary ] -softdepend: [ BondrewdLikesHisEmotes, PlaceholderAPI, DiscordSRV ] -description: Highly customizable chat plugin - -commands: - chatty: - aliases: - - chat - description: "Chatty is a plugin that allows you to chat in a more friendly way." - global: - aliases: - - g - local: - aliases: - - l - admin: - aliases: - - a - message: - aliases: - - msg - reply: - aliases: - - r diff --git a/gradle.properties b/gradle.properties index 87ef623..b4e00fe 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group=com.mineinabyss version=0.7 -idofrontVersion=0.19.14 +idofrontVersion=0.20.2 velocityVersion=3.2.0 coroutinesVersion=1.6.4