I was just testing out to see if game:GetService("InsertService"):LoadAsset(AssetId) was able to load an updated version of the module from the model.
Is there any way I can get an updated version of the module information inside without having to shut down the server?
Basically, just wanted to have a module that provides information and I would just need to update the module without needing to shut down the server to get that new information to the servers.
Thanks for any insight!
1 Like
Just curious as to what your practical use is of this?
Just wanted to use it for updating information such as different values for the game without having to shut down all the servers such as amount of points given or admins list or stuff like that.
Two different API here in InsertService
:
Assume you acquire the version first, then when an updated version exists, it removes the old one and overwrites the local module = require()
with the new one.
I know there is a lot of different options to do this but I wanted to see if it can work with having a module inside my model. Like how would that work? Is there a way to request a updated version of the asset?
Thanks a lot, exactly what Iām looking for 