Skip to content

Configuration

Pelicoon edited this page Jul 12, 2018 · 1 revision

DiscordRP aims at a mod that is almost 100% customizable. This page is aimed to help you customizing DiscordRP to your own needs. The configuration file of DiscordRP is located at config/discordrp.cfg and can be opened with most text editors.

ApplicationID

DiscordRP allows you to set a custom applicationID. The applicationID is an unique identifier you get upon creating a Application at The Discord Developers Page. With a custom Discord Application you can add your own assets and also set another application title (The name that will appear after Playing on Discord).

Show Time

Furthermore DiscordRP allows you to specify whether you want DiscordRP to show how long you have been playing the game, this is specified by the showTime attribute in the configuration. This is set on true by default can be set to false by yourself if you don't want others to see how long you have been playing Minecraft.

Custom Dimensions

This is currently a feature in the development builds of DiscordRP, and it allows you to add custom dimensions. By default DiscordRP will add any unknown dimension to this list. Entries in this list have a special format which goes as following <Dimension Type>:<Dimension Title>, so the overworld dimension will look like this overworld:Overworld.

NOTE: This is currently a development feature and is not officially supported yet

Manifest

DiscordRP by default uses the manifest.json file used in Curse Modpacks to know what modpack you are playing and what Discord Assets to use for it. The configuration allows you to set some of the manifest values (normally in the manifest.json) manually. This allows you as modpack creator to support your own modpack even when your modpack is on TechnicPack.

Below is an example of this section in the configuration file

manifest {
    # The modpack name
    S:name=

    # The modpack id (used for the Rich Presence Asset. For example 123456 will be referred to asset 'pack_123456')
    S:projectId=
}

The name allows you to set the name of the modpack, the projectId here is a little bit more complicated. DiscordRP uses the projectId of the manifest for the small image in the Rich Presence message. By default DiscordRP will look in the available assets for pack_<projectId> and use that as the small image.

So let's say I have the following modpack with name GameCraft Remastered: Shader Edition and projectId 123456.

Then the configuration will look the following:

manifest {
    # The modpack name
    S:name=GameCraft Remastered: Shader Edition

    # The modpack id (used for the Rich Presence Asset. For example 123456 will be referred to asset 'pack_123456')
    S:projectId=123456
}
Clone this wiki locally