DiscordCraft Mod — Guide
Mechanics and Integration
When a player changes dimensions—such as entering a Nether portal or launching a rocket to a new planet—the mod detects the change and updates the Rich Presence string based on predefined templates.
Mod Compatibility
DiscordCraft includes built-in logic for several major mods to provide more granular information than just a dimension name:
| Mod | Integration Features |
|---|---|
| Galacticraft | Displays specific planet names, moon names, and orbiting parent bodies. |
| RFTools | Displays the custom names assigned to RFTools Dimensions. |
| Twilight Forest | Native dimension mapping for the Twilight Forest realm. |
| Hunting Dimension | Support for the specialized mob-farming dimension. |
Variables and Groups
Templates in DiscordCraft use placeholders (variables) that are replaced with live game data. Some variables are universal, while others are specific to certain modded groups.
Universal Variables
These variables can be used in any group or dimension template:
* {dimName}: The internal name of the dimension (e.g., overworld, the_end).
* {dimId}: The numerical ID of the dimension (e.g., 0, -1, 1).
Group-Specific Variables
| Group ID | Mod Source | Available Variables | Description |
|---|---|---|---|
default |
Vanilla/Any | {dimName}, {dimId} |
Used for any dimension not otherwise categorized. |
gcsatellite |
Galacticraft | {planet}, {name} |
{planet} is the orbited body; {name} is the station name. |
gcmoon |
Galacticraft | {moon}, {planet} |
{moon} is the current location; {planet} is the parent planet. |
gcplanet |
Galacticraft | {planet} |
The localized name of the current planet. |
rftools |
RFTools | {rftools} |
The user-defined name of the RFTools dimension. |
Dimension Mapping
Below are the standard internal names for common 1.12.2 dimensions used in the dimensions section of the config:
overworld: The Overworldthe_nether: The Netherthe_end: The Endtwilight_forest: The Twilight Foresthunting_dim: The Hunting Dimensionmoon.moon: The Moon (Galacticraft)planet.asteroids: Asteroids (Galacticraft)