Pc2v8.ini

From PC2wiki
Jump to: navigation, search

Introduction

For all PC² Version 8 modules a pc2v8.ini file must be present.

Format

The .ini is a typical format. All blank lines and lines starting with # are ignored.

A section (set of name value pairs) is a name surrounded by square brackets.

Name value pairs are a name, equals sign, and then value. Names are case insensitive by PC² whereas values are case sensitive.

Contents

All Modules

Table of Name Value Pairs
Section Name Value format Description
client site host:port host and port for server

Server Modules only

Table of Name Value Pairs
Section Name Value format Description
server remoteServer host:port host server logs into
server port port override port to listen on

Sample pc2v8.ini file

This is a reference version of the pc2v8.ini and is present in the Version 8 distribution in the samps directory.

#
# File:   pc2v8.ini - settings for pc2
# Author: pc2@ecs.csus.edu
# Rev:    Tue Nov 15 09:18:47 PST 2005

#
# $Id: pc2v8.ini,v 1.1 2005/03/06 05:34:39 laned Exp $
#

# ** Includes region settings **

[client]
debuglevel=13
consolelevel=5
server=localhost:50002
site=Site 1

# minSecsBetweenUpdate=180
# Default 3 min, see doc for further info

[server]
debuglevel=13
consolelevel=5
site=Site 1
# port=50200
# remoteServer=remote_host_IP:50002

[team]
# workdir=c:\work
# workdir=/work

#
# board settings for region processing/handling
#

[board]
regionidcount=2
regionnamecount=2
regionid1=17
regionname1=Upper Division
regionid2=3
regionname2=Lower Division

# enablelowmedian=??
# linesperpage=??

[admin]
# useSchoolName=true
# useSchoolShortName=true
# useTeamAndSchoolName=true
# useTeamName=true

# eof pc2v8.ini $Id: pc2v8.ini,v 1.1 2005/03/06 05:34:39 laned Exp $