X4: Foundations

X4: Foundations

934 ratings
SirNukes Mod Support APIs
File Size
801.775 KB
Mar 31, 2020 @ 4:56pm
Oct 30, 2021 @ 11:47pm
25 Change Notes ( view )

Subscribe to download
SirNukes Mod Support APIs

Collection of APIs for modding support. Components include: Lua Loader API, Time API, Named Pipes API, Hotkey API, Interact Menu API, Simple Menu API.

This extension does nothing on its own, but other mods may depend on it.

Note: the hotkey api requires an external python program which listens to keyboard input while "X4" is the active window. This program is not included in this extension, and must be downloaded elsewhere (provided as standalone exe or runnable python code):

Named pipes and hotkeys are only supported on Windows currently.
Popular Discussions View All (6)
Feb 14, 2023 @ 1:07am
Looking for help
Jun 8, 2022 @ 2:37pm
Aug 8, 2023 @ 1:09am
Please consider also uploading to NexusMods
< >
Kalisa Jan 6 @ 2:13pm 
this mod causing issues with menus, cancel buttons dont work need to X out, if you rename something the menu still appears after but no longer works and need to X out, overall theres allot of weirdness with this, is there any way to not need this with dynamic wars and such?
Tobubas Jan 3 @ 6:56am 
Wtf I forgot about my comment. Here I am trying to find wtf is wrong for an hour.
Straight up crashes the game after loading the save.
Tobubas Dec 23, 2023 @ 6:44am 
Doesn't work with GFN.
Prevents many mods from working.
Sean Gyl Dec 14, 2023 @ 4:25pm 
The humble X4 Player "Chico Rodriguez" mentioned in another Workshop-Mod that you should use "UI Extensions and HUD" from the modder "kuertee"
You can find the mod on Nexusmod.
Use his mod as an addition to SirNukes Mod Support APIs to fix the right-click issues! No New game needed.

Thanks to all people also bringing up this solution !
nrei Dec 8, 2023 @ 4:47pm 
I saw a lot of mods uses this mod library, but unfortunately that not works on GFN by crashing the game session on start. Version v6.20
parke6993 Aug 26, 2023 @ 3:07am 
Still causing issues, 26/08/23. I have heard that there's a fix though. Disabling steam updates after installing, or some such. Shall update if I find explicit instructions & it works.
~PhReAkInSaNe~ Aug 17, 2023 @ 11:59pm 
This mod will prevent you from being able to right click on your ship. Just came back to this game, updated everything and took an hour of my time to find it was this.
sevenofnine Jul 30, 2023 @ 4:24am 
how can i get this mod to work
Hebrux Jul 25, 2023 @ 8:40am 
Can anyone confirm if this mod still causes this issue?
"this mod causes some buttons in the map menu to stop working"
Blitz4 Jul 19, 2023 @ 10:09am 
Is it possible to add the the UI api (_G Workaround and Right Click API)?

also, do you have a guide or reference how to create a Steam Workshop mod? I'm not familiar with what is or isn't allowed.