Mods / GuiCompositeSettingsEx

Category: #QoL #Utility
Author: Fulgen
Side: Client
Created: Jul 9th 2021 at 12:37 AM
Last modified: Jul 20th 2021 at 12:48 AM
Downloads: 726
Follow Unfollow 2

This mod provides an API to add custom settings panels to the settings dialog.

API documentation

Example:

public override void StartClientSide(ICoreClientAPI capi)
{
    GuiCompositeSettingsEx.AddPanel("testpanel", (settings, on) =>
    {
        GuiComposer composer = settings.ComposerHeaderEx("testpanel", "testpanel");
        // Add your GUI elements here using standard UI elements.
        // Be aware that the header is 75.0 pixels high.
        
        composer.EndChildElements(); // title bar
        composer.Compose();
        settings.LoadComposer(composer);
    };
}

Version For Game version Downloads Release date Changelog Download
v0.2.0 488 Jul 20th 2021 at 12:48 AM Show GuiCompositeSettingsEx.dll
v0.1.0 238 Jul 9th 2021 at 1:03 AM Show GuiCompositeSettingsEx.dll

1 Comments (oldest first | newest first)

LexxyFox, Mar 5th at 6:36 AM

I had to rename this file to "guicompositesettingsex.dll" in order to get it to function properly. Fulgen, could you rename the release file so that others might not run into this issue?

delete edit