Command-line parameter.

Use this forum if you have a relatively general question or comment about a game, Ventrilo, TeamSpeak, or Murmur/Mumble server with us. If you have a server-specific question that might not help out the community, please directly contact us through your control panel instead.
Post Reply
Erhan
A semi-regular
A semi-regular
Posts: 20
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Sep 11, 2012 10:55 pm

Command-line parameter.

Post by Erhan »

I'm trying to enable the workshop on my server but I need to add "+host_workshop_collection WORKSHOPID -authkey YOURKEYGOESHERE" to the command line parameter, where can I edit this? (It's garrysmod)
User avatar
Vanderburg
Former staff
Former staff
Posts: 1253
Joined: Sat Nov 13, 2010 7:27 am
Location: Dallas, TX

Re: Command-line parameter.

Post by Vanderburg »

If you are on a managed game server, you can set this in the Easy Setup tab of your control panel and it will take care of this for you.
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Command-line parameter.

Post by .=QUACK=.Major.Pain »

Doesn't go in the command line does it?
We have ours in the server.cfg.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Erhan
A semi-regular
A semi-regular
Posts: 20
Joined: Tue Sep 11, 2012 10:55 pm

Re: Command-line parameter.

Post by Erhan »

.=QUACK=.Major.Pain wrote:Doesn't go in the command line does it?
We have ours in the server.cfg.
How did you put it in there? Leave the api key part blank
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Command-line parameter.

Post by Edge100x »

Pain, with Garrysmod, unfortunately it does need to go on the command-line, due to bugs/limitations in Garrysmod. Our "Easy setup" page takes care of this.
Erhan
A semi-regular
A semi-regular
Posts: 20
Joined: Tue Sep 11, 2012 10:55 pm

Re: Command-line parameter.

Post by Erhan »

Edge100x wrote:Pain, with Garrysmod, unfortunately it does need to go on the command-line, due to bugs/limitations in Garrysmod. Our "Easy setup" page takes care of this.
In which part do I have to put it?
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Command-line parameter.

Post by .=QUACK=.Major.Pain »

My mistake - we never used any of that.

We just added a workshop.vdf file with our mods, and when we started the server, the mods were automatically downloaded and installed.

Apparently we were running an older version of Garry's mod that just allowed installing the .vdf file.

But when trying to use wiremod, we couldn't access it.

I tried adding that info to the command line but created errors.

Code: Select all

Fetching Workshop Addons..
Calling GetCollectionDetails
Response missing:
{

}
Calling GetCollectionDetails
Connection to Steam servers successful.
   Public IP is 74.121.190.162.
Assigned anonymous gameserver Steam ID [A-1:1422355458(3303)].
VAC secure mode is activated.
Response missing:
{

}
Calling GetCollectionDetails
Response missing:
{

}
Calling GetCollectionDetails
Response missing:
{

}
Calling GetCollectionDetails
Response missing:
{

}
What is the WORKSHOPID?
Your steam id?
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Command-line parameter.

Post by .=QUACK=.Major.Pain »

Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Erhan
A semi-regular
A semi-regular
Posts: 20
Joined: Tue Sep 11, 2012 10:55 pm

Re: Command-line parameter.

Post by Erhan »

.=QUACK=.Major.Pain wrote:Think I figured it out.

http://wiki.garrysmod.com/page/Workshop ... ed_Servers
+host_workshop_collection WORKSHOPID -authkey YOURKEYGOESHERE

Yes, but I don't understand where I put that in the controll panel.
Erhan
A semi-regular
A semi-regular
Posts: 20
Joined: Tue Sep 11, 2012 10:55 pm

Re: Command-line parameter.

Post by Erhan »

Oh, it's now in the correct file but it doesn't download the addons I have in my workshop.
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Command-line parameter.

Post by Edge100x »

If you put it on the "Easy setup" page, you don't have to worry about the command line, because it does that for you.

If the files don't download, you should double-check the values to make sure they're right, and wait a bit longer to make sure you've given it enough time. If it still doesn't work, you may have to troubleshoot further with -condebug.
Post Reply