Mods / MagicGuiEditor

Category: #Utility
Author: VeryGoodDog
Side: Client
Created: Jun 8th 2021 at 9:53 PM
Last modified: Jun 8th 2021 at 10:41 PM
Downloads: 445
Follow Unfollow 1


The MagicGuiEditor(Mod), MGEM, reloads GUIs as you update their code.


In order to recompile your GUI MGEM needs a few things:

  • Path of the file, eg aliases/GuiDialogAliasEditor.cs.
  • Namespaced type name, eg CommandMacros.GuiDialogAliasEditor.
  • Assemblies needed to compile the file. MGEM automatically includes every assembly in the game by default.

To set these, use the .mgemconfig command:

  • .mgemconfig: Prints the current settings.
  • .mgemconfig pathname <path>: Sets the path.
  • .mgemconfig namespacedTypeName <name>: Sets the type name.
  • .mgemconfig refs add <assembly>: Adds a reference assembly.
  • .mgemconfig refs remove <assembly>: Removes an assembly.

Current Limitations

MGEM cannot handle methods being deleted.

Additionally, because methods are only redirected, properties set in the constructor are not updated. This means any dialog bounds configured in the ctor will not update. If you move the configuration to happen in the GuiDialog.OnGuiOpened() method this issue is resolved.

These problems may be correctly resolved in the future.

Version For Game version Downloads Release date Changelog Download
v1.0.1 230 Jun 8th 2021 at 10:41 PM Show
v1.0.0 215 Jun 8th 2021 at 10:04 PM Show

1 Comments (oldest first | newest first)

💬 DArkHekRoMaNT, Jun 17th 2021 at 12:54 AM

Wow! Best mod 😄

(edit comment delete)