mc-chat

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

Usage no npm install needed!

<script type="module">
  import mcChat from 'https://cdn.skypack.dev/mc-chat';
</script>

README

Logo">Node 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.