hook before or when starting a server

Hi :slight_smile:
Is there a hook before starting a server?
or maybe when starting a server?

Why do you need a hook for that? Just shove a Lua file into lua/autorun/server so it gets run when the server starts up.

Or you mean you need to run stuff when most of the stuff finished initializing? For that thereโ€™s indeed a hook:


i need it run before the server is starting, but when there is nothing i need to run when its starting

you cant run lua if the server isnt running

How exactly do you think that would work? Because the thing that runs Lua is, you know, the server.

k, you right, fail :smiley: