Difference between revisions of "Command Line"

From PC2wiki
Jump to: navigation, search
m (updated to Primary or Secondary server link name)
m (fixed link typo)
Line 27: Line 27:
 
  pc2team --login team3
 
  pc2team --login team3
  
==Primary Server Options==
+
==Primary server Options==
  
 
{|border="1" cellpadding="2"
 
{|border="1" cellpadding="2"
|+ [[Primary Server]] only
+
|+ [[Primary server]] only
 
! Option!! Description !! Example
 
! Option!! Description !! Example
 
|-
 
|-

Revision as of 02:09, 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