Hey everyone. I have been reading up on a lot of bogus things players can do. I am currently making a server and a big part of it is having the streets filled with AI and not having a ghost town. So I was wondering, if clients can do any damage with them being around? If so, what are some steps I can take to protect myself?
I saw some thread a person made about not allowing players to spawn their own vehicles, but people in the comments said that removed all the AI vehicles all together IIRC. That isn’t really an option for me.
While this one is your servers choice, putting this in your server.cfg:
sv_scriptHookAllowed 0
Will mean you have control over what menus players can use. (while they can still inject menus in, thats why you have an anticheat, and having a good one will detect & stop that.)
If you do Deny that, then you should get vMenu, it’s a great menu with tons of features.
Check population types if you’re using entityCreated, or use the ‘entity lockdown’ mode if you write your own scripts and don’t rely on CreateVehicle client-side.
I am trying to make a custom server, mostly from scratch but with some sort of an economy. I think what you posted will help me a lot, just reading through the resources and looking what people are doing. Thank you very much!
Could you please elaborate on this? I just checked in the documentation about population type, it doesn’t say anything except that the function for type, returns an int. As for entity lockdown mode, do you mean I would have to make my own AI scripts?
Sorry for being question intensive. But I am new here and there seems to be a lot to cover. Thanks for helping me out!