Sid Meier's Civilization VI

Sid Meier's Civilization VI

181 ratings
UI Plugins Framework
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod: UI
File Size
Posted
Updated
163.470 KB
22 Jan, 2019 @ 5:23pm
19 Feb, 2019 @ 3:00am
7 Change Notes ( view )

Subscribe to download
UI Plugins Framework

Description
UI Plugins Framework

Here's the deal - this mod doesn't actually do anything useful by itself. If you found this page because another mod requires it then read on. If you found your way here directly from some other source (like a random steam search) then there's really no reason to continue.

Overview
Makes it easy for other mods to add UI elements to parts of the in-game UI without needing to overwrite the base game UI files. This makes mods simpler and reduces the chances they are incompatible with one another.

Compatibility
This mod should be compatible with mods that do not touch the UI (e.g. city state, civilization, and other db level mods). It will likely conflict with mods that touch the same parts of the UI that this mod does (and do not use the framework provided by this mod). As with any mod, unforeseen conflicts may occur.

For Modders
To learn how to use UI Plugins Framework in your own mods, see the README[github.com]

Version History
2019/2/14 - Update for Gathering Storm release.

Disclaimer
Sid Meier's Civilization VI, Civ, Civilization, 2K Games, Firaxis Games, and Take-Two Interactive Software are all trademarks and/or registered trademarks of Take-Two Interactive Software, Inc who do not sponsor, endorse, authorize or are in any other way associated with this mod.

This mod is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the mod or the use or other dealings in the mod.
19 Comments
Hey J 17 Oct, 2023 @ 6:16pm 
There is this error

Runtime Error: D:\Steam\steamapps\common\Sid Meier's Civilization VI\DLC\Expansion2\UI\Replacements\LaunchBar_Expansion1.lua:54:
in function 'RealizeHookVisibility'
D:\Steam\steamapps\workshop\content\289070\1632664596\UI\LaunchBar.lua:499: in function 'RefreshGovernment'
D:\Steam\steamapps\workshop\content\289070\1632664596\UI\LaunchBar.lua:583: in function 'OnTurnBegin'
Dihanie șleampătă 15 Oct, 2022 @ 8:21am 
The comment about this mod breaking on Linux is still relevant. It's a pity since it's a dependency mod so it breaks other mods as well...
IceXist 20 Feb, 2021 @ 10:43pm 
Same issue that UntouchedWagons has - this mod breaks the UI on Linux (Ubuntu 20.x). Tested with latest packs and with only base game + this mod. Fails, preventing clicking on anything in the top bar.
dark800201 29 Jan, 2021 @ 6:39pm 
This needs to be updated for the most recent game mode. I'm unable to play it with this enabled.
leszek.j966 30 Nov, 2020 @ 5:36pm 
For several days, the failure of this mod leads to the mere closure of the game, with 450 turns I have already counted at least 7 times.
Accolyptus 30 Nov, 2020 @ 12:46pm 
!! IMPORTANT !!

Do not use the mods [UI settings manager + UI user plugins framework] and the mod [Community Quick User Interface] together.
It wil cut your FPS in half once you start researching the first tech and each subsequent new tech research entree on a game reload and make the game very prone to crashing and CPU overload on weaker systems!!

Cheers! :lunar2019grinningpig:
BKo 26 Sep, 2020 @ 7:44am 
"Panels are added to the game through an AddUserInterface within the .modinfo file, in the standard manner of adding a normal mod user interface. The difference is that rather than using a Context of InGame the following values are used in its place."

None of this is explained anywhere on the internet as far as I can tell so it's a good thing you glossed over it completely? I assume you mean to add a custom property to the AddUserInterfaces (with an s, not sure why it wasn't in included) action in modbuddy, except it still doesn't work and the base UIPlugins mod still spits out tons of lua.log errors.
TheMule 31 May, 2020 @ 8:43am 
I'm getting the same error. It's definitely causing crashes for me.
kralj.stefan 25 May, 2020 @ 4:21pm 
I'm having this error with the mod in the lua logs:

"Runtime Error: E:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\DLC\Expansion2\UI\Replacements\LaunchBar_Expansion2.lua:79: function expected instead of nil
stack traceback:
E:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\DLC\Expansion2\UI\Replacements\LaunchBar_Expansion2.lua:79: in function 'RefreshView'
E:\SteamLibrary\steamapps\workshop\content\289070\1632664596\UI\LaunchBar.lua:327: in function 'RealizeHookVisibility'
[C]: in function 'func'
[C]: in function '(anonymous)'"

It's pointing towards this mod in civ6 workshop files. Of course, I can't disable it because of other mods relying on it... My games been crashing a lot lately and not sure if this error is related, because I know Lua errors generally do not cause a game crash.

Sorry for the long post. Wondering if this is an issue with the mod or a mod conflict.
UntouchedWagons 28 Dec, 2019 @ 12:15pm 
I'm not sure if there's anything you can do about this, but having this mod enabled breaks the UI of Civ 6 on Linux: https://i.imgur.com/pgyPmrb.jpg