Jump to content

Recommended Posts

Posted

Hello everyone,

 

Today, I'm going to show you how to use Forge's built-in version update checker found in v11.14.3.1549 and later.

 

First, create an update.json file.

 

  Reveal hidden contents

 

 

Lastly, add the URL of your newly created file to your @Mod annotation.

 

  Reveal hidden contents

 

 

...And you're done! If someone uses an outdated version of your mod, Forge will show a download link and changelog for the new version, using the info you've provided.

 

Hope this helps!

  • Thanks 1

Potato's have skin. I have skin. Therefore, i am a potato.

 

Follow me on Twitter!

http://www.twitter.com/I_Mod_Minecraft

  • 1 month later...
Posted

I'm trying to do that except I am using gist. Would that cause a problem? The game isn't listing that I have a new version available even though I made a dummy new version entry into the JSON file.

My files are here:

https://github.com/KaminoCoding/CommuMod/blob/develop-1.8/src/main/java/io/cyb3rwarri0r8/commumod/Commumod.java#L57

https://gist.github.com/Cyb3rWarri0r8/bc388f17e518a76e3b17

 

TLDR;

It's not working with a raw gist link from the file hosted on Github and I have no idea what could be wrong.

Posted

The problem with gist is that the raw links include the hashses for the file itself so it literally will never update because the server will see it as a different file and make it a different link, so dont use gist.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted
  On 1/11/2016 at 9:16 PM, LexManos said:

The problem with gist is that the raw links include the hashses for the file itself so it literally will never update because the server will see it as a different file and make it a different link, so dont use gist.

Ahh... I don't know why I didn't think about that.. 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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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