Mods / GuiCompositeSettingsEx

Category: #QoL #Utility
Author: Fulgen
Side: Client
Created: Jul 9th 2021 at 12:37 AM
Last modified: Jul 16th at 2:30 PM
Downloads: 1573
Follow Unfollow 19

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
v1.0.1 654 Jul 16th at 2:30 PM Show GuiCompositeSettingsEx.dll
v1.0.0 90 Jul 14th at 11:26 AM Show GuiCompositeSettingsEx.dll
v0.2.0 544 Jul 20th 2021 at 12:48 AM Show GuiCompositeSettingsEx.dll
v0.1.0 285 Jul 9th 2021 at 1:03 AM Show GuiCompositeSettingsEx.dll

5 Comments (oldest first | newest first)

💬 CanaDan, Jul 28th at 5:39 AM

Fulgen ah i see. it may be a good idea to put a note for that in the description of the mod. it wasnt super clear how the dll should be used.

💬 Fulgen, Jul 27th at 4:51 PM

CanaDan Don't extract it, just put the ZIP and this DLL into the mods folder and it should load.

💬 CanaDan, Jul 24th at 5:36 AM

how do i use this? do i put this in mods or somewhere else?
im trying to use this with WorldConfidGUI and that mod said this was a dependancy, so i assumed that this had to be added as a mod. when i tired doing that tho, the game would be unable to load the mod.
i also tried adding this directly to the folder of WorldConfigGUI but no luck with that either.

💬 Fulgen, Jul 14th at 10:51 AM

LexxyFox Are you on Linux / macOS by any chance?

💬 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?

(edit comment delete)