• Steam Gameserver Accounts
    6 replies, posted
Is there anyway we can get this for Garry's Mod soon? The following is taken from Valve Mailing List (Posted Yesterday) - most of it refers to TF2. [QUOTE]STEAM GAMESERVER ACCOUNTS ----------------------------------------- Gameserver accounts are now a Steam feature. The feature is currently in beta. Using a steam gameserver account provides one important advantage right now: client favorite lists are keyed by the Steam account if present. This means that you can move your server to another IP address, and clients who have your server in their favorites or history will follow you to your new location. CREATING AN ACCOUNT: Creating an account is currently only possible via WebAPI. (Remember, this feature is currently in beta. We’ll add a nicer interface for this soon.) Make a HTTPS POST request to the following URL: [url]https://api.steampowered.com/IGameSe...Account/v0001/[/url] The POST arguments should be: appid=440 (for Team Fortress) key=<your WebAPIKey> <your WebAPIKey> is the WebAPI key associated with the user account that will own the server accounts. See [url]http://steamcommunity.com/dev[/url] for how to get one of these. (WARNING: Make sure and keep this key secret. This key is an authentication token in some respects and makes it possible to do certain actions on your behalf. Don’t feed the key into anybody’s nice convenient web page that automates this. With your WebAPI key they could impersonate you for some actions. If you don’t want to go through the pain of making a WebAPI call, just wait until we have a nicer interface implemented.) The output of the WebAPI will be the (permanent) SteamID of your gameserver, and a login token. The login token is a random string of text that allows you to actually login to your account. You can view a list of the servers owned by a user account by making a HTTPS GET call to: https://api.steampowered.com/IGameServersService/GetAccountList/v0001/?key=<yourkey> LOGGING IN TO YOUR ACCOUNT (TF only for now): Once you have a gameserver login token, you can specify your login credentials on a Source engine server by executing this console command sometime before it loads the first map: sv_setsteamaccount <login token> The server output should make it clear when you are using a Steam gameserver account and when you are logging in anonymously. (The ordinary gameserver login that has always been used.) Remember, for now you will need to login to both your Steam gameserver account and also your TF account. The two accounts are not related. The TF account is the one that determines quickplay eligibility, and the Steam one does favorites migration. Eventually we will remove the TF accounts and only use Steam gameserver accounts. HOW FAVORITES MIGRATION WORKS: In the next few days we will release an updated Steam Client beta that knows how to migrate favorites. On the client, each favorite has an IPort and a gameserver account. The account might be empty --- that will of course be the case for all previously existing favorites. Periodically, a client will try to sync up the favorites list IPort addresses and accounts. If there is an IPort without an associated account, it will ask the master server for information about that address. If a server is running on that address and logged into an account, the client will record the account. Once the client has an account associated with the favorite, the account becomes the primary key and will not change. Instead, we will periodically try to refresh the address from the account. (Again, this is done by querying the master server, and it depends on your server bring logged into the account and running on the address.) The client always caches the last known IPort of a favorite, even though the account ID is the main “key". That way, if Steam is down, or the gameserver is down, it will used the cached IPort. All of the above applies to history as well as favorites. In the future, when a client adds a favorite or history item, the account will be recorded immediately. If you know you have many clients that have your server in their favorites or history, then you should not move your server yet. You need to give clients time to logon with new Steam client binaries and get their favorite entry linked up with your account. We'll let you know when you can try out migrating favorites, as well as when the feature is active in the public client and all users have it.[/QUOTE]
[url]https://github.com/Facepunch/garrysmod-requests[/url]
[QUOTE=Robotboy655;43809081][url]https://github.com/Facepunch/garrysmod-requests[/url][/QUOTE] [URL="https://github.com/Facepunch/garrysmod-requests/issues/144"]Posted[/URL], thank you!
Bump for love of awesome wanted feature!
I shall bump this as well! This would be amazing.
I've seen quite a few communities lose traffic due to members not being able to find the new IP, so this is a really great idea!
Yeah this would be way easier than setting up a domain and letting it point to your server.
Sorry, you need to Log In to post a reply to this thread.