70CentsApple / ChatTools

Chat Tools 一个 Minecraft Fabric 辅助模组 | A Fabric client-side Minecraft Mod
GNU General Public License v3.0
13 stars 4 forks source link

Send a "wb" message whenever someone joins #50

Closed kicekkic closed 1 month ago

kicekkic commented 1 month ago

Bug description

I have tried so many different combinations, I don't know anymore, so this is not a bug report but rather asking for something because Im desperate now. Sorry for taking your time :/

Steps to reproduce

Essentially when someone joins then there is a message "username joined the game", how do I auto respond with message "wb"?

Expected behavior

No response

Actual behavior

No response

Relevant logs

No response

Minecraft version

1.20.6

Mod version

2.3.1

Other information

No response

Check list

AlphaLeoli commented 1 month ago

for the pattern do (?<player>[a-zA-Z0-9_]{3,16}) joined the game and the response you can put wb or wb {player} for it to say wb and then their username

70CentsApple commented 1 month ago

Same as above. If it works, then congrats; we can simply close this issue!

kicekkic commented 1 month ago

for the pattern do (?<player>[a-zA-Z0-9_]{3,16}) joined the game and the response you can put wb or wb {player} for it to say wb and then their username

Is that for all usernames? doesnt work

kicekkic commented 1 month ago

update: I had to do /chattools on and it fixed the issue :)