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!
Post Reply
Jacew
Posts: 23
Joined: Thu Apr 30, 2015 8:45 am

Sharing information about used ruleset?

Post by Jacew »

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: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Sharing information about used ruleset?

Post by cazfi »

.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: 23
Joined: Thu Apr 30, 2015 8:45 am

Re: Sharing information about used ruleset?

Post by Jacew »

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?

Post by Thercits »

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!
Post Reply