fred5229 / minecraft-rpc

A RPC interface for Minecraft

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minecraft RPC

A gRPC interface for Minecraft

Starting the modded Minecraft server

minecraft-rpc/
    spongevanilla-1.12.2-xxx.jar
    mods/
        minecraft-rpc-xxx.jar      
  • Start the server with java -jar spongevanilla-1.12.2-xxx.jar
  • The first time you start the server you must accept the Minecraft EULA by modifying eula.txt
  • You should see a bunch of output including [... INFO] [minecraft_rpc]: Listening on 5001. This means it's working and the server is ready for commands on port 5001.

Calling the server

The interface is defined using gRPC. Read the definition at src/main/proto/minecraft.proto

See clients for generated clients and examples

Using the interface definition file you can generate clients for (almost) any programming language you like. See https://grpc.io/docs/languages/

About

A RPC interface for Minecraft


Languages

Language:Java 56.4%Language:Python 41.2%Language:Batchfile 2.4%