/minecraft-rpc

A RPC interface for Minecraft

Primary LanguageJava

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/