Sharing information about used ruleset?

Join us, meet players from all around the world, challenge the strongest top players, practice and be one of them!
Jacew
Posts: 16
Joined: Thu Apr 30, 2015 8:45 am

Sharing information about used ruleset?

Postby Jacew » Sun Sep 20, 2015 8:38 pm

I was wondering if there a way to add free text to .serv files, that would be shown on the server window along with the .serv options when you load the file? Or is it possible to open a separate info.txt file into server?

When you're using modded ruleset, it would be nice inform possible other human players about features of current ruleset.

cazfi
Elite
Posts: 1558
Joined: Tue Jan 29, 2013 6:54 pm

Re: Sharing information about used ruleset?

Postby cazfi » Mon Sep 21, 2015 4:25 am

.serv is not part of the ruleset. It just contains server commands - of which loading specific ruleset is usually one. One thing you can do there is using connectmsg command:

Code: Select all

> help connectmsg
Command: connectmsg  -  Set message to show to connecting players.
Synopsis: connectmsg <message>
Level: admin
Description:
  Set message to send to clients when they connect.
  Empty message means that no message is sent.


Freeciv-2.5: In the actual ruleset, there's "description" (of limited length) in about section of game.ruleset. Players can access that from the menu: Help -> About Current Ruleset (word "Current" has been added since 2.5.1)
Freeciv-2.6: There's both "summary" (works practically like 2.5 description feature) and "description". Summary is of limited length, description can be long. Summary is shown also in the server console when ruleset is loaded

Jacew
Posts: 16
Joined: Thu Apr 30, 2015 8:45 am

Re: Sharing information about used ruleset?

Postby Jacew » Mon Sep 21, 2015 10:46 am

Freeciv-2.5: In the actual ruleset, there's "description" (of limited length) in about section of game.ruleset. Players can access that from the menu: Help -> About Current Ruleset (word "Current" has been added since 2.5.1)
Freeciv-2.6: There's both "summary" (works practically like 2.5 description feature) and "description". Summary is of limited length, description can be long. Summary is shown also in the server console when ruleset is loaded


Thank you. That's exactly the feature I was searching for.

Thercits
Posts: 1
Joined: Wed Aug 17, 2016 3:55 am

Re: Sharing information about used ruleset?

Postby Thercits » Wed Aug 17, 2016 9:06 am

cazfi wrote:.serv is not part of the ruleset. It just contains server commands - of which loading specific ruleset is usually one. One thing you can do there is using connectmsg command:

Code: Select all

> help connectmsg
Command: connectmsg  -  Set message to show to connecting players.
Synopsis: connectmsg <message>
Level: admin
Description:
  Set message to send to clients when they connect.
  Empty message means that no message is sent.


Freeciv-2.5: In the actual ruleset, there's "description" (of limited length) in about section of game.ruleset. Players can access that from the menu: Help -> About Current Ruleset (word "Current" has been added since 2.5.1)
Freeciv-2.6: There's both "summary" (works practically like 2.5 description feature) and "description". Summary is of limited length, description can be long. Summary is shown also in the server console when ruleset is loaded



Thanks for this also! This is what I wanted to ask for. BIG HELP indeed!