Skip to content

Configuration

The config allows users to customize elements of the Rich Presence. Galacticraft Rich Presence uses a custom JSON bassed config. The config file is config/galacticraft-rich-presence.json.

Version Note

Config is only avaliable from version 2.0.0 and up.

General

The following items are general configuration items. Icon can be one of either TWITCH, ATL, FTB, TECHNIC, or NONE. The options show_planet, show_moon and show_station are used to set whether or not to display if a player is on a planet moon or station.

{
    "general": {
        "icon": "TWITCH",
        "show_planet": true,
        "show_moon": true,
        "show_station": true
    }
}

Message Placeholders

You can use placeholders in messages, they are all listed below.

Name Description Example
@[email protected] Planet/Moon the player is on. Exploring @[email protected]
@[email protected] Parent planet of the Space Station the player is on. Orbiting @[email protected]

Warning

Placeholders only work for on_planet, on_moon and on_station messages.

Messages

You can customize messages that are displayed on Discord using the messages section.

{
    "messages": {
        "on_planet": "Exploring @[email protected]",
        "on_moon": "Exploring @[email protected]",
        "on_station": "Orbiting @[email protected]",
        "singleplayer": "Playing Singleplayer",
        "multiplayer": "Playing Multiplayer",
        "icon_text": "Playing X Modpack on the Twitch Launcher."
    }
}

Full Example

Below is an example of a full config file.

{
    "general": {
        "icon": "TWITCH",
        "show_planet": true,
        "show_moon": true,
        "show_station": true
    },
    "messages": {
        "on_planet": "Exploring @[email protected]",
        "on_moon": "Exploring @[email protected]",
        "on_station": "Orbiting @[email protected]",
        "singleplayer": "Playing Singleplayer",
        "multiplayer": "Playing Multiplayer",
        "icon_text": "Playing X Modpack on the Twitch Launcher."
    }
}