[SOLVED][FREECIV-SERVER] - Command line access

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
Post Reply
pierr0t
Posts: 2
Joined: Fri Jul 11, 2014 9:51 am

[SOLVED][FREECIV-SERVER] - Command line access

Post by pierr0t »

Hello all,

I ve set up a frreciv-server 2.4.2 thanks to MGU. This server is launched by script launched by a crontab. And it s working very fine. But I do not have access to the freeciv-server command line interface.
With the freeciv-client I can access to the configuration database of the server, but I do not have a direct access to the console server.
Is there a way to access to the freeciv-server console by a specific remote client ?

Thanks

Pierr0t
Last edited by pierr0t on Sun Jul 13, 2014 7:00 pm, edited 1 time in total.
User avatar
JTN
Elite
Posts: 473
Joined: Wed Jan 30, 2013 12:15 am

Re: [FREECIV-SERVER] - Command line access

Post by JTN »

You can send commands to the server via the chatline -- any line prefixed with a slash is a server command. E.g., "/read civ2civ3" or "/start". (Of course your client must have appropriate privileges to execute any command.)
cazfi
Elite
Posts: 3094
Joined: Tue Jan 29, 2013 6:54 pm

Re: [FREECIV-SERVER] - Command line access

Post by cazfi »

If you're already running server from cron, you might be interested about pubcaz when I get it fully available. Repository is in https://github.com/cazfi/pubcaz
pierr0t
Posts: 2
Joined: Fri Jul 11, 2014 9:51 am

Re: [FREECIV-SERVER] - Command line access

Post by pierr0t »

Hi all,

Thanks to you JTN, it works, so easy. But I do not have enough imagination to use the chat console as server console.
Thks Cazfi, I ll have look a this.

Pierr0t
AndreasR
Elite
Posts: 755
Joined: Thu May 02, 2013 10:26 pm

Re: [FREECIV-SERVER] - Command line access

Post by AndreasR »

cazfi wrote:If you're already running server from cron, you might be interested about pubcaz when I get it fully available. Repository is in https://github.com/cazfi/pubcaz
It's great that you are working on a system for running Freeciv servers on a public server. pubcaz will probably share a lot of functionality with publite2,
which is used by Freeciv-web and is hosted here: https://github.com/freeciv/freeciv-web/ ... r/publite2

At the moment publite2 is quite specific for Freeciv-web. It would be nice with a new system which could be used to launch and monitor both Freeciv and Freeciv-web servers.

May I suggest you host the source code of pubcaz on https://github.com/freeciv ? 8-)
Post Reply