Files
2026-07-04 20:27:08 +02:00

699 B

Sanctuary RPC

Client-only Fabric mod for Minecraft 26.1.2. It publishes a Discord Rich Presence saying the player is playing Sanctuary.

Setup

  1. Build the mod with Java 25:
JAVA_HOME=$PWD/.jdk/current ./gradlew build
  1. Copy build/libs/sanctuary_rpc-1.0.0.jar into the Fabric mods folder.
  2. Launch Minecraft once. The mod creates config/sanctuary-rpc.properties.
  3. Replace clientId=put-your-discord-application-id-here with the application ID from the Discord Developer Portal.
  4. Optional: add a Rich Presence art asset named sanctuary in that Discord application, or change largeImage in the config.

Discord must be open on the same computer for IPC to connect.