Profile image

Mod Settings

Dev HellFireKoder  7.7 years ago
27,906 downloads
Version 0.65 No Tags

Supplies an interface for modders to create their own settings pages.
To use, just install the mod, and any other mods which use it.
Note: there may be warnings that a mod "tried to load assembly" something something, do not worry about them, nothing is broken.


Thanks to @ElGatoVolador for the pretty thumbnail!


MODDER Instructions

To use this mod in one of your mods:

First, install the mod, it handles the settings creation, saving, loading, etc. in-game, so you can't test without it.

Then download the Mod Settings.zip, and unzip the files somewhere (or just unzip individual files as you need them).
SPModSettings.dll is the shared assembly you will use to communicate with the mod, it goes in your mod project Assets folder (anywhere you like), then find it in the Unity project explorer, select it, and on the Mod Builder window hit "Save Selected Assets" (this ensures that your mod won't fail to load if Mod Settings mod isn't installed and loaded before it).

SPModSettings.xml is the code documentation, so you can have intellisense comments for what functions and variables do/are, it goes in the same folder as SPModSettings.dll, but do NOT save it with mod builder (not that it would break anything, but it would pointlessly increase the size of your mod).

To get started, you'll need some settings code, you can use the code at the end of my mod settings reveal video, or the source code for the Adjustable Gravity mod on GitHub as a guide (be sure to have using SPModSettings at the top of your settings code).
This script must be placed on a Persistent Object, a GameObject with a PersistentObject script from the mod tools, which you then save with the mod tools.

An easy pattern (though not necessarily "good practice"...) to access the settings in another script is to make the output variable public static, so for example the Adjustable Gravity script could have public static Vector3 GravityVector, which can then be accessed from any script like so: GravityManager.GravityVector


  • Log in to leave a comment
  • Profile image
    2,836 CestbonSP

    @HellFireKoder Sir,I don't know how to create a mod,can you teach me?

    4 days ago
  • Profile image

    The settings don't save...

    +3 9 months ago
  • Profile image

    how to apply changes?

    +4 10 months ago
  • Profile image
    5,825 Anguirus380

    By the way could he make a video tutorial for us like me is impossible

    1.1 years ago
  • Profile image
    5,825 Anguirus380

    by the way can he give us the tutorial

    1.1 years ago
  • Profile image
    5,825 Anguirus380

    @noti I think his right, it happened to me and it did not appear and made me mad so much that he need to make it better instead of this!

    1.1 years ago
  • Profile image
    5,426 PilotRyder

    how to use it: first download this https://www.dropbox.com/s/8z161rd38gb00uz/Mod%20Settings.zip?dl=0
    Create a new paste or a paste that you want and extract the 2 files on it, and finally put the files that you made on the simpleplanes file! (it worked for me) pls pin that

    1.6 years ago
  • Profile image

    If the devs re-add android support that would be a game changer, litrally

    1.7 years ago
  • Profile image
    0 noti

    i downloaded this but mod settings tab is not showing up is the mod broken?

    +8 2.4 years ago
  • Profile image

    how to use it

    +3 2.5 years ago
  • Profile image

    @TheMaus it used to have android support.

    +2 2.5 years ago
  • Profile image

    Are we able to download it on mobile but downloading it from the pc thing and if so how do we put it in simpleplanes?

    2.5 years ago
  • Profile image

    @HellFireKoder help us there are a lot of reports that the button has vanished pls help

    2.9 years ago
  • Profile image
    2,790 OrderlyHippo

    just another user reporting the same issue of no mod settings button on the main menu :( been like this since the latest update

    3.0 years ago
  • Profile image
    71.3k MintLynx

    Same here, modsettings isn't present. Thankfully Designersetting's unlimited zoom is still working though.

    +2 3.0 years ago
  • Profile image
    7,250 Firgreen

    @HellFireKoder Hello. The mod settings mod doesn´t work with version 1.12.118.0 (gog) anymore. Is it my fault or does it neet to be updated?

    +4 3.0 years ago
  • Profile image
    93 AicE

    i just got this today and afer a few hours, im messing with wind and a sail boat and boom the mod settings button on the main menu is gone how do i fix this @HellFireKoder

    +1 3.0 years ago
  • Profile image

    牛逼

    3.3 years ago
  • Profile image
    0 Ungoc

    @TheMegaMauster just realised, sorry bout that

    +1 4.0 years ago
  • Profile image
    4,623 TheMaus

    Ios never had mod support
    @Ungoc

    +1 4.0 years ago
  • Profile image

    @Yeargear don't need one, it says noice

    4.0 years ago
  • Profile image
    0 Ungoc

    @Guylikeairplanes simpleplanes lost its android and ios mod support at 1.9

    4.0 years ago
  • Profile image

    Doesn’t work😢

    +1 4.1 years ago
  • Profile image
    3,190 bruhmoment99

    @HellFireKoder it doesn't work for me :(

    +1 4.5 years ago
  • Profile image
    107 Jazzhere

    where to put this?

    +1 4.5 years ago
  • Log in to see more comments