Posted May 8, 201411 yr I want to have a mod update detector in my mod. but I have no clue what to do. I saw some posts on other sites, but they are outdated. It said I needed to implement IConnectionHandler, this does not excist. Can anyone help me. not only me but also others who what this system. Coding, Testing, Smiling, Publishing!
May 8, 201411 yr Author You need to have a text file with the latest version on a webserver somewhere. Then from your mod download that file (google is your friend), compare it to the installed version and if they don't match, tell the user. I knew that, but the only queation is how. Which class checks this. The player needs to log on to minecraft and then it will check if the string in the file is the same or not the same as your current mod version. HOW? Coding, Testing, Smiling, Publishing!
May 8, 201411 yr Author You can use PlayerEvent.PlayerLoggedInEvent to track player logins. Could you give me an example of some code I could ue to check a url on a website. Coding, Testing, Smiling, Publishing!
May 8, 201411 yr Really? http://lmgtfy.com/?q=java+download+file That's funny (lmgtfy). I think a lot of us newbie modders forget that the whole Java language is available. Probably did searches related to specific to minecraft ... Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.