
需要库模组 Collective (Fabric) 和 Fabric API。
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 生态系统中即可。
Serilum.com 提供了所有可用模组的概览及更多信息。
由于我无法跟踪每个模组各个页面的单独评论,因此评论区已关闭。
如有问题、想法、建议或其他任何内容,请访问 Github 仓库。谢谢!

Requires the library mod Collective (Fabric) and the Fabric API.
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.
Configurable: ( how do I configure? )
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.

------------------
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge ecosystem.
Serilum.com contains an overview and more information on all mods available.
Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
评论 0
登录后参与评分
还没有评论,来抢沙发吧