Preventing important values from being hardcoded

Post Reply
MarioMehn
New to forums
New to forums
Posts: 1
Joined: Fri Dec 01, 2017 7:26 pm

Preventing important values from being hardcoded

Post by MarioMehn » Fri Dec 01, 2017 7:57 pm

I run a simple TTT server, and there are certain values (database passwords, Discord bot codes, etc.) that I would rather not have hardcoded. Is there any simple way to accomplish this? For instance, setting a convar from command line - which I assume is doable, unless setting the RCON password is a unique procedure. Either way, I do not have access to anything from the command line, so I would need help updating it if that were possible.

I toyed with the idea of using the non-hardcoded RCON password in an http request as a way of securely retrieving the information from a webserver, but I would much rather explore other solutions before getting into that mess.

Post Reply