Is this possible?

Discussion in 'Plugin Development' started by Monkey_Swag, Jun 15, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Monkey_Swag

    Hey guys, I was thinking about this plugin, where it is a continous sign change event, that it'll detect the placer's computer's date, and the sign will say that today is Monday or Tuesday, etc. Is this even possible? I'm thinking that after 1728000 ticks (24 hours) the sign will change to 'Friday' or whatever the day is. Thanks.
     
  2. Offline

    Smerfa

    why not :)?
    My signs have actual date with refresh every second :p
     
  3. Offline

    ThatUltraSeal

    Nope, getting the clients date and putting it on a sign for only them to see is no n
     
  4. Offline

    1Rogue

    It'd require a client mod for signs specifically, unless you maybe did something hacky with sending block changes to players (wildly inefficient).
     
  5. Offline

    Monkey_Swag

    hm... alright, thanks guys!
     
  6. Offline

    Gamecube762

    Seeing how most computer have accurate date and time set on them, using the server's date should work for the most part. You can also try tracing their IP to get their timezone, then use that for getting their date and time.
     
  7. Offline

    RainoBoy97

    Get the players ip, trace it's city, get the city time and date.
     
  8. Offline

    chasechocolate

    I believe it's player.sendSignChange(loc, lines), where loc is a Location and lines is a String[].
     
Thread Status:
Not open for further replies.

Share This Page