Jump to content




Settings API


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

#1 gril002

  • Members
  • 38 posts

Posted 09 June 2016 - 05:20 PM

So i found out that there is a new Settings API since 1.77. I see you can set so that there is a setting so that it dosen't startup from a disk if there is one which is something i need. Now since it's new there is incomplete documentation on the wiki (there is no example) and I can't to get it to work. So does anyone know how t use it by any chance?

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 10 June 2016 - 02:11 AM

settings.set("shell.allow_disk_startup", false)
settings.save(".settings")


#3 gril002

  • Members
  • 38 posts

Posted 10 June 2016 - 12:25 PM

thanks. I forgot the shell. at the beginig

#4 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 10 June 2016 - 09:08 PM

isn't there a set program?

#5 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 11 June 2016 - 01:15 AM

Yes, that'll automatically save new values to .settings, as it turns out.

set shell.allow_disk_startup false






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users