Results 1 to 10 of 24

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Who would like to do some Java programming?

    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:
    1. Supply version number hard coded in mod.
    2. Check against hard coded URL and compare with it's own version number.
    3. Display update message if newer version is found.
    4. Check announcement URL based on hard coded URL and display if anything is found.


    The hardcoded URLs will be something like:
    http://happydiggers.net/packupdates/AMP.php?v=2.0.1 (for AMP v2.0.1)
    http://happydiggers.net/packupdates/AMP.php?v=2.1.0 (for AMP v2.1.0)
    etc.

    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.

    CC, DOM, any takers?
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •