keywords
The words that enter a player into a raffle, and how they are matched.
keywords:
words:
- "welcome"
- "wlc"
match: contains
case-sensitive: false
count-cancelled-messages: falseA chat message enters the sender when it contains any of the words.
The first word in the list is what %keyword% shows in messages, so put
the one you want players to type first.
Reference
| Key | Type | Default | Notes |
|---|---|---|---|
words | list | welcome, wlc | Any number of words or short phrases, in any language. |
match | string | contains | contains or word, see below. |
case-sensitive | boolean | false | false makes WELCOME, Welcome and welcome all count. |
count-cancelled-messages | boolean | false | Also count chat that another plugin cancelled. See the warning below. |
contains or word
| Message | contains | word |
|---|---|---|
Welcome!!!!! Thanks for joining Steve | enters | enters |
hey welcome | enters | enters |
welcomeee | enters | no |
unwelcome | enters | no |
word counts a keyword only when no letter or digit touches it on
either side, so punctuation and emoji around it are fine.
Who can enter
Only other players can enter, never the newcomer the raffle is for. A player is entered once per raffle, saying welcome again does nothing. If several raffles are open, one welcome enters you into all of them.
On top of that, the anti-abuse
rules and the tdxwelcomeraffle.enter permission apply.
Chat that another plugin cancelled is ignored by default, which is
how muted players are kept out. Some chat plugins (VentureChat, some
channel plugins) cancel every message and send it themselves. If
nobody ever gets entered on your server, set
count-cancelled-messages: true. Muted players can then enter too.