Skip to content

Commit

Permalink
Move to paper-plugin (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz authored Oct 23, 2023
1 parent 1d3cb16 commit eb56f43
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 36 deletions.
2 changes: 1 addition & 1 deletion chatty-paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -32,7 +33,6 @@ dependencies {

// Shaded
implementation(chattyLibs.imageloader)
implementation(libs.bundles.idofront.core)

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
25 changes: 25 additions & 0 deletions chatty-paper/src/main/resources/paper-plugin.yml
Original file line number Diff line number Diff line change
@@ -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
29 changes: 0 additions & 29 deletions chatty-paper/src/main/resources/plugin.yml

This file was deleted.

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit eb56f43

Please sign in to comment.