跳到正文

Auto Greeting – Server

作者:lyuwenhan

Automatically sends greeting messages to players based on configured conditions.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Languages

EN/English | ZH-CN/简体中文

Auto Greeting – Server

A server-side Fabric mod that automatically sends preset greeting messages when a player joins the server.

The mod supports both plain chat messages as well as commands.

Features

  • Supports multiple messages
  • Supports plain chat messages as well as commands
  • Supports blacklist / whitelist rules for player names
  • Supports placeholders
  • Automatically sends preset messages when a player joins the server

Command Overview

  • /servergreet ...

Notes:

  • [a|b] means a or b

For example:

/servergreet [whitelist|blacklist] list

means either:

/servergreet whitelist list

or

/servergreet blacklist list

Server-Side Commands

Status

Controls whether auto greeting is enabled or disabled.

/servergreet status
/servergreet status enable
/servergreet status disable
/servergreet status toggle

Message

Controls the messages sent by the mod.

Placeholders are supported.

/servergreet message add <message>
/servergreet message add <message> <index>
/servergreet message remove
/servergreet message remove <index>
/servergreet message remove all
/servergreet message list

Placeholders

| Placeholder | Description |
|:-:|:-:|
| @player | Player name |
| @UUID | UUID |
| @X | X coordinate (up to 3 decimals) |
| @Y | Y coordinate (up to 3 decimals) |
| @Z | Z coordinate (up to 3 decimals) |
| @health | Current health |
| @level | Current experience level |

Blacklist / Whitelist

/servergreet [whitelist|blacklist] list
/servergreet [whitelist|blacklist] clear confirm

/servergreet [whitelist|blacklist] [match|except] list

/servergreet [whitelist|blacklist] [match|except] [equal|contain|startWith|endWith] add <pattern>
/servergreet [whitelist|blacklist] [match|except] [equal|contain|startWith|endWith] remove
/servergreet [whitelist|blacklist] [match|except] [equal|contain|startWith|endWith] remove <index>
/servergreet [whitelist|blacklist] [match|except] [equal|contain|startWith|endWith] remove all
/servergreet [whitelist|blacklist] [match|except] [equal|contain|startWith|endWith] list

Examples

/servergreet message add Welcome @player!
/servergreet message add Player @player joined at (@X, @Y, @Z)
/servergreet message add HP=@health Level=@level

Message Behavior

If a message starts with /, it is executed as a command.

If a message does not start with /, it is sent as a normal chat message.

Filtering

  • blacklist
  • whitelist
  • match rules
  • except rules
  • equal
  • contain
  • startWith
  • endWith

These rules determine whether the name of a joining player should trigger greeting logic.

Filtering behavior

  • If a player matches the blacklist, they are ignored
  • If a player matches the blacklist but also matches blacklist except, they are allowed again
  • If the whitelist is not empty, only players matching the whitelist are allowed
  • If a player matches the whitelist but also matches whitelist except, they are ignored

Notes

  • index is optional and 1-based
  • add <message> <index> inserts before the existing item at that position
  • If index is omitted or outside the valid range, the message is appended
  • remove <index> removes the specified item
  • remove without an index removes the last item
  • remove all clears the message list
  • clear confirm clears the entire blacklist or whitelist rule set
  • Numeric values are formatted with up to 3 decimal places, and trailing zeros are removed

Supported Versions

  • Minecraft 26.3
  • Fabric Loader 0.19.5+
  • Fabric API 0.160.5+
  • Java 25

License

MIT

常见问题

Auto Greeting – Server 支持哪些 Minecraft 版本?

Auto Greeting – Server 支持 Minecraft Java 版 1.21.11–26.3,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Auto Greeting – Server 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

lyuwenhan 的其他作品

查看全部 →