Back
Source file

Languages

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

Auto Greeting

A Fabric mod that automatically sends greeting messages when you or other players join a server

Features

Command Overview

Notes:

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:

These rules are used to decide whether a joining player's name should trigger greeting logic.

Filtering behavior

Notes

Supported Versions

License

MIT