VFS Scriptenforcer?

I’m currently running a server and I’m trying to disallow all custom client scripts except one that I use, so I want SE to ignore autorun/nk.lua

It says it’s not in the VFS. Where would I find the VFS or what would I do so that SE ignores autorun/nk.lua?

just make the file shared lua on the server


Use AddCSLuaFile.

i.e. AddCSLuaFile( “autorun/nk.lua” )

Sorry, I wasn’t clear.

I want an add-on on MY system to run in my server, so I want SE to allow MY autorun/nk.lua

Don’t think that’s possible. You’ll probably need to send the file to all clients with AddCSLuaFile but restrict the content to your own steamid only.