Source file
Languages
Auto Greeting
A Fabric mod that automatically sends greeting messages when you or other players join a server
Features
- Supports multiple messages
- Supports plain chat messages and commands
- Supports blacklist / whitelist rules for player names
- Supports placeholders
- Automatically sends messages for yourself after joining a server
- Automatically sends messages when other players join
Command Overview
/autogreet self .../autogreet other ...
Notes:
[a|b]meansaorb
For example:
/autogreet [other|self] status
means either:
/autogreet other status
or
/autogreet self status
Commands
Status
Controls whether auto greeting is enabled or disabled.
/autogreet [self|other] status
/autogreet [self|other] status enable
/autogreet [self|other] status disable
/autogreet [self|other] status toggle
Message
Controls what the mod sends.
You can use placeholders.
/autogreet [self|other] message add <message>
/autogreet [self|other] message add <message> <index>
/autogreet [self|other] message remove
/autogreet [self|other] message remove <index>
/autogreet [self|other] message remove all
/autogreet [self|other] message list
Placeholders for self
| 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 |
Placeholders for other
| Placeholder | Description |
|---|---|
@player |
Player name |
@UUID |
Player UUID |
Blacklist / Whitelist
/autogreet other [whitelist|blacklist] list
/autogreet other [whitelist|blacklist] clear confirm
/autogreet other [whitelist|blacklist] [match|except] list
/autogreet other [whitelist|blacklist] [match|except] [equal|contain|startWith|endWith] add <pattern>
/autogreet other [whitelist|blacklist] [match|except] [equal|contain|startWith|endWith] remove
/autogreet other [whitelist|blacklist] [match|except] [equal|contain|startWith|endWith] remove <index>
/autogreet other [whitelist|blacklist] [match|except] [equal|contain|startWith|endWith] remove all
/autogreet other [whitelist|blacklist] [match|except] [equal|contain|startWith|endWith] list
Examples
/autogreet self message add Hello, I'm @player at (@X, @Y, @Z)
/autogreet self message add HP: @health | Level: @level
/autogreet other message add Welcome @player!
/autogreet other message add Hello @player (@UUID)
Message Behavior
If a message does start with /, it is executed as a command.
If a message does not start with /, it is sent as a normal chat message.
Filtering
other greetings support:
- blacklist
- whitelist
matchrulesexceptrulesequalcontainstartWithendWith
These rules are used to decide whether a joining player's name 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
indexis optional and 1-basedadd <message> <index>inserts before the existing item at that position- If
indexis omitted or out of range, the message is appended remove <index>removes the specified itemremovewithout an index removes the last itemremove allclears the message listclear confirmclears the entire blacklist or whitelist rule set- Numeric values are formatted with up to 3 decimal places, with trailing zeros removed
Supported Versions
- Minecraft 1.21.11
- Fabric Loader 0.18+
- Fabric API
- Java 21
- Cloth config 21.11.153 (Optional)
- Modmenu 17.0.0-beta.2 (Optional)
License
MIT