Difference between revisions of "Command Line"

From PC2wiki
Jump to: navigation, search
(updated with examples and content)
m (updated to Primary or Secondary server link name)
Line 27: Line 27:
 
  pc2team --login team3
 
  pc2team --login team3
  
==First Server Options==
+
==Primary Server Options==
  
 
{|border="1" cellpadding="2"
 
{|border="1" cellpadding="2"
|+ [[First Server]] only
+
|+ [[Primary Server]] only
 
! Option!! Description !! Example
 
! Option!! Description !! Example
 
|-
 
|-
Line 39: Line 39:
 
===Examples===
 
===Examples===
  
This will attempt to start a [[first server]] with contest password contest33  
+
This will attempt to start a [[Primary server]] with contest password contest33  
 
login account site1 with the password <tt>site1</tt>.
 
login account site1 with the password <tt>site1</tt>.
  
Line 47: Line 47:
  
 
  pc2server --login site2 --password sitepass2
 
  pc2server --login site2 --password sitepass2
 +
 +
==See Also==
 +
* [[Primary server]]
 +
* [[Secondary server]]

Revision as of 02:00, 21 November 2009

The command line options for PC² for Version 9

These are options that can be used with the PC² scripts.

All these command line options are optional, if not specified the user will be prompted via GUI to enter the information.

Login/Password options

Option Description Example
--login Login Login name --login server1
--login team2
--password Password Password --password Password

Examples

This will attempt to login account team3 with the password passone.

pc2team --login team3 --password passone

This will attempt to login account team3 with the password team3 (A joe account)

pc2team --login team3

Primary Server Options

Primary Server only
Option Description Example
--contestpassword Contest password --contestpassword pass

Examples

This will attempt to start a Primary server with contest password contest33 login account site1 with the password site1.

pc2server --login site1 --contestpassword contest33

This will attempt to login account site2 with the password sitepass2.

pc2server --login site2 --password sitepass2

See Also