Author Topic: Server_UneededAddons  (Read 1383 times)

Basically a command for your server that will list the add-ons currently not in use. That way you can deactivate what you don't need when your build is finished and the load time will be shorter.

Is this possible?


yes
I would appreciate it a lot if someone wanted to make it

Well, if the mod has datablocks, it's pretty difficult trying to remove it.

Well, if the mod has datablocks, it's pretty difficult trying to remove it.
he's just saying he wants the mod to list the addons he's not using, so he can remove them later

Basically, the add-on would have to be called ZZZ_UnusedAddons, so it is executed first. It then hooks the function for loading an add-on and keeps track which bricks, sounds, prints, events, items, stuff belong to which add-on. Later you could iterate all bricks on the server and figure out which add-ons are never used. Obviously, it would report all script add-ons to be unused, but you can count on the intelligence of the host, right?

he's just saying he wants the mod to list the addons he's not using, so he can remove them later
Yes

Basically, the add-on would have to be called ZZZ_UnusedAddons, so it is executed first. It then hooks the function for loading an add-on and keeps track which bricks, sounds, prints, events, items, stuff belong to which add-on. Later you could iterate all bricks on the server and figure out which add-ons are never used. Obviously, it would report all script add-ons to be unused, but you can count on the intelligence of the host, right?
Yes

Basically, the add-on would have to be called ZZZ_UnusedAddons, so it is executed first. It then hooks the function for loading an add-on and keeps track which bricks, sounds, prints, events, items, stuff belong to which add-on. Later you could iterate all bricks on the server and figure out which add-ons are never used. Obviously, it would report all script add-ons to be unused, but you can count on the intelligence of the host, right?
Will this work for things like vehicle and weapon spawns?

Will this work for things like vehicle and weapon spawns?
Yes. However it is important that this add-on is executed before any other add-on that creates/registers said datablocks.

Neat idea, i should use that to lower the load time on my server. Great idea!

ZZZ_UnusedAddons


ZZZZ_SleepyTime

Contains beds and pillows.


ZZZZ_SleepyTime

Contains beds and pillows.
...what do you suggest? System_ReturnToBlockland?

Blockland actually still runs that first? Huh.