move moe.jansel.platinum to dev.jansel.platinum
Some checks failed
build / build (21, ubuntu-22.04) (push) Failing after 1m27s
Some checks failed
build / build (21, ubuntu-22.04) (push) Failing after 1m27s
This commit is contained in:
parent
44d96925e9
commit
2a75eeafaa
@ -7,7 +7,7 @@ plugins {
|
||||
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.8"
|
||||
}
|
||||
|
||||
group = "moe.jansel"
|
||||
group = "dev.jansel"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
@ -68,5 +68,5 @@ tasks.build {
|
||||
}
|
||||
|
||||
tasks.shadowJar {
|
||||
relocate("org.bstats", "moe.jansel")
|
||||
relocate("org.bstats", "dev.jansel")
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package moe.jansel.platinum
|
||||
package dev.jansel.platinum
|
||||
|
||||
import io.ktor.client.*
|
||||
import io.ktor.client.call.*
|
||||
@ -58,14 +58,14 @@ class Platinum : JavaPlugin() {
|
||||
json(Json { ignoreUnknownKeys = true })
|
||||
}
|
||||
install(UserAgent) {
|
||||
agent = "https://git.jansel.moe/jreimers/Platinum v$version(jansel@jansel.moe)"
|
||||
agent = "https://git.jansel.dev/jansel/Platinum v$version(jansel@jansel.moe)"
|
||||
}
|
||||
}
|
||||
if (version.contains("SNAPSHOT")) {
|
||||
logger.info("Local Git Commit: $hash")
|
||||
logger.info("Getting remote Git Commit...")
|
||||
runBlocking {
|
||||
val res = webClient.get("https://git.jansel.moe/") {
|
||||
val res = webClient.get("https://git.jansel.dev/") {
|
||||
url {
|
||||
path("/api/v1/repos/jreimers/platinum/commits")
|
||||
parameters.append("limit", "1")
|
||||
@ -91,10 +91,6 @@ class Platinum : JavaPlugin() {
|
||||
// Plugin shutdown logic
|
||||
}
|
||||
|
||||
private fun registerCommands() {
|
||||
|
||||
}
|
||||
|
||||
@Serializable
|
||||
data class CommitApiResponse(
|
||||
val sha: String
|
@ -1,11 +1,11 @@
|
||||
package moe.jansel.platinum
|
||||
package dev.jansel.platinum
|
||||
|
||||
import io.papermc.paper.command.brigadier.Commands
|
||||
import io.papermc.paper.plugin.bootstrap.BootstrapContext
|
||||
import io.papermc.paper.plugin.bootstrap.PluginBootstrap
|
||||
import io.papermc.paper.plugin.lifecycle.event.registrar.ReloadableRegistrarEvent
|
||||
import io.papermc.paper.plugin.lifecycle.event.types.LifecycleEvents
|
||||
import moe.jansel.platinum.commands.PlatinumCommand
|
||||
import dev.jansel.platinum.commands.PlatinumCommand
|
||||
|
||||
@Suppress("UnstableApiUsage")
|
||||
class PlatinumBootstrap : PluginBootstrap {
|
@ -1,4 +1,4 @@
|
||||
package moe.jansel.platinum.commands
|
||||
package dev.jansel.platinum.commands
|
||||
|
||||
import io.papermc.paper.command.brigadier.BasicCommand
|
||||
import io.papermc.paper.command.brigadier.CommandSourceStack
|
||||
@ -10,5 +10,4 @@ class PlatinumCommand: BasicCommand {
|
||||
stack.sender.sendRichMessage("<rainbow>Fun activated!");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
name: Platinum
|
||||
version: dev
|
||||
main: moe.jansel.platinum.Platinum
|
||||
main: dev.jansel.platinum.Platinum
|
||||
api-version: '1.20'
|
||||
prefix: platinum
|
||||
authors: [ Jansel ]
|
||||
description: Yet another rewrite of my old datasync Plugin
|
||||
website: https://git.jansel.moe/jreimers/platinum
|
||||
bootstrapper: moe.jansel.platinum.PlatinumBootstrap
|
||||
website: https://git.jansel.dev/jansel/platinum
|
||||
bootstrapper: dev.jansel.platinum.PlatinumBootstrap
|
||||
|
||||
permissions:
|
||||
platinum.download:
|
||||
|
Loading…
x
Reference in New Issue
Block a user