Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hey, I want to ask the user to input their key on game launch, I just don't know how to show the screen on start. Can someone help?

This is my signature. I don't really too much know about java but i try to help and i try to get help from others too. Thank you!

  • Author

Anyone? it doesn't have to be an input, but at least a warning (text that says something, and then a button to proceed to minecraft)

This is my signature. I don't really too much know about java but i try to help and i try to get help from others too. Thank you!

I don't know. I can't think of a single mod that does anything like that.

Denying users access to a game they paid for, is questionable in terms of Mojang's EULA: https://www.minecraft.net/en-us/eula

and almost certainly a breach if you are doing it to make money.

 

Having said that, you could try listening on ScreenEvent.Render.Pre

 

If event.getScreen() is the TitleScreen and your conditions are met,

* cancel the event so it doesn't display the title screen

* Use Minecraft.getInstance().setScreen() to change to your screen

 

If you have done as little research as your original question suggested, your next will question will be "how do I write a screen?"

https://docs.minecraftforge.net/en/latest/gui/screens/

or look at vanilla's ErrorScreen for a simple example.

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

  • Author
3 minutes ago, warjort said:

I don't know. I can't think of a single mod that does anything like that.

I know physics mod, the pro version asks you to enter your key when you launch the game. My mod just requires you to make a separate password for the mod if you are using cracked minecraft (the mod has separate accounts for cracked and premium users, premium users do not need to enter their password), so that people can't just access your stuff by using your username. I am not in any way doing it to make money.

 

3 minutes ago, warjort said:

Having said that, you could try listening on ScreenEvent.Render.Pre

Okay, thank you, I'll try.

Edited by Anonomys

This is my signature. I don't really too much know about java but i try to help and i try to get help from others too. Thank you!

Cracked minecraft is definitely a breach of the EULA and not supported in this forum.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

  • Author

Here's what I was talking about, this now shows at the start if you use cracked minecraft. The exit button just takes you to the main menu, if you don't want to login. But you will not be able to use the stuff the mod needs the api for.

image.png

 

And this shows if the API is down.

image.png

Edited by Anonomys

This is my signature. I don't really too much know about java but i try to help and i try to get help from others too. Thank you!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.