Author Topic: Easy way to make add-ons into packs  (Read 623 times)

I'm tired of my add-ons list being so crowded and I want to know a simple way to make them into one little pack. (hopefully it's as simple as sticking other folders into one zip)

Unzip the files you wish to be a pack.
Take all the files out of add-ons and put them all into one folder.
Rename all but one of the server.cs files to something else.
In the one server.cs you keep, put at the top of it
exec("./WHATEVER_YOU_NAMED_THE_FILES.cs");
Do that for each of the renamed server.cs files.
Make sure that it's proper packaged(folder, server.cs, description.txt).
You should be good to go. You don't need to zip it unless you share it with other people.

Take all the files out of their add-ons and put them all into one folder.*

Properly*

Rename all but one of the server.cs files to something else.
In the one server.cs you keep, put at the top of it
exec("./WHATEVER_YOU_NAMED_THE_FILES.cs");
Do that for each of the renamed server.cs files.
Huh?

Unzip the files you wish to be a pack.
Take all the files out of add-ons and put them all into one folder.
Rename all but one of the server.cs files to something else.
In the one server.cs you keep, put at the top of it
exec("./WHATEVER_YOU_NAMED_THE_FILES.cs");
Do that for each of the renamed server.cs files.
Make sure that it's proper packaged(folder, server.cs, description.txt).
You should be good to go. You don't need to zip it unless you share it with other people.

That won't work if any of the add-ons use absolute paths