how do I send a message at dawn and dusk

Started by Sir_sassypants on

Topic category: Help with MCreator software

Last seen on 05:50, 2. Jun 2023
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do I send a message at dawn and dusk

Basically what the title says. Also, the sounds don't play. Is there any way to play the sound per player so it doesn't overlap between players?

Here's what I've got so far:

The procedure

The reason I used 'is day' instead of 'get world time' is because otherwise it would mess up the 'if full moon' part

Last seen on 00:03, 27. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay so for whatever reason…
Sun, 07/05/2020 - 02:23

Okay so for whatever reason i was unable to see your procedure but here is a procedure i made based off what you said and wanted. feel free to modify any and or all of it, i take no Official rights to this file>:) http://www.filedropper.com/dayandnightcycleprocedure

Here is a photo of the screenshot i took. https://www.photobox.co.uk/my/photo/full?photo_id=503094971325

Last seen on 05:50, 2. Jun 2023
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you right click the image…
Thu, 07/16/2020 - 23:32

If you right click the image and press "open in new tab" you can see it

Also the link to the screenshot you supplied doesn't work. But thank you anyway

Last seen on 00:03, 27. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry about that Here you go…
Fri, 07/17/2020 - 03:16

Sorry about that Here you go. :)

DawnMSG

Last seen on 21:24, 26. Dec 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
does the world time reset…
Fri, 07/17/2020 - 07:11

does the world time reset back to zero every day?

Last seen on 00:03, 27. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I believe so.
Fri, 07/17/2020 - 07:13

I believe so.

Last seen on 00:03, 27. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you asked that so you…
Fri, 07/17/2020 - 07:16

If you asked that so you could have a reason to make it simpler go ahead but if you or another player joins when world time =0 it won't play it if it's been 1 point after.

Last seen on 21:24, 26. Dec 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey Sir Sassy, if we end up…
Fri, 07/17/2020 - 07:43

hey Sir Sassy, if we end up making similar mods I'm sorry :(, I've been working on something that uses a similar style procedure to get a message and sound.. would be funny if we make the same exact thing :D

Last seen on 21:24, 26. Dec 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mine uses almost the same…
Fri, 07/17/2020 - 07:49

Mine uses almost the same way you have it but with local variables, and I have only the Is Day,  Not is Day, Noon and Midnight checks instead of the timestamp.

I wasn't sure if the timestamp numbers reset each day, I tested with it saying the time in chat and it kept counting higher..

Last seen on 05:50, 2. Jun 2023
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think you have to…
Fri, 07/17/2020 - 21:50

I don't think you have to worry about having the same mod. Mine is just a small mod I was working on as a break from the big mod that I'm making. I makes it so that darkness is deadly, so that stepping in shadows will hurt you. The only reason it hasn't been released is because i'm waiting for 2020.4 to fix a bug in it.

 

Also because of some testing I've done, I'm pretty sure that the time does start at 0 meaning the moon on that night will be full. And that the time will keep counting up to change the moon phase. I set the time back to zero on a new moon and when night came it was a full moon, not the next phase previously. So I think that the time keeps counting up until the moon is full again where it resets back to zero.