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.
Sharing information about used ruleset?
Re: Sharing information about used ruleset?
.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:
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
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.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
Re: Sharing information about used ruleset?
Thank you. That's exactly the feature I was searching for.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
Re: Sharing information about used ruleset?
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: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)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.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!