Skip to content

Rust implementation of Minecraft's JSON chat/text format

License

Notifications You must be signed in to change notification settings

GrizzlT/MinecraftChatRust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Chat Rust

Latest Version FOSSA Status

This rust crate aims to provide an easy-to-use object hierarchy to manage raw JSON-messages sent over the minecraft protocol.

Serialization and Deserialization is done using serde (such a nice library! ❤️).

Using a version indication, different styles are automatically ignored for older versions.

Dependencies

To depend on mc_chat, use:

[dependencies]
mc_chat = "0.3"

To enable serialization/deserialization support, use:

[dependencies]
mc_chat = { version = "0.3", features = ["serde"] }

Todo

  • Serialization/Deserialization to json possible.
  • Complete missing elements.
  • Add a 'legacy' text format.
  • Better documentation (examples!).

Contribution

Please feel free to contribute to this repository. Any help is welcome!

(I'm also pretty sure there are some people out there who know how to improve this crate by a bunch, so any advice is appreciated!)

License

FOSSA Status

About

Rust implementation of Minecraft's JSON chat/text format

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published