19 lines
699 B
Markdown
19 lines
699 B
Markdown
# 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:
|
|
|
|
```sh
|
|
JAVA_HOME=$PWD/.jdk/current ./gradlew build
|
|
```
|
|
|
|
2. Copy `build/libs/sanctuary_rpc-1.0.0.jar` into the Fabric mods folder.
|
|
3. Launch Minecraft once. The mod creates `config/sanctuary-rpc.properties`.
|
|
4. Replace `clientId=put-your-discord-application-id-here` with the application ID from the Discord Developer Portal.
|
|
5. 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.
|