Skip to content

#81 Add support for direct-message commands#82

Merged
creesch merged 4 commits intomainfrom
tell-command
Feb 22, 2025
Merged

#81 Add support for direct-message commands#82
creesch merged 4 commits intomainfrom
tell-command

Conversation

@danthedaniel
Copy link
Copy Markdown
Member

@danthedaniel danthedaniel commented Feb 15, 2025

Fixes: #81

Supports /tell, /msg, and /w which all appear to be vanilla.

Edit: I also added /me as it's just a fancy chat message.

@danthedaniel danthedaniel requested a review from creesch February 15, 2025 22:05
These should be handled as commands and not chat messages
Copy link
Copy Markdown
Collaborator

@creesch creesch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The regex needs changing, other than it looks good to me.

@danthedaniel danthedaniel requested a review from creesch February 22, 2025 04:32
@creesch creesch merged commit 2dd541f into main Feb 22, 2025
@danthedaniel danthedaniel deleted the tell-command branch February 22, 2025 20:00
creesch added a commit that referenced this pull request Mar 12, 2025
This release contains a variety of new features and improvements.  Things like support for newer minecraft versions, tab complete of usernames, hover events and a bunch more! 

# Main

## New

- Translations are now retrieved per chat message from the game at run time and stored with the message. (#84) Meaning that mod messages will display, messages will show in the language you will have set and that the mod now officially supports **1.21.1 and up** as messages will always have the correct translation for that minecraft version. 
- Support added for the `/tell`, `/msg`, `/w` and `/me` commands. (#82)   Note: This mod is never going to support all commands as this easily can be used for abuse. 
- Click events are now supported (#86)
- Tab completion of usernames (#78)
- Use "Jetbrains Mono" font for chat message/input/player names making it look more like minecraft chat (#80)
- Support for legacy color/format codes and multi-space formatting (#69)

## Fixes/enhancements 
- Make pingPatterns case insensitive (#63) 
- Added aria labels and use semantic elements (#58)
- Hover text now renders similar to in game (#85) and supports color code (#87)

# Technical
- Restructured front-end code to not only be modules but classes (#59)
- Simplify player heads rendering (#70)
- A variety of dependencies has been updated. 

# Various other 
For a complete overview see the [commit history](https://github.com/creesch/minecraft-web-chat/commits/main/)

# Screenshots 
![image](https://github.com/user-attachments/assets/91d4e140-c1a5-4fe2-ab74-9bee12ca0a7a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for /tell

2 participants