mc-chat

0.0.1 • Public • Published

LogoNode Minecraft Chat

This project can be used to format messages for the Minecraft Client

Example Usage

var Message = require('mc-chat');
 
new Message('hi!').setColor('red').setClickAction('run_command', '/spawn').json();
// => {"text": "hi!", "color": "red", "clickAction": {"action": "run_command", "value": "/spawn"}}

Why?

This is but a single piece of a large effort to create an entire Minecraft server written in Node.

Readme

Keywords

none

Package Sidebar

Install

npm i mc-chat

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • paulbgd