diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..856a5ad --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +## Packet Ignore 1.0.3 for 1.20.3 - 1.20.5 + +Support for 1.20.3 - 1.2.5 diff --git a/README.md b/README.md index c296a5f..947121d 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ -# Template +# Packet Ignore + +Port of [packetignore](https://modrinth.com/mod/packetignore) to Fabric 1.19.2+. + +Ignore half of nonessential server bound packets. Unexpected things will happen. diff --git a/build.gradle b/build.gradle index afd7e29..af9028b 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,7 @@ plugins { id 'fabric-loom' version '1.6-SNAPSHOT' id 'maven-publish' + id "me.modmuss50.mod-publish-plugin" version "0.5.1" } version = project.mod_version @@ -72,3 +73,33 @@ publishing { // retrieving dependencies. } } + +publishMods { + file = remapJar.archiveFile + displayName = "Packet Ignore ${mod_version} for ${minecraft_version}" + changelog = rootProject.file("CHANGELOG.md").text + type = STABLE + modLoaders.add("fabric") + + curseforge { + projectId = "1006659" + projectSlug = "packet-ignore" // Required for discord webhook + accessToken = providers.environmentVariable("CURSEFORGE_TOKEN") + minecraftVersions.add("1.20.3") + minecraftVersions.add("1.20.4") + minecraftVersions.add("1.20.5") + requires("fabric-api") + } + modrinth { + projectId = "BD6XSj38" + accessToken = providers.environmentVariable("MODRINTH_TOKEN") + minecraftVersions.add("1.20.3") + minecraftVersions.add("1.20.4") + minecraftVersions.add("1.20.5") + } + github { + repository = "kevinthegreat1/packet-ignore" + accessToken = providers.environmentVariable("GITHUB_TOKEN") + commitish = "main" + } +}