Majoras16 / Splash-Screen-Mod

📦 Mod that shows a StopModReposts notice screen then Minecraft is launched

Home Page:https://stopmodreposts.org/splashscreen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Splash-Screen Mod

Forge Version - Fabric Version

This mod helps modders to bring attention to players about the StopModReposts campaign.


Forge Version

What does 'StopModReposts' do?

It adds this beautiful GUI, in order to educate more users about the problem of mod reposting sites. And don't worry, it does only show up once per Minecraft Directory. (Once per installation location)
Preview Image
The Goal of this project isn't to accuse people of something, but rather to educate them.
That a person downloaded the file from curseforge, doesn't mean that it knows what repost sites are.

How can I help as a Modder?

If you want to help just embed this mod into your mod. The more players read this, the better our chances are.

  • Embedding the mod means that the mod jar will be put into your mod jar, and forge will extract this mod.

How to embed this Mod?

The first thing you need to do is build the mod yourself, as it doesn't have a maven repo yet:

gradlew build

After that you need to embed the mod into your own mod. To do so add this to your build.gradle file:

jarJar.enable()

repositories {
    flatDir {
        dir 'libs'
    }
}

dependencies {
    implementation fg.deobf("org.stopmodreposts:stopmodreposts:1.0")
    jarJar(group: 'org.stopmodreposts', name: 'stopmodreposts', version: '[1.0,1.1)')
}

The jarJar.enable can be anywhere in the build script but I would suggest to put it under java.toolchain.languageVersion
(Note: the text you add in the dependencies block needs to be under net.minecraftforge to work!)
Now you just need to refresh your gradle project and you're good to go:

gradlew --refresh-dependencies
gradlew genEclipseRuns / genIntellijRuns
gradlew eclipse / intellij

Now put the stopmodreposts.jar file into ./libs (<Your main mod folder that also contains gradlew.bat>/libs) and that's it! Thanks for letting the users of your mod know about StopModReposts!

If you need more help using jar-in-jar look at the Forge Community Wiki Page about Jar-in-Jar

How can I help as a User?

Visit our website, tell other people about the StopModReposts campaign and download our extension to be safe from mod-reposting sites in the future.

If you're using uBlock Origin you can import out blacklist without needing the plugin: https://api.stopmodreposts.org/minecraft/ublacklist.txt

About

📦 Mod that shows a StopModReposts notice screen then Minecraft is launched

https://stopmodreposts.org/splashscreen

License:MIT License


Languages

Language:Java 100.0%