FREECIV(6)
๐ FREECIV(6) โ Games Manual, but make it group chat ๐
okay so this is FREECIV(6) from the Games Manual, and it's literally the manual page for freeciv-server โ the server side of Freeciv, bestie. Buckle up, because there are so many flags and we're keeping every single one. No cap. ๐
โจ NAME โจ
freeciv-server โ the server for the Freeciv game. That's it, that's the vibe. She runs the game so everyone else can join. ๐
๐ฆ SYNOPSIS ๐ฆ
freeciv-server [ -A|--Announce protocol ] [ -b|--bind address ] [
-B|--Bind-meta address ] [ -d|--debug level ] [ -e|--exit-on-end ] [
-F|--Fatal [ signal_number ] ] [ -f|--file filename ] [ -h|--help ] [
-i|--identity address ] [ -k|--keep ] [ -l|--log filename ] [
-M|--Metaserver address ] [ -m|--meta ] [ -p|--port port ] [
-q|--quitidle time ] [ -R|--Ranklog filename ] [ -r|--read filename ] [
-S|--Serverid id ] [ -s|--saves directory ] [ --scenarios directory ] [
-v|--version ]
Auth aware servers have additional parameters: [ -a|--auth ] [
-D|--Database file ] [ -G|--Guests ] [ -N|--Newusers ]
Servers with AI module support have an additional parameter: [
-L|--LoadAI module ]
๐ธ DESCRIPTION ๐ธ
Freeciv is a free turn-based multiplayer strategy game, in which each player becomes the leader of a civilization, fighting to obtain the ultimate goal: To become the greatest civilization. ๐
Players of Civilization IIยฎ by Microproseยฎ should feel at home, since one aim of Freeciv is to have compatible rules. So if you're coming from that era, you're lowkey gonna recognize the vibe. ๐
Freeciv is maintained by an international team of coders and enthusiasts, and is easily one of the most fun and addictive network games out there! Fr fr. ๐
This is the server program used to establish a Freeciv server โ see also freeciv-client(6). Yes, bestie, the server is the main character here; the client is in another manpage. โจ
This manual page only lists the command line arguments. For details of the directives necessary to configure freeciv-server, see the Server Manual which can be found at the Freeciv website as well as the documentation which is part of the Freeciv distribution. So don't come for this page for everything โ she's just the command-line girlie. ๐
๐ OPTIONS ๐
The following options are accepted on the command line of the server. They may not be combined; that is, freeciv-server -fp savegame.sav 5557 will not work, instead you would need to enter freeciv-server -f savegame.sav -p 5557. The way that combining flags is not the move here โ one flag at a time, please. Most options have a short form (single hyphen and single letter) and a long form (double hyphen and a complete word); their effects are identical. Slay. ๐ซถ
-A protocol,--Announce protocolโ Usesprotocolwhen announcing game in LAN. Possible values forprotocolare:IPv4IPv6none
-a,--authโ Enables server authentication and allows access to registered players only. Requires the--Databaseoption to be specified. So yes,-aneeds her database bestie. ๐-b address,--bind addressโ Sets the address on which the server will listen for clients. This is where she sits and waits for her people. ๐ช-B address,--Bind-meta addressโ Sets the address which request to metaserver are sent from. Defaults to address given by-boption. So if you don't specify this one, she borrows the-baddress. ๐-d level,--debug levelโ Sets the amount of debugging information to be logged in the file named by the-loption. Acceptable values for thelevelare:fatalfor fatal messages only.errorfor fatal and error messages.warningfor fatal, error and warning messagesnormalfor fatal, error, warning and normal messages (default).verbosefor fatal, error, warning, normal, and verbose messages.
-D filename,--Database filenameโ Specifies a database configuration file for authentication. This file specifies the details of the database. SeeREADME.fcdbin the Freeciv distribution for details of its format. Authentication girlies, this one's for you. ๐๏ธ-e,--exit-on-endโ When a game ends, exit instead of restarting. She said "one game and I'm out," iconic behavior. ๐ช-F [ signal_number ],--Fatal [ signal_number ]โ Raise a custom signal on failed assertion. Ifsignal_numberis not specified, then theABRTsignal will be used. Dramatic? Maybe. But that's what it does. ๐-f filename,--file filenameโ Loads a saved game (filename) into the server before initialization, instead of starting a new game. This is for reloading saved games, or for loading scenarios. See ENVIRONMENT for where the server looks for these files. The distribution comes with several scenarios, typically stored in/usr/local/share/freeciv/scenarios, for example:british-isles-85x80-v2.80.savearth-160x90-v2.savearth-80x50-v3.saveurope-200x100-v2.savhagworld-120x60-v1.2.saviberian-peninsula-136x100-v1.0.sav
-G,--Guestsโ Allow guests to login as'guest'when authentication is enabled. Guests can slide in, no account required. ๐๏ธ-h,--helpโ Prints out a description of the command line options and exits. The classic "help me help you" moment. ๐-i address,--identity addressโ Reports the address to the metaserver. Then, the metaserver will use this address to redirect the users. She's telling the metaserver where to send everyone. ๐-L module,--LoadAI moduleโ Loads AI module. This option can appear multiple times to load different modules. AI besties can stack, no cap. ๐ค-l filename,--log filenameโ Defines a log file,filename, to be produced during processing. Use the-doption to set how much is logged. By default, fatal, error, warning, and normal messages are printed to standard output. With a log file, such messages go to the log instead. Iffilenamealready exists, it is appended to. So she's not overwriting your receipts, she's adding to them. ๐งพ-M address,--Metaserver addressโ Specifies the address of the metaserver to send your server's information to. By default, the standard metaserver run by the Freeciv maintainers will be used. Custom metaserver? She can do that. ๐-m,--metaโ Directs the server to communicate with a metaserver, a place where Freeciv servers can publish their presence. Freeciv clients consult the metaserver to offer users a selection of games to join. By default the standard Freeciv metaserver is used. You may specify an alternate metaserver with the-Moption. It's giving "server directory energy." ๐ฃ-k,--keepโ Usuallyfreecivserver stops sending updates to the metaserver, when there's problems on the connection once. With this option it keeps on trying to send further updates even after it has failed to send updated status once. This option implies-moption. She's persistent, okay? ๐ช-N,--Newusersโ Allow new users to login and be registered in the players base if authentication is enabled. New besties welcome. ๐-p port,--port portโ Specifies the TCP port number to which clients will connect; players must know this number to be able to connect if they are not to use the default of5556decimal. You may need to use this if5556is not available for your use on your system, or if you would like to run multiple servers on the same system. Port drama is real. ๐ช-q time,--quitidle timeโ Quits if no players are present for the specified time, in seconds, and restarts a new server. Empty lobby? She's leaving and coming back fresh. ๐-R filename,--Ranklog filenameโ Defines a log file,filename, to be produced during processing. This log contains information for player ranking. Ranking girlies, this is your file. ๐-r filename,--read filenameโ Specifies a file,filename, of server commands which the server will automatically read and process, as if you had typed them in at the server's prompt. The distribution comes with a few examples, including files that set options to be similar to Civilization Iยฎ and Civilization IIยฎ. The files are namedciv1.servandciv2.serv, and are typically found at/usr/local/share/freeciv/. Autopilot commands, slay. ๐-S id,--Serverid idโ Sets the server id. This is used to identify a particular running game. So you can tell your games apart. ๐-s directory,--saves directoryโ Specifies the directory to place save game files created by the server. This is especially useful when you're running more than one server on the same system, as it inhibits your servers from clobbering other's save game files.
(This does not influence where the server looks when loading save game files; see FREECIV_SAVE_PATH for that.)
--scenarios directoryโ Specifies the directory to place scenarios saved by the server (for instance, those created with the in-game editor).
(This does not influence where the server looks when loading scenario files; see FREECIV_SCENARIO_PATH for that.)
-v,--versionโ Causes the server to display its version number and exit. Version check, then bye. โ๏ธ
๐ EXAMPLES ๐
๐ฎ freeciv-server --file oldgame.sav --port 2244
Starts a server on port 2244, loading the save game file oldgame.sav.
๐ฎ freeciv-server -R ranklog -l logfile -r script -f oldgame.sav.gz -p 2244
Starts a server on port 2244, loading the save game file oldgame.sav.gz. Ranking related events are written to ranklog, other logging information is written to logfile. When the server starts, it immediately executes the commands contained in script.
๐ฎ freeciv-server -m -a -D fc_auth.conf -q 60 -p 2244 -d normal -l logfile -r script -s ~/saves
Starts a server on port 2244 with authentication enabled and communicates its existence to the standard Freeciv metaserver. Fatal, error, warning, and normal messages are written to logfile. When the server starts it immediately executes the commands contained in script. Save game files are stored in the ~/saves directory. When there are no users on the server for 60 seconds, the server will restart.
๐ซถ COMMANDS ๐ซถ
You may enter commands into the server at any time, either before or during the running of a game.
Type help or help help for starters. Yes, bestie, help help is real and she's helpful. ๐ญ
๐ FILES ๐
The Freeciv server requires the following files in the Freeciv data directory, which is /usr/local/share/freeciv by default:
civ2civ3/buildings.rulesetciv2civ3/cities.rulesetciv2civ3/effects.rulesetciv2civ3/game.rulesetciv2civ3/governments.rulesetciv2civ3/nations.rulesetciv2civ3/styles.rulesetciv2civ3/techs.rulesetciv2civ3/terrain.rulesetciv2civ3/units.rulesetciv2civ3/script.luadefault/default.luadefault/nationlist.ruleset
These are the default rule sets used for the game. Alternate sets of rules can be used by placing them in a separate directory and using the rulesetdir command to change your server's ruleset directory.
Type help rulesetdir for more information.
โจ ENVIRONMENT โจ
okay bestie, this is where the server picks up vibes from your shell ๐ the Freeciv server is lowkey listening for these environment variables, and yes, they matter:
FREECIV_CAPSโ a string holding a list of "capabilities" the server provides ๐ the compiled-in default is literally correct for almost everything, so don't touch it unless you actually know the capability facility in the source โ in which case, go off, use it to enforce constraints between clients and server ๐FREECIV_COMPRESSION_LEVELโ sets the compression level for network traffic ๐๏ธโจFREECIV_DATA_ENCODINGโ sets the character encoding used for data files, savegames, and network strings ๐ง you should not normally change this from the default ofUTF-8, because that's the format of the supplied rulesets and the standard network protocol. like, fr fr, leave it ๐FREECIV_INTERNAL_ENCODINGโ sets the character encoding used internally byfreeciv-server๐ this one should never be visible at any interface. defaults toUTF-8.FREECIV_LOCAL_ENCODINGโ sets the local character encoding, the one used for the command line and terminal output ๐ฅ๏ธ the default is inferred from other aspects of the environment (mysterious, iconic)FREECIV_MULTICAST_GROUPโ sets the multicast group, for the LAN tab ๐ก๐ซถFREECIV_DATA_PATHโ a colon separated list of directories pointing to the freeciv data directories ๐ by default Freeciv looks in the following directories, in order, for any data files: the current directory; thedatasubdirectory of the current directory; the subdirectory.freeciv/3.2in the user's home directory; and the directory where the files are placed by runningmake install.
also there'sFREECIV_SAVE_PATH(the original page tucks it right in here, so we're being loyal to it): a colon separated list of directories pointing to the freeciv save directories ๐พ by default Freeciv looks in the following directories, in order, for save files: the current directory; and the subdirectory.freeciv/savesin the user's home directory.
โ ๏ธ heads up: this does not affect where the server creates save game files โ see the --saves option for that, iykyk
FREECIV_SCENARIO_PATHโ a colon separated list of directories pointing to the freeciv scenario directories ๐บ๏ธ by default Freeciv looks in the following directories, in order, for scenario files: the current directory; thedata/scenariossubdirectory of the current directory; the subdirectories.freeciv/3.2/scenariosand then.freeciv/scenariosin the user's home directory; and the directory where the files are placed by runningmake install.
โ ๏ธ and again, this does not affect where the server creates scenario files โ see the --scenarios option for that ๐
HOMEโ specifies the user's home directory ๐ โจhttp_proxyโ set this variable accordingly when using a proxy ๐LANGorLANGUAGEโ sets the language and locale on some platforms ๐ฃ๏ธLC_ALLorLC_CTYPEโ similar toLANG(see documentation for your system) ๐USERโ specifies the username of the current user ๐โโ๏ธ
๐ BUGS ๐
found a bug? please report it to the Freeciv bug tracker ๐๐ซถ like, they actually want to know. don't suffer in silence bestie.
๐ MORE INFO ๐
see the Freeciv homepage ๐ก
updates and new info are first posted there, so that's the main character of your bookmark folder, periodt ๐
๐ AUTHORS ๐
The Freeciv Team <freeciv-dev at freelists.org> ๐
This manpage was originally put together by Florian Ernst <florian_ernst AT gmx.net> using the Server Manual and the comments in the sourcecode ๐ it was updated by Ben Bettin <bwbettin AT gmail.com> to add new features, integrate information from the website's online documentation, and for slight formatting adjustments โจ
Feel free to use it as you wish โ iconic, generous, we love to see it ๐
๐ฆ SEE ALSO ๐ฆ
freeciv-client(6) and the Server Manual on the Freeciv homepage ๐ธ
so that's the whole thing, bestie โ you're officially a Freeciv server girlie now ๐งโโ๏ธ๐ this lil' page comes to you from December 10th 2011 and it's the FREECIV(6) page, so go forth and slay your LAN party ๐ฅ๐
๐ฆ where this page comes from
- arch rolling: freeciv-common 3.2.6-1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: freeciv 3.2.6-bp160.1.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: freeciv 3.2.6-bp160.1.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: freeciv 3.2.6-bp160.1.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: freeciv 3.2.6-bp160.1.1 ยท GPL-2.0-or-later
- Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms