mirror of
https://github.com/jpenilla/MiniMOTD.git
synced 2026-11-06 09:32:33 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9f72077dd | ||
|
|
29893c6d4a | ||
|
|
a4faabdcf7 | ||
|
|
b0ffd89ac1 | ||
|
|
2c3a9e910a | ||
|
|
08be102527 | ||
|
|
6bfd5a8d4b | ||
|
|
6647d18939 | ||
|
|
91d680530e | ||
|
|
1623e05602 | ||
|
|
6527c8a4ea | ||
|
|
ccfa6d6668 | ||
|
|
78584b29e1 | ||
|
|
708fdb792f | ||
|
|
236be5c2c4 | ||
|
|
b1e7105fc1 | ||
|
|
f4d4936622 | ||
|
|
848868565d | ||
|
|
418292d982 | ||
|
|
439f944ef9 | ||
|
|
bd95a09c0a | ||
|
|
f90b3f17b1 |
No files matched your search
@@ -17,4 +17,4 @@ jobs:
|
||||
modrinth-publish: true
|
||||
hangar-publish: true
|
||||
loom: true
|
||||
jdk-version: 21
|
||||
jdk-version: 25
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
### MiniMOTD is a basic server list MOTD plugin/mod for Minecraft servers and proxies
|
||||
|
||||
- MiniMOTD supports RGB colors and gradients through [MiniMessage](https://github.com/KyoriPowered/adventure-text-minimessage), which is also where MiniMOTD gets it's name.
|
||||
- For more detailed info on formatting text, refer to the [MiniMessage docs](https://docs.adventure.kyori.net/minimessage.html).
|
||||
- MiniMOTD supports RGB colors and gradients through [MiniMessage](https://docs.papermc.io/adventure/minimessage/), which is also where MiniMOTD gets its name.
|
||||
- For more detailed info on formatting text, refer to the [MiniMessage docs](https://docs.papermc.io/adventure/minimessage/format/).
|
||||
- RGB colors are automatically downsampled for outdated clients.
|
||||
- RGB colors are only able to be sent by proxies and 1.16+ servers, and can only be seen by 1.16+ clients.
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
group=xyz.jpenilla
|
||||
version=2.2.2
|
||||
version=2.2.3
|
||||
description=Use MiniMessage text formatting in the server list MOTD.
|
||||
|
||||
org.gradle.caching=true
|
||||
|
||||
@@ -48,6 +48,9 @@ val paperVersions = listOf(
|
||||
"1.21.9",
|
||||
"1.21.10",
|
||||
"1.21.11",
|
||||
"26.1",
|
||||
"26.1.1",
|
||||
"26.1.2",
|
||||
)
|
||||
|
||||
val productionJarAttribute = Attribute.of("minimotd.productionJar", String::class.java)
|
||||
+11
-11
@@ -1,27 +1,27 @@
|
||||
[versions]
|
||||
run-task = "3.0.2"
|
||||
resource-factory = "1.3.1"
|
||||
mod-publish-plugin = "1.0.0"
|
||||
mod-publish-plugin = "1.1.0"
|
||||
hangarPublishPlugin = "0.1.4"
|
||||
indra = "4.0.0"
|
||||
shadow = "9.2.2"
|
||||
adventure = "4.25.0"
|
||||
shadow = "9.4.1"
|
||||
adventure = "4.26.1"
|
||||
adventurePlatform = "4.4.1"
|
||||
adventurePlatformMod = "6.8.0"
|
||||
adventurePlatformMod = "6.9.0"
|
||||
configurate = "4.2.0"
|
||||
slf4j = "1.7.36"
|
||||
gson = "2.8.0"
|
||||
bstats = "3.1.0"
|
||||
bstats = "3.2.1"
|
||||
paperApiLegacy = "1.16.5-R0.1-SNAPSHOT"
|
||||
paperApi = "1.21.11-R0.1-SNAPSHOT"
|
||||
paperlib = "1.0.8"
|
||||
waterfallApi = "1.16-R0.5-SNAPSHOT"
|
||||
fabricApi = "0.139.5+1.21.11"
|
||||
fabricLoader = "0.18.2"
|
||||
minecraft = "1.21.11"
|
||||
fabricApi = "0.145.4+26.1.2"
|
||||
fabricLoader = "0.19.1"
|
||||
minecraft = "26.1.2"
|
||||
spongeApi7 = "7.2.0"
|
||||
velocityApi = "3.4.0-SNAPSHOT"
|
||||
neoforge = "21.11.6-beta"
|
||||
velocityApi = "3.4.0"
|
||||
neoforge = "26.1.2.7-beta"
|
||||
|
||||
[plugins]
|
||||
blossom = { id = "net.kyori.blossom", version = "2.2.0" }
|
||||
@@ -79,7 +79,7 @@ spongeApi7 = { group = "org.spongepowered", name = "spongeapi", version.ref = "s
|
||||
|
||||
velocityApi = { group = "com.velocitypowered", name = "velocity-api", version.ref = "velocityApi" }
|
||||
|
||||
junitJupiter = "org.junit.jupiter:junit-jupiter:6.0.1"
|
||||
junitJupiter = "org.junit.jupiter:junit-jupiter:6.0.3"
|
||||
|
||||
# build-logic
|
||||
indraCommon = { group = "net.kyori", name = "indra-common", version.ref = "indra" }
|
||||
|
||||
Vendored
BIN
Binary file not shown.
+1
-1
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# https://github.com/gradle/gradle/blob/2d6327017519d23b96af35865dc997fcb544fb40/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id("quiet-fabric-loom")
|
||||
id("xyz.jpenilla.quiet-fabric-loom")
|
||||
id("minimotd.platform-conventions")
|
||||
id("com.gradleup.shadow")
|
||||
}
|
||||
@@ -8,38 +8,35 @@ val shade: Configuration by configurations.creating
|
||||
|
||||
dependencies {
|
||||
minecraft(libs.minecraft)
|
||||
mappings(loom.officialMojangMappings())
|
||||
modImplementation(libs.fabricLoader)
|
||||
modImplementation(libs.fabricApi)
|
||||
implementation(libs.fabricLoader)
|
||||
implementation(libs.fabricApi)
|
||||
|
||||
shade(implementation(projects.minimotdCommon) {
|
||||
exclude("net.kyori")
|
||||
exclude("com.google.errorprone")
|
||||
})
|
||||
|
||||
modImplementation(libs.adventurePlatformFabric)
|
||||
implementation(libs.adventurePlatformFabric)
|
||||
include(libs.adventurePlatformFabric)
|
||||
}
|
||||
|
||||
miniMOTDPlatform {
|
||||
jarTask.set(tasks.remapJar)
|
||||
jarTask.set(tasks.shadowJar)
|
||||
}
|
||||
|
||||
indra {
|
||||
javaVersions {
|
||||
target(21)
|
||||
target(25)
|
||||
}
|
||||
}
|
||||
|
||||
tasks {
|
||||
shadowJar {
|
||||
archiveFileName.set("${project.name}-mc$minecraftVersion-${project.version}.jar")
|
||||
configurations = listOf(shade)
|
||||
commonConfiguration()
|
||||
commonRelocation("io.leangen.geantyref")
|
||||
}
|
||||
remapJar {
|
||||
archiveFileName.set("${project.name}-mc$minecraftVersion-${project.version}.jar")
|
||||
}
|
||||
processResources {
|
||||
val replacements = mapOf(
|
||||
"modid" to project.name,
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
"minimotd-fabric.mixins.json"
|
||||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.18.2",
|
||||
"fabricloader": ">=0.18.6",
|
||||
"fabric-api": "*",
|
||||
"minecraft": ">=1.21.11",
|
||||
"minecraft": ">=26.1.2",
|
||||
"adventure-platform-fabric": "*"
|
||||
}
|
||||
}
|
||||
@@ -24,7 +24,7 @@ dependencies {
|
||||
|
||||
indra {
|
||||
javaVersions {
|
||||
target(21)
|
||||
target(25)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ side = "BOTH"
|
||||
[[dependencies.minimotd]]
|
||||
modId = "minecraft"
|
||||
type = "required"
|
||||
versionRange = "[1.21.11,)"
|
||||
versionRange = "[26.1.2,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
|
||||
@@ -65,6 +65,7 @@ publishMods.modrinth {
|
||||
"1.21.8",
|
||||
"1.21.10",
|
||||
"1.21.11",
|
||||
"26.1.2",
|
||||
)
|
||||
optional("miniplaceholders")
|
||||
}
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"config:recommended"
|
||||
],
|
||||
"ignoreDeps": [
|
||||
"quiet-fabric-loom",
|
||||
"xyz.jpenilla.quiet-fabric-loom",
|
||||
"com.mojang:minecraft",
|
||||
"com.google.code.gson:gson"
|
||||
],
|
||||
|
||||
+2
-2
@@ -13,8 +13,8 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id("net.neoforged.moddev.repositories") version "2.0.124" apply false
|
||||
id("quiet-fabric-loom") version "1.13-SNAPSHOT" apply false
|
||||
id("net.neoforged.moddev.repositories") version "2.0.141" apply false
|
||||
id("xyz.jpenilla.quiet-fabric-loom") version "1.15-SNAPSHOT" apply false
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user