Jump to content




How does CC handle Minecraft game exit?


  • You cannot reply to this topic
3 replies to this topic

#1 Tinkerer

  • New Members
  • 2 posts

Posted 25 February 2015 - 02:43 AM

I'm concerned that having a startup script that runs constantly might encounter problems when I exit my Minecraft world. I'm worried that it might interrupt the script and cause problems like variables or other data not being properly saved.

Is there any way for my CC script to detect shutdown, like an exit trap?

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 25 February 2015 - 04:00 PM

Nope. And computers will be freshly rebooted when loading the chunk they are in again.

#3 Tinkerer

  • New Members
  • 2 posts

Posted 25 February 2015 - 04:10 PM

So when leaving a chunk or exiting Minecraft it's possible for my script to be interrupted at any point of its execution?

#4 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 25 February 2015 - 04:26 PM

That's correct. If a computer is not actively loaded either by chunk loaders or spawn loading, it will shut down as if you had held Ctrl+S.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users