View Single Post
Jakesterdog123
Senior Member
Join Date: Oct 2012
Location: California
Old 07-31-2020 , 10:43   Re: Set Cvars everytime player joins
Reply With Quote #37

It's been such a long time. Wow. I was in high school when I worked on all this.

Anyway, the plugin was made with source engine compatibility. It should work across all the source engine game servers. Just make sure to follow the parameters from the instructions on the first page. If it doesn't work for l4d2, you'll have to resurrect the mod.

All i remember is that, yes, I intended this plugin to be player specific. All commands would only affect specific players for filtering purposes. I'm not sure if there's a better method at this point but it'll get the job done.

Below is something I found on the first page explaining what this was supposed to do exactly. Unfortunately it's been a long time since I've worked on sourcemods but I'll try to keep this alive.

Quote:

Yeah wrong section, i moved the thread to requested sourcemod plugins

But what I'm aiming for is a script that refreshes a cvar setting that fakes user input, so without you manually having to, for example, type sm_reloadadmins if your server added a new client to admin list everytime a new client joins the server.

I personally need it for the addcond plugin which requires you to input sm_addcond @<input person or group here> 11 ((fake kritzkrieg/crits)) whenever a new player joins my server but this was before a friendly member showed me his method to a crits plugin, but I need such an automated cvar refresher for lots of other instances for every time a player spawns.
__________________
TF2 Server/Community - "Pony: Elements of Harmony - Squee!"
**IP - peohtf2.clanservers.com**


Last edited by Jakesterdog123; 07-31-2020 at 11:06.
Jakesterdog123 is offline