OnPlayerChat (on_player_chat / player_chat)¶
CSS listener OnPlayerChat.
Who gets credit: the event player(s) listed under task types.
Task types¶
Put one of these in your task type: field:
on_player_chatplayer_chat
Minimal YAML¶
Save under blueprints/. Add rules from the table below — see Rules.
tasks:
- id: example
type: on_player_chat
amount: 1
rules: []
Attributes (rule keys)¶
Unknown keys never match — see Rules.
| Key | Type |
|---|---|
| global event data | see page |
| player data | prefixes player |
message |
string |
text |
string |
teamchat |
bool |
teamonly |
bool |