Simple Rich Discord Presence: FTB Evolution 2 config options
Config options (how FTB Evolution 2 sets them)
8 settings this pack ships for the mod. We don't have the mod's own defaults to compare them against yet.
Show settings
| Setting | FTB Evolution 2 value |
|---|---|
buttons Set custom buttons for the Discord Rich Presences. You can only have 2 buttons, each button has a label and a URL. Example: [ { "label": "Join our Discord!", "url": "https://discord.gg/..." } ... ] / config/sdrp-client.json5 | [] |
clientId Your Discord App ID config/sdrp-client.json5 | 1556013623246200800 |
dimensionsSupport Dimensions can be setup to update the Rich Presence when the player is in them. Due to the complex nature of modded dimensions, we've added support for different matchers here with support for variable replacement in the various fields. Note: When comparing, the full dimension identifier is used (e.g. minecraft:overworld, modid:custom_dimension) meaning if you use a startsWith, regex, etc, you need to handle the namespace as well. Helper matchers are provided for doing blanket matches on just the namespace or path. Supported matchers: - exact@<string> : Exact match - contains@<string> : Contains substring - startsWith@<string> : Starts with substring - endsWith@<string> : Ends with substring - regex@<pattern> : Matches regex pattern (Java regex syntax) - namespace@<string> : Matches namespace - path@<string> : Matches path Variables: - {{dimension.name}}: The translated dimension name (e.g. dimension.minecraft.overworld = Overworld). This is NeoForge standards, not all mods follow this, nor will all have their own lang keys added. - {{dimension.path}}: The dimension identifier (e.g. overworld) excluding the namespace - {{dimension.namespace}}: The dimension namespace (e.g. minecraft, modid) - {{dimension.identifier}}: The full dimension identifier (e.g. minecraft:overworld) - {{player.uuid}}: The player's UUID - {{player.name}}: The player's in-game name - Please let us know if there are any other variables you'd like to see added! / config/sdrp-client.json5 | [{"matcher":"exact@minecraft:overworld","message":"In the Overworld","imageKey":"overworld","imageName":"The Overworld","prefixWithIn":false},{"matcher":"exact@minecraft:the_nether","message":"In the Nether","imageKey":"the_nether","imageName":"The Nether","prefixWithIn":false},{"matcher":"exact@minecraft:the_end","message":"In the End","imageKey":"the_end","imageName":"The End","prefixWithIn":false},{"matcher":"exact@stellaris:moon","message":"On the Moon","imageKey":"moon","imageName":"The Moon","prefixWithIn":false},{"matcher":"exact@stellaris:earth_orbit","message":"In Earth Orbit","imageKey":"earth_orbit","imageName":"Earth Orbit","prefixWithIn":false},{"matcher":"exact@witchery:dream_world","message":"In the Dream World","imageKey":"dream_world","imageName":"The Dream World","prefixWithIn":false},{"matcher":"exact@witchery:nightmare_world","message":"In the Nightmare World","imageKey":"nightmare_world","imageName":"The Nightmare World","prefixWithIn":false},{"matcher":"exact@witchery:mirror_world","message":"In the Mirror World","imageKey":"dream_world","imageName":"The Mirror World","prefixWithIn":false},{"matcher":"exact@neovitae:dungeon","message":"In the Neo Vitae Dungeon","imageKey":"dungeon","imageName":"Neo Vitae Dungeon","prefixWithIn":false},{"matcher":"exact@quantumcubes:quantum_dimension","message":"In the Quantum Dimension","imageKey":"quantum_dimension","imageName":"The Quantum Dimension","prefixWithIn":false},{"matcher":"exact@jamd:mining","message":"In the Mining Dimension","imageKey":"mining","imageName":"Mining Dimension","prefixWithIn":false},{"matcher":"exact@jamd:nether","message":"In the Nether Mining Dimension","imageKey":"nether","imageName":"Nether Mining Dimension","prefixWithIn":false},{"matcher":"exact@jamd:end","message":"In the End Mining Dimension","imageKey":"end","imageName":"End Mining Dimension","prefixWithIn":false},{"matcher":"exact@javd:void","message":"In the Void","imageKey":"void","imageName":"The Void","prefixWithIn":false},{"matcher":"regex@.*","message":"In {{dimension.name}}","imageKey":"menu","imageName":"{{dimension.name}}","prefixWithIn":false}] |
enabled If you wish to disable Discord Rich Presence, set this to false. config/sdrp-client.json5 | true |
enableUpdateDimensionPresence If set to false, it disables the build-in clientJoinEvent, which is used to tell when the player joins a world and changing Dimension. config/sdrp-client.json5 | true |
enableUpdateScreenPresence If set to false, it disables the build-in screenEvent, which is used to tell when we are on the main menu, or other enabled screens. config/sdrp-client.json5 | true |
logState When enabled, the mod will log the current state being sent to Discord config/sdrp-client.json5 | false |
screens Screens can be setup to update the Rich Presence when the player is on them. You can specify multiple screen classes for each entry. Each screen should have a message, imageName and imageKey. Example: [ { "screenClass": [ "net.minecraft.client.gui.screens.TitleScreen" ], "message": "sdrp.mainmenu", "imageName": "sdrp.mainmenu", "imageKey": "menu" }, ... ] This would update the Rich Presence when on the Title Screen to have the message and images specified. / config/sdrp-client.json5 | [{"message":"sdrp.mainmenu","imageKey":"menu","imageName":"sdrp.mainmenu","screenClass":["net.minecraft.client.gui.screens.TitleScreen","net.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen","net.minecraft.client.gui.screens.worldselection.SelectWorldScreen"]}] |