Author Topic: Welcome message to different server groups  (Read 880 times)

Sporranlegion

  • Newbie
  • *
  • Posts: 18
    • View Profile
Welcome message to different server groups
« on: January 05, 2020, 05:35:16 PM »
I have been trying to create different welcome messages for different server groups but with no success.

I have changed the server cfg file bot_functions to include WelcomeMessage:welcome_members and have written a new welcomemessages_members.cfg file in the config folder.

How do I activate this message in the server config file.

Thanks for taking the time to help.
« Last Edit: February 06, 2020, 08:55:42 PM by Stefan1200 »

Stefan1200

  • Administrator
  • *****
  • Posts: 2174
    • View Profile
Re: Wlcome message to different server groups
« Reply #1 on: January 05, 2020, 05:38:52 PM »
Okay, and you put the right path to the file welcomemessages_members.cfg at welcome_members_file in the JTS3ServerMod config file?

Sporranlegion

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Wlcome message to different server groups
« Reply #2 on: January 07, 2020, 02:03:57 AM »
That is the part I am not sure of, do I have to create a section similar to this...

# A comma separated list (without spaces) of server group ids.
# Depends on the given mode, this server groups can be ignored or only this server groups get this welcome message!
# If no server groups should be ignored, set no server groups here and select the group list mode ignore!
welcome_group_list =
# Select one of the two modes for the server group list.
# ignore = The selected server groups will be ignored and don't get this welcome message.
# only = Only the selected server groups get this welcome message.
welcome_group_list_mode = ignore
# A comma separated list (without spaces) of the total connection count (it's the same value as %CLIENT_TOTALCONNECTIONS% at the welcome message),
# when this message should be send to the client. Set this to -1 to show it every time.
# Ranges like 1-100, -20 (means 20 or less) or 100- (means 100 or more) are also possible.
welcome_showonconnectionnumber = -1
# A comma separated list (without spaces) of platform names (it's the same value as %CLIENT_PLATFORM% at the welcome message).
# Only selected platforms get the welcome message or leave this empty to send the welcome message to all platforms.
# Possible platforms: Windows, Mac, Linux, Android, iOS
welcome_platform_list =
# Select the message mode, how the client should get the message.
# poke or chat are valid values!
welcome_message_mode = poke
# Path to file which contains the welcome message.
welcome_file = %apphome%config/server1/welcomemessages.cfg

Or just add the paths to this section after the path to the welcome_file = %apphome%config/server1/welcomemessages.cfg

Stefan1200

  • Administrator
  • *****
  • Posts: 2174
    • View Profile
Re: Wlcome message to different server groups
« Reply #3 on: January 07, 2020, 06:29:43 AM »
Well, why you don't follow the manual and use the -updateconfig command? That would create all necessary config keys for you.

Sporranlegion

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Wlcome message to different server groups
« Reply #4 on: January 09, 2020, 11:22:05 PM »
Should have thought of that first before bothering you.
Many thanks Stefan.