Minecraft协议服务器

一个用TypeScript实现的Minecraft协议服务器集合,包含基础服务器、认证服务器和代理服务器。

  • by pgtipping
  • TypeScript
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 pgtipping/mcp-servers

使用说明

MCP服务器

用TypeScript实现的Minecraft协议(MCP)服务器的集合。

服务器

基本服务器

一个简单的MCP服务器,处理基本的玩家连接和聊天消息。

身份验证服务器

实现身份验证并处理玩家会话的服务器。

代理服务器

一个代理服务器,可以将连接转发到其他Minecraft服务器。

入门指南

  1. 克隆存储库:
git clone https://github.com/pgtipping/mcp-servers.git
cd mcp-servers
  1. 安装依赖项:
npm install
  1. 构建项目:
npm run build
  1. 启动服务器:
npm run start:basic     # Start the basic server
npm run start:auth      # Start the auth server
npm run start:proxy     # Start the proxy server

发展

  1. 在开发模式下启动服务器:
npm run dev:basic      # Start the basic server with hot reload
npm run dev:auth       # Start the auth server with hot reload
npm run dev:proxy      # Start the proxy server with hot reload

贡献

欢迎投稿!请随时提交拉取请求。

许可证

此项目根据MIT许可证获得许可-请参阅 许可证 文件以获取详细信息。