Module loader plugin that updates types irt

I made this plugin that just uploads a simple module loader to your game (similar to qweekertoms tutorial loader) and also automatically updates a “types” module for autocompletion. I was just wondering if this was even something anyone would use if maybe uploaded it to the toolbox.
I dunno I thought it would be a cool idea, i know there is better frameworks out there.


For example, you’d make a service like this in the loader directory, then access the stuff in it with the Get table.

here i stored data and got it from another module

i mostly just thought this would make it easier than typing all the modules in yourself, there’s probably some easier way I don’t know about so let me know.
this is what the Types module looks like


again, it updates in real time.

all im looking for is some feedback, if its garbage then lmk I guess.

1 Like

why would you do this instead of just manually requiring modules?

3 Likes

Correct me if I am wrong, but modules are cached, it meant if you require the module in different scripts, it only run 1 time and they all used 1 single returned result, like if you change the table that returned by the module, the table will change on other script too

Hi! what features does this plugin have? It will be cool and very convenient if it can automatically reflect a type to the TypesModule. If I am not making sense, here is what I ment

maybe in your enemy class module, you wrote

export type Enemy = typeof(Enemy) & {
--some attributes
}

it will be cool if this chunk of code can be reflected to that module (it will be cooler if typeof(Enemy) will also work in that Types Module by maybe substituting it with another table.

I honestly have some ideas of making a plugin that reflects types but I feel like it will be quite hard. If this plugin have this feature, it will definitely improve the quality of life for scripters!