Skip to content

[CSGO] Community servers now require Game Server Login Token (GSLT) #555

@hatbocs

Description

@hatbocs

Since we now need to have a token to log in and open up the servers to non local players it'd be nice to have a simple line in the script to make it easier.

In my initial tests I've found that adding sv_setsteamaccount to csgo-server.cfg does well enough anyway.

But now in the csgoserver script I've added:

# Required login token
# Create a new token at http://steamcommunity.com/dev/managegameservers
logintoken="YOURLOGINTOKENHERE"

And changed the parms line to:

parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_mode ${gamemode} +game_type ${gametype} +host_workshop_collection ${ws_collection_id} +workshop_start_map ${ws_start_map} -authkey ${authkey} +sv_setsteamaccount ${logintoken} -net_port_try 1"

Easy fix but something that might be more worth while to help out those who didn't know to look for that to being with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions