wesnoth #3

  • By charmers
  • Latest version (#3)
  • precise
  • Stable
  • Edge

Description

The Battle for Wesnoth is a Free, turn-based tactical strategy game
with a high fantasy theme, featuring both single-player, and
online/hotseat multiplayer combat. This charm deploys the server part.


Overview

The Battle for Wesnoth is a Free, turn-based tactical strategy game with a high
fantasy theme, featuring both single-player, and online/hotseat multiplayer
combat. This charm will deploy the server part.

Usage

To deploy this charm execute:

juju bootstratp
juju deploy wesnoth #wait 10 min
juju expose wesnoth
juju status #check out the ip

If you want your Wesnoth environment to differ from the default, you need to
create a local.yaml file with your changes (see Configuration below). Once you
are satisfied with your config simply run

juju deploy [--config /path/to/local.yaml] wesnoth

Access the new environment is also provided with:

juju ssh wesnoth/0

For more information on how to configure wesnoth please see
http://wiki.wesnoth.org/Wesnothd

Configuration

The default configuration will launch wesnoth in the default port
(15000/tcp), with 'admin' as the admin passswd, and with "Be respectful and
have fun | Battle for Wesnoth server 1.10 | powered by juju" as motd.

If you wish to change those defaults create a local.yaml file with your
selections.

For example, if you wish to run the server attached to the port 250000, with the
title "Welcome to my Wesnoth server", your local.yaml file should look like
this:

wesnoth:
port: 250000
title: Welcome to my Wesnoth server

The configuration vars accepted are:

motd: Message of the day displayed to users in the server list
passwd: The password used to gain admin privileges
port: Port from which Wesnoth runs upon
connections_per_ip: Connections allowed from one IP

Contact Information

Author: Javier Lopez chilicuil@ubuntu.com
Report bugs at: http://bugs.launchpad.net/charms
Location
: http://jujucharms.com

Configuration

passwd
(string) The password used to gain admin privileges
admin
connections_per_ip
(int) Connections allowed from one IP
1
motd
(string) Message of the day displayed to users in the server list
Be respectful and have fun | Battle for Wesnoth server 1.10 | powered by juju
port
(int) Port from which Wesnoth runs upon
15000