

Welcome Message 是一款服务器实用模组,旨在简化向登录服务器的玩家发送欢迎消息的过程。系统支持配置三条消息,每当有人加入世界时即可发送。每条消息可以拥有不同的颜色,并且可以完全设置为可点击链接(可选输入 URL)。任何一条消息的配置都可以留空以防止其被发送。
默认情况下,这些消息仅发送给加入专用服务器的玩家,例如不包括单人游戏世界。不过,这可以在配置文件中切换。





所有可用的配置选项:
显示剧透
onlyRunOnDedicatedServers 默认值 true
如果模组仅在专用服务器上运行。启用后,在单人游戏世界中不会发送消息。
sendEmptyLineBeforeFirstMessage 默认值 true
是否在第一条消息之前发送一个空行,以将欢迎消息与其他可能发送的聊天消息分隔开。
messageOneText 默认值 "Welcome to the server!"
玩家加入世界时收到的第一条消息。可以留空。
messageOneColourIndex 默认值 2,最小值 0,最大值 15
0: 黑色, 1: 深蓝色, 2: 深绿色, 3: 深青色, 4: 深红色, 5: 深紫色, 6: 金色, 7: 灰色, 8: 暗灰色, 9: 蓝色, 10: 绿色, 11: 青色, 12: 红色, 13: 浅紫色, 14: 黄色, 15: 白色
messageOneOptionalURL 默认值 ""
如果在此处输入链接,整条消息将变为可点击状态。
messageTwoText 默认值 "Downloaded from CurseForge! This is a clickable link."
玩家加入世界时收到的第二条消息。可以留空。
messageTwoColourIndex 默认值 14,最小值 0,最大值 15
0: 黑色, 1: 深蓝色, 2: 深绿色, 3: 深青色, 4: 深红色, 5: 深紫色, 6: 金色, 7: 灰色, 8: 暗灰色, 9: 蓝色, 10: 绿色, 11: 青色, 12: 红色, 13: 浅紫色, 14: 黄色, 15: 白色
messageTwoOptionalURL 默认值 ""
如果在此处输入链接,整条消息将变为可点击状态。
messageThreeText 默认值 "You should probably edit this in the config :
玩家加入世界时收到的第三条消息。可以留空。
messageThreeColourIndex 默认值 15,最小值 0,最大值 15
0: 黑色, 1: 深蓝色, 2: 深绿色, 3: 深青色, 4: 深红色, 5: 深紫色, 6: 金色, 7: 灰色, 8: 暗灰色, 9: 蓝色, 10: 绿色, 11: 青色, 12: 红色, 13: 浅紫色, 14: 黄色, 15: 白色
messageThreeOptionalURL 默认值 ""
如果在此处输入链接,整条消息将变为可点击状态。

加入服务器时显示的欢迎消息:


您可以自由地在任何整合包中使用此模组,只要下载源仍托管在 CurseForge 或 Modrinth 生态系统中。
Serilum.com 包含所有可用模组的概览及更多信息。
如有问题、想法、建议或其他内容,请访问 Github 仓库。谢谢!


Welcome Message is a server utility mod designed to make sending a welcome message to players logging into the server easy. There are three configurable messages which can be sent whenever someone joins the world. Each message can have a different colour and be completely clickable with an optional URL input. Any message config can also be left empty to prevent it from being sent.
By default the messages are only sent to players joining a dedicated server, e.g. not a singleplayer world. This can however be toggled in the config.





All available config options:
Show Spoiler
onlyRunOnDedicatedServers default true
If the mod should only run on dedicated servers. When enabled it's not sent when in a singleplayer world.
sendEmptyLineBeforeFirstMessage default true
Whether an empty line should be send before to first message to separate the welcome from other chat messages that might be sent.
messageOneText default "Welcome to the server!"
The first message a player will receive when joining the world. Can be left empty.
messageOneColourIndex default 2, min 0, max 15
0: black, 1: dark_blue, 2: dark_green, 3: dark_aqua, 4: dark_red, 5: dark_purple, 6: gold, 7: gray, 8: dark_gray, 9: blue, 10: green, 11: aqua, 12: red, 13: light_purple, 14: yellow, 15: white
messageOneOptionalURL default ""
If a link is entered here, the complete message will be clickable.
messageTwoText default "Downloaded from CurseForge! This is a clickable link."
The second message a player will receive when joining the world. Can be left empty.
messageTwoColourIndex default 14, min 0, max 15
0: black, 1: dark_blue, 2: dark_green, 3: dark_aqua, 4: dark_red, 5: dark_purple, 6: gold, 7: gray, 8: dark_gray, 9: blue, 10: green, 11: aqua, 12: red, 13: light_purple, 14: yellow, 15: white
messageTwoOptionalURL default ""
If a link is entered here, the complete message will be clickable.
messageThreeText default "You should probably edit this in the config :
The third message a player will receive when joining the world. Can be left empty.
messageThreeColourIndex default 15, min 0, max 15
0: black, 1: dark_blue, 2: dark_green, 3: dark_aqua, 4: dark_red, 5: dark_purple, 6: gold, 7: gray, 8: dark_gray, 9: blue, 10: green, 11: aqua, 12: red, 13: light_purple, 14: yellow, 15: white
messageThreeOptionalURL default ""
If a link is entered here, the complete message will be clickable.

The welcome message shown when joining a server:


You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
评论 0
登录后参与评分
还没有评论,来抢沙发吧