Page 1 of 1

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

Posted: Fri Jul 11, 2014 11:44 am
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

Re: [FREECIV-SERVER] - Command line access

Posted: Fri Jul 11, 2014 6:46 pm
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.)

Re: [FREECIV-SERVER] - Command line access

Posted: Fri Jul 11, 2014 11:09 pm
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

Re: [FREECIV-SERVER] - Command line access

Posted: Sun Jul 13, 2014 7:00 pm
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

Re: [FREECIV-SERVER] - Command line access

Posted: Mon Jul 14, 2014 10:46 am
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-)