World time to PHP variable

Discussion in 'Archived: Plugin Requests' started by gummby8, Jun 25, 2013.

  1. Offline

    gummby8

    Hi I am looking to read my worlds time from a website and use the current world time as a variable in PHP. I know dynmap reads the worlds time but I can't seem to find a way to pull the variable out of dynmap and use it in PHP. Plus the JS files have a lot of dependencies and I would rather just have a simple plugin that does this one thing rather than a whole plugin that I am trying to slice one small part out of it.

    Would someone be able to make this simple plugin? I just need it to pull the world time out of 1 world and save it to a text file every 30 seconds or so. Not append, but overwrite.

    Thank you.
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    gummby8

    timtower

    I....um....what?
    Is this not the place to request plugins?

    There is nothing in that sentence I understand.
     
  4. Offline

    timtower Administrator Administrator Moderator

  5. Offline

    gummby8

    timtower

    That looks like it could work, although there is no getWorldTime method. After about 3 hours of messing with it, I was unable to create one. I made a request if someone could make one. I hope it isn't too hard.

     
  6. Offline

    timtower Administrator Administrator Moderator

    What if you use the getWorld method, won't that give an time?
     

Share This Page