Next: , Previous: Sound options, Up: Reference


4.7 Network options

4.7.1 bind-ip

— Command-line option: --bind-ip=<value>
— Environment variable: LW6_BIND_IP
— XML key: bind-ip

Type: string

Default value: 0.0.0.0

The IP address to bind on when listening to network messages. You can use this to specifically use a given network interface, the default will listen on any available interface.

4.7.2 bind-port

— Command-line option: --bind-port=<value>
— Environment variable: LW6_BIND_PORT
— XML key: bind-port

Type: integer

Default value: 8056 Min value: 1 Max value: 65535

The IP port to bind on when listening to network messages. The default should work out of the box, and will ease up the discovery process. That is, if you use your own settings, automatic detection of your server by other servers might not work so well.

4.7.3 cli-backends

— Command-line option: --cli-backends=<value>
— Environment variable: LW6_CLI_BACKENDS
— XML key: cli-backends

Type: string

Default value: tcp,udp,http

The client backends to use. Most of the time the default is fine, change it only if you specifically want to disactivate some protocol, or if you want to activate a custom-made client backend. It's a comma separated list.

4.7.4 local

— Command-line option: --local=<value>
— Environment variable: LW6_LOCAL
— XML key: local

Type: boolean

Default value: false

If set, then game won't do anything network related. No listen, no connect, no nothing. You are playing locally.

4.7.5 public-url

— Command-line option: --public-url=<value>
— Environment variable: LW6_PUBLIC_URL
— XML key: public-url

Type: string

Default value:

The public URL of your server. By default the game will pick up one for you. In fact, the clients discovering your server should guess the public URL, probably http://<your-ip>:<your-port>/ but you might need to use your own settings if you are using NAT or an Apache reverse-proxy to rewrite HTTP requests.

4.7.6 srv-backends

— Command-line option: --srv-backends=<value>
— Environment variable: LW6_SRV_BACKENDS
— XML key: srv-backends

Type: string

Default value: tcpd,udpd,httpd

The server backends to use. Most of the time the default is fine, change it only if you specifically want to disactivate some protocol, or if you want to activate a custom-made server backend. It's a comma separated list.