[Freeciv-Dev] patch: allowconnect server option (PR#446)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
This patch adds a server command 'allowconnect':
: > help allow
: Option: allowconnect - What connections are allowed
: Description:
: This should be a string of characters, each of which specifies a type or
: status of a civilization, or "player". Clients will only be permitted to
: connect to those players which match one of the specified letters. This
: only affects future connections, and existing connections are unchanged.
: The characters and their meanings are:
: N = New players (only applies pre-game)
: H = Human players (pre-existing)
: A = AI players
: D = Dead players
: B = Barbarian players
: Note that the first description from the _bottom_ which matches a player is
: the one which applies, thus 'D' does not include Barbarians, 'A' does not
: include dead AI players, and so on. The case of the characters is not
: significant.
: Status: changeable
: Value: "NHAD", Default: "NHAD"
Eg, this allows connecting to barbarians for testing, or disallowing
connections to dead players or AIs (may be connsidered cheating in some
cases), etc. Disallowing N or H would be unusual, but there may be
uses, eg with autotoggle and 'create' ? But mainly they are there for
completeness...
Regards,
-- David
allowconnect.diff.gz
Description: GNU Zip compressed data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] patch: allowconnect server option (PR#446),
David Pfitzner <=
|
|