Mod Creation/Essentials: Difference between revisions

Line 261: Line 261:


== Mod Settings ==
== Mod Settings ==
''View this topic's relevant API reference here [[Mod Creation/Mod Context API Reference#Mod Settings]].''


Your mod can define settings for the player to interact with and visually configure your mod in-game. This feature is accessible through a <code>settings</code> property on the context object. If your mod has any settings defined, your mod will appear in the sidebar under Mod Settings. Clicking this will open up a window with all of your defined settings.
Your mod can define settings for the player to interact with and visually configure your mod in-game. This feature is accessible through a <code>settings</code> property on the context object. If your mod has any settings defined, your mod will appear in the sidebar under Mod Settings. Clicking this will open up a window with all of your defined settings.
91

edits