Initial sanctuary sources

This commit is contained in:
cnstiout
2026-07-04 20:27:08 +02:00
commit c796a20321
1582 changed files with 253264 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# 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.