OptionsMod

If you liked this item, please rate it up on Steam Workshop page.

Author: The_Evil_Pickle

Last revision: 9 Nov, 2017 at 21:00 UTC

File size: 65.54 KB

On Steam Workshop

Description:

Allows you to change the settings of certain mods.

This mod provides an API that lets other mods easily create different options and settings that players can configure. Because the menus are all handled by this mod, they are easily navigated, and won’t get in each other’s way.

This system is also great for mod developers; simple functions are used to set up the menu, so the code doesn’t take up much space. All the menu navigation stuff is handled by this base mod. Plus OptionsMod takes care of saving the player’s settings. It’s the best options mod around!

Want to use this API in your own mod?

Included with this download is a folder containing an example mod, which has comments clearly explaining how to implement OptionsMod in your own work.
You can also view the example code here,[pastebin.com] if you’d rather do that.

In order to use the menu for your mod, the player must be subscribed to this mod.
But don’t worry! If a player doesn’t have this mod installed, your mod will still work fine! The player will just have all the settings on default values, and won’t be able to change them.