I'm looking for simple plugin to do stats tracking and give announcement for our HappyDiggers AMP and RPG mod packs. I have two reasons for this:
1. I want to let people know that if there's a problem with any given version of our mod packs.
2. I want to see how many people are actually using our packs.
What I want is the following:
Supply version number hard coded in mod.
Check against hard coded URL and compare with it's own version number.
Display update message if newer version is found.
Check announcement URL based on hard coded URL and display if anything is found.
Messages, if any, should be displayed right after a world loads. All messages and coding should be done in UTF8 to prevent issues with character encoding.
I'll take care of the PHP back-end. The PHP scripts will send a header 'Content-type: application/txt' and then sends a plain text file "version.txt" or "announcement.txt" over HTTP. The rest of the PHP script will do database stuff that is not relevant for the mod.
AtomycStryker's BattleTowers mod includes the source of his update checker, perhaps that could be modified and save a ton of work? http://www.atomicstryker.net/battletowers.html
See attached file.
I would like to include the mod in the 1.5 and 1.6 versions of our packs. And since the version numbers will be hard coded, this means that whomever updates a pack should probably be the one to change the version number in the mod's code and recompile it after the mod is done.
The Erebus has update checking I think. I'll ask chylex, see if he wants to do it, he might. But don't take my word on that, because he's also busy with the Erebus and HEE ofcourse :3.
Reason is that I don't want people messing with the config file. Almost all update checkers do it hard coded. A few steps extra aren't that much of a pain. Instead of editing a version number in a config file, you edit the version number in the mod's source and hit the compile button.
When I'm updating a mod pack on the FTB launcher I'm already editing a couple of files just for version numbers alone.
Also this update checker mod could perhaps later be used to do other things for our mod pack like change the main menu theme, download extra content (turtle programs, drinks, maps, etc). But that's something for later. Unless we can find someone willing to help us out with that sort of stuff soon-ish