Compare commits

..
53 Commits
Author SHA1 Message Date
Jason Penilla 1445370dc7 2.2.6-SNAPSHOT 2026-09-17 17:57:18 -07:00
Jason Penilla 8703ac088f release: Version 2.2.5 2026-09-17 17:56:43 -07:00
renovate[bot] 6b63fa9056 chore(deps): Update dependency org.junit.jupiter:junit-jupiter to v6.1.3 2026-09-17 17:51:34 -07:00
renovate[bot] 82e6dbe652 chore(deps): Update indra to v4.1.0 2026-09-17 17:51:27 -07:00
renovate[bot] a45edc8831 chore(deps): Update dependency xyz.jpenilla.run-paper to v3.1.0 2026-09-17 17:51:16 -07:00
renovate[bot] 4d65294991 chore(deps): Update dependency me.modmuss50:mod-publish-plugin to v2.2.0 2026-09-17 17:51:10 -07:00
Jason Penilla 73f758b64e Initial update for 26.3 2026-09-17 17:44:37 -07:00
renovate[bot] 63eaa9b736 chore(deps): Update dependency org.junit.jupiter:junit-jupiter to v6.1.2 2026-07-30 12:58:56 -07:00
renovate[bot] b4e4db5c03 chore(deps): Update dependency com.gradleup.shadow:shadow-gradle-plugin to v9.6.1 2026-07-30 12:58:44 -07:00
renovate[bot] 51b24eb23a chore(deps): Update plugin net.neoforged.moddev.repositories to v2.0.143 2026-07-30 12:58:33 -07:00
renovate[bot] effbc28d63 chore(deps): Update adventurePlatformMod to v7.1.1 2026-07-30 12:58:20 -07:00
Jason Penilla e9b1bec8ad Fix Renovate version handling for NeoForge (#380) 2026-07-28 20:52:23 -07:00
Jason Penilla 2e6ad4ef6b 2.2.5-SNAPSHOT 2026-06-30 11:15:11 -07:00
Jason Penilla dc0a82dbd1 release: Version 2.2.4 2026-06-30 10:56:33 -07:00
Jason Penilla 53e5310f20 Update mod-publish-plugin to v2.1.1 and mark modded releases as dedicated server only on Modrinth 2026-06-29 23:41:38 -07:00
Jason Penilla 3b826d9bd8 bump minimumToolchain to 25 2026-06-29 23:40:11 -07:00
Jason Penilla 08e61cae76 Update dependencies and metadata for Minecraft 26.2
- Minecraft 26.1.2 -> 26.2
- fabric-api 0.145.4+26.1.2 -> 0.153.0+26.2
- fabric-loader 0.19.1 -> 0.19.3
- neoforge 26.1.2.7-beta -> 26.2.0.7-beta
- adventure-platform-mod 6.9.0 -> 7.1.0
- shadow 9.4.1 -> 9.4.3
- junit-jupiter 6.0.3 -> 6.1.0
- miniplaceholders-api 3.1.0 -> 3.2.0
- spongeapi 7.2.0 -> 7.4.0
- Gradle wrapper 9.4.1 -> 9.6.1
- quiet-fabric-loom 1.15-SNAPSHOT -> 1.17-SNAPSHOT
2026-06-29 23:35:25 -07:00
Jason Penilla f4b611470d 2.2.4-SNAPSHOT 2026-04-14 19:34:26 -07:00
Jason Penilla e9f72077dd release: Version 2.2.3 2026-04-14 19:31:57 -07:00
renovate[bot] 29893c6d4a chore(deps): Update dependency net.fabricmc:fabric-loader to v0.19.1 2026-04-14 19:29:46 -07:00
renovate[bot] a4faabdcf7 chore(deps): Update dependency net.kyori:adventure-bom to v4.26.1 2026-04-14 19:29:38 -07:00
Jason Penilla b0ffd89ac1 Update actions JDK 2026-04-14 19:28:01 -07:00
renovate[bot] 2c3a9e910a chore(deps): Update bstats to v3.2.1 2026-04-14 19:27:15 -07:00
renovate[bot] 08be102527 chore(deps): Update dependency org.junit.jupiter:junit-jupiter to v6.0.3 2026-04-14 19:26:57 -07:00
renovate[bot] 6bfd5a8d4b chore(deps): Update dependency com.gradleup.shadow:shadow-gradle-plugin to v9.4.1 2026-04-14 19:26:49 -07:00
Jason Penilla 6647d18939 Build with 26.1.2 2026-04-14 19:26:26 -07:00
Jason Penilla 91d680530e Update renovate.json 2026-04-02 19:34:02 -07:00
Jason Penilla 1623e05602 Fix Java target 2026-04-02 19:18:55 -07:00
Jason Penilla 6527c8a4ea Update for Minecraft 26.1.1 2026-04-02 19:04:13 -07:00
renovate[bot] ccfa6d6668 chore(deps): Update dependency net.fabricmc.fabric-api:fabric-api to v0.141.3+1.21.11 2026-02-08 11:10:37 -08:00
renovate[bot] 78584b29e1 chore(deps): Update dependency net.neoforged:neoforge to v21.11.38-beta 2026-02-08 11:10:27 -08:00
renovate[bot] 708fdb792f chore(deps): Update dependency com.gradleup.shadow:shadow-gradle-plugin to v9.3.1 2026-02-08 11:10:18 -08:00
Jason Penilla 236be5c2c4 Update loom to 1.15 2026-02-08 12:09:56 -07:00
Jason Penilla b1e7105fc1 Update MiniMessage doc links 2026-02-08 12:06:43 -07:00
renovate[bot] f4d4936622 chore(deps): Update dependency org.junit.jupiter:junit-jupiter to v6.0.2 2026-02-08 11:03:55 -08:00
renovate[bot] 848868565d chore(deps): Update dependency com.velocitypowered:velocity-api to v3.4.0 2026-02-08 11:03:48 -08:00
renovate[bot] 418292d982 chore(deps): Update gradle and github actions 2026-02-08 10:57:46 -08:00
renovate[bot] 439f944ef9 chore(deps): Update dependency net.fabricmc:fabric-loader to v0.18.4 2026-02-08 10:57:19 -08:00
renovate[bot] bd95a09c0a chore(deps): Update dependency me.modmuss50:mod-publish-plugin to v1.1.0 2026-02-08 10:56:52 -08:00
Jason Penilla f90b3f17b1 2.2.3-SNAPSHOT 2025-12-14 10:38:27 -07:00
Jason Penilla 8c70ec3ea7 release: Version 2.2.2 2025-12-14 10:35:43 -07:00
Jason Penilla 7f43d73230 Bump minimum common Java requirement to 17
This is now the third-oldest LTS version, supporting anything older is not worth the build headache and outdated dependencies anymore.
2025-12-14 10:27:43 -07:00
Jason Penilla 1d4840e55f Bump minimum common Java requirement to 11 2025-12-14 10:23:05 -07:00
Jason Penilla 3bbb2dd18b Update for 1.21.11 2025-12-14 10:07:38 -07:00
Jason Penilla ff5d418387 Move disableAutoTargetJvm 2025-12-14 09:54:35 -07:00
renovate[bot] 17af4ab03a chore(deps): Update dependency io.github.miniplaceholders:miniplaceholders-api to v3.1.0 2025-12-14 09:50:08 -07:00
renovate[bot] a6d029d56b chore(deps): Update dependency io.papermc:hangar-publish-plugin to v0.1.4 2025-12-14 09:49:47 -07:00
Jason Penilla 1edfa4b53a Update junit 2025-12-14 09:48:56 -07:00
Jason Penilla 3f3cd43ab1 Update indra to v4 2025-12-14 09:46:15 -07:00
renovate[bot] 9728220a65 chore(deps): Update dependency net.fabricmc:fabric-loader to v0.18.2 2025-12-14 09:39:29 -07:00
renovate[bot] 0e23a15f3d chore(deps): Update gradle and github actions 2025-12-14 09:39:17 -07:00
renovate[bot] 43cbc6aaf4 chore(deps): Update gradle and github actions 2025-10-11 12:00:26 -07:00
Jason Penilla 811be6e946 2.2.2-SNAPSHOT 2025-10-09 10:50:50 -07:00
21 changed files with 92 additions and 87 deletions

No files matched your search

+1 -1
View File
@@ -17,4 +17,4 @@ jobs:
modrinth-publish: true
hangar-publish: true
loom: true
jdk-version: 21
jdk-version: 25
+2 -2
View File
@@ -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.
-4
View File
@@ -9,10 +9,6 @@ tasks.jar {
}
}
java {
disableAutoTargetJvm()
}
dependencies {
api(libs.configurateHocon)
api(platform(libs.adventureBom))
+1 -1
View File
@@ -1,5 +1,5 @@
group=xyz.jpenilla
version=2.2.1
version=2.2.6-SNAPSHOT
description=Use MiniMessage text formatting in the server list MOTD.
org.gradle.caching=true
@@ -6,7 +6,7 @@ import org.gradle.api.provider.Provider
import org.gradle.kotlin.dsl.getByType
fun Project.lastCommitHash(): String =
extensions.getByType<IndraGitExtension>().commit()?.name?.substring(0, 7) ?: "unknown"
extensions.getByType<IndraGitExtension>().commit().orNull?.name?.substring(0, 7) ?: "unknown"
val Project.libs: LibrariesForLibs
get() = extensions.getByType()
@@ -47,6 +47,12 @@ val paperVersions = listOf(
"1.21.8",
"1.21.9",
"1.21.10",
"1.21.11",
"26.1",
"26.1.1",
"26.1.2",
"26.2",
"26.3",
)
val productionJarAttribute = Attribute.of("minimotd.productionJar", String::class.java)
@@ -11,13 +11,16 @@ version = (version as String)
indra {
javaVersions {
minimumToolchain(21)
target(8)
target(17)
minimumToolchain(25)
testWith(17, 21, 25)
}
github(Constants.GITHUB_USER, Constants.GITHUB_REPO)
mitLicense()
}
java.disableAutoTargetJvm()
repositories {
mavenCentral {
mavenContent { releasesOnly() }
@@ -36,11 +39,8 @@ repositories {
}
dependencies {
testImplementation(libs.jupiterEngine)
// TODO: work around archloom issue?
if (project.name != "minimotd-neoforge" && project.name != "minimotd-fabric") {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
testImplementation(libs.junitJupiter)
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks {
+18 -19
View File
@@ -1,31 +1,30 @@
[versions]
run-task = "3.0.1"
run-task = "3.1.0"
resource-factory = "1.3.1"
mod-publish-plugin = "1.0.0"
hangarPublishPlugin = "0.1.3"
indra = "3.2.0"
shadow = "9.2.2"
adventure = "4.25.0"
mod-publish-plugin = "2.2.0"
hangarPublishPlugin = "0.1.4"
indra = "4.1.0"
shadow = "9.6.1"
adventure = "4.26.1"
adventurePlatform = "4.4.1"
adventurePlatformMod = "6.7.0"
adventurePlatformMod = "7.2.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.10-R0.1-SNAPSHOT"
paperApi = "1.21.11-R0.1-SNAPSHOT"
paperlib = "1.0.8"
waterfallApi = "1.16-R0.5-SNAPSHOT"
fabricApi = "0.134.1+1.21.10"
fabricLoader = "0.17.2"
minecraft = "1.21.10"
spongeApi7 = "7.2.0"
velocityApi = "3.4.0-SNAPSHOT"
jupiterEngine = "5.14.0"
neoforge = "21.10.1-beta"
fabricApi = "0.160.7+26.3"
fabricLoader = "0.19.5"
minecraft = "26.3"
spongeApi7 = "7.4.0"
velocityApi = "3.4.0"
neoforge = "26.3.0.4-beta"
[plugins]
blossom = { id = "net.kyori.blossom", version = "2.1.0" }
blossom = { id = "net.kyori.blossom", version = "2.2.0" }
sponge-gradle-plugin = { id = "org.spongepowered.gradle.plugin", version = "2.3.0" }
run-paper = { id = "xyz.jpenilla.run-paper", version.ref = "run-task" }
run-velocity = { id = "xyz.jpenilla.run-velocity" }
@@ -45,7 +44,7 @@ adventurePlatformFabric = { group = "net.kyori", name = "adventure-platform-fabr
adventurePlatformNeoforge = { group = "net.kyori", name = "adventure-platform-neoforge", version.ref = "adventurePlatformMod" }
adventurePlatformSpongeApi = { group = "net.kyori", name = "adventure-platform-spongeapi", version.ref = "adventurePlatform" }
minimessage = { group = "net.kyori", name = "adventure-text-minimessage" }
miniplaceholders = "io.github.miniplaceholders:miniplaceholders-api:3.0.1"
miniplaceholders = "io.github.miniplaceholders:miniplaceholders-api:3.2.0"
brigadier = "com.mojang:brigadier:1.3.10"
@@ -80,7 +79,7 @@ spongeApi7 = { group = "org.spongepowered", name = "spongeapi", version.ref = "s
velocityApi = { group = "com.velocitypowered", name = "velocity-api", version.ref = "velocityApi" }
jupiterEngine = { group = "org.junit.jupiter", name = "junit-jupiter-engine", version.ref = "jupiterEngine" }
junitJupiter = "org.junit.jupiter:junit-jupiter:6.1.3"
# build-logic
indraCommon = { group = "net.kyori", name = "indra-common", version.ref = "indra" }
Binary file not shown.
+3 -1
View File
@@ -1,7 +1,9 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Vendored
+3 -3
View File
@@ -20,7 +20,7 @@
##############################################################################
#
# Gradle start up script for POSIX generated by Gradle.
# gradlew start up script for POSIX generated by Gradle.
#
# Important for running:
#
@@ -29,7 +29,7 @@
# bash, then to run this script, type that shell name before the whole
# command line, like:
#
# ksh Gradle
# ksh gradlew
#
# Busybox and similar reduced shells will NOT work, because this script
# requires all of these POSIX shell features:
@@ -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/3d91ce3b8caaf77ad09f381f43615b715b53f72c/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/.
Vendored
+12 -23
View File
@@ -19,12 +19,12 @@
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem gradlew startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
@rem Set local scope for the variables, and ensure extensions are enabled
setlocal EnableExtensions
set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@@ -51,7 +51,7 @@ echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
"%COMSPEC%" /c exit 1
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
@@ -65,29 +65,18 @@ echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
"%COMSPEC%" /c exit 1
:execute
@rem Setup the command line
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
@rem Execute gradlew
@rem endlocal doesn't take effect until after the line is parsed and variables are expanded
@rem which allows us to clear the local environment before executing the java command
endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel
:end
@rem End local scope for the variables with windows NT shell
if %ERRORLEVEL% equ 0 goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
:exitWithErrorLevel
@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts
"%COMSPEC%" /c exit %ERRORLEVEL%
+10 -10
View File
@@ -1,5 +1,7 @@
import me.modmuss50.mpp.platforms.modrinth.ModrinthEnvironment
plugins {
id("quiet-fabric-loom")
id("xyz.jpenilla.quiet-fabric-loom")
id("minimotd.platform-conventions")
id("com.gradleup.shadow")
}
@@ -8,38 +10,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,
@@ -56,6 +55,7 @@ tasks {
}
publishMods.modrinth {
environment = ModrinthEnvironment.DEDICATED_SERVER_ONLY
modLoaders.add("fabric")
minecraftVersions.addAll(minecraftVersion)
optional("miniplaceholders")
@@ -108,7 +108,7 @@ public final class MiniMOTDFabric implements ModInitializer, MiniMOTDPlatform<Se
BrigadierUtil.buildTree(
new CommandHandler(this.miniMOTD),
sourceStack -> this.audiences().audience(sourceStack),
sourceStack -> sourceStack.hasPermission(Commands.LEVEL_ADMINS)
Commands.hasPermission(Commands.LEVEL_ADMINS)
)
));
}
@@ -23,9 +23,9 @@
"minimotd-fabric.mixins.json"
],
"depends": {
"fabricloader": ">=0.16.14",
"fabricloader": ">=0.19.5",
"fabric-api": "*",
"minecraft": "1.21.10",
"minecraft": ">=26.3",
"adventure-platform-fabric": "*"
}
}
+4 -1
View File
@@ -1,3 +1,5 @@
import me.modmuss50.mpp.platforms.modrinth.ModrinthEnvironment
plugins {
id("net.neoforged.moddev")
id("minimotd.platform-conventions")
@@ -24,7 +26,7 @@ dependencies {
indra {
javaVersions {
target(21)
target(25)
}
}
@@ -59,6 +61,7 @@ miniMOTDPlatform {
}
publishMods.modrinth {
environment = ModrinthEnvironment.DEDICATED_SERVER_ONLY
modLoaders.add("neoforge")
minecraftVersions.addAll(minecraftVersion)
optional("miniplaceholders")
@@ -92,7 +92,7 @@ public final class MiniMOTDNeoForge implements MiniMOTDPlatform<ServerStatus.Fav
BrigadierUtil.buildTree(
new CommandHandler(this.miniMOTD),
sourceStack -> this.audiences().audience(sourceStack),
sourceStack -> sourceStack.hasPermission(Commands.LEVEL_ADMINS)
Commands.hasPermission(Commands.LEVEL_ADMINS)
)
);
});
@@ -23,7 +23,7 @@ side = "BOTH"
[[dependencies.minimotd]]
modId = "minecraft"
type = "required"
versionRange = "[1.21.10,1.22)"
versionRange = "[26.3,)"
ordering = "NONE"
side = "BOTH"
+9 -1
View File
@@ -55,11 +55,19 @@ publishMods.modrinth {
modLoaders.add("sponge")
minecraftVersions.addAll(
"1.16.5",
"1.17.1",
"1.18.2",
"1.19.4",
"1.20.6",
"1.21.1",
"1.21.3",
"1.21.4",
"1.21.5",
"1.21.8",
"1.21.10",
"1.21.11",
"26.1.2",
"26.2",
"26.3",
)
optional("miniplaceholders")
}
+5 -1
View File
@@ -10,7 +10,11 @@ dependencies {
compileOnly(libs.velocityApi)
}
java.disableAutoTargetJvm()
indra {
javaVersions {
target(21)
}
}
tasks {
shadowJar {
+2 -2
View File
@@ -4,7 +4,7 @@
"config:recommended"
],
"ignoreDeps": [
"quiet-fabric-loom",
"xyz.jpenilla.quiet-fabric-loom",
"com.mojang:minecraft",
"com.google.code.gson:gson"
],
@@ -25,7 +25,7 @@
"matchPackageNames": [
"net.neoforged:neoforge"
],
"versioning": "regex:^(?<compatibility>(\\d+\\.){2})(?<minor>\\d+)(-beta)?$"
"versioning": "regex:^(?<compatibility>(?:\\d+\\.){3})(?<minor>\\d+)(?:-beta)?$"
},
{
"matchManagers": [
+3 -5
View File
@@ -7,16 +7,14 @@ pluginManagement {
maven("https://maven.neoforged.net/releases/") {
mavenContent { releasesOnly() }
}
maven("https://repo.jpenilla.xyz/snapshots/") {
mavenContent { snapshotsOnly() }
}
maven("https://repo.jpenilla.xyz/snapshots/")
}
includeBuild("gradle/build-logic")
}
plugins {
id("net.neoforged.moddev.repositories") version "2.0.113" apply false
id("quiet-fabric-loom") version "1.11-SNAPSHOT" apply false
id("net.neoforged.moddev.repositories") version "2.0.147" apply false
id("xyz.jpenilla.quiet-fabric-loom") version "1.18-SNAPSHOT" apply false
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}