hypherionmc / simple-rpc-public

Simple-RPC Issues, wiki and data github
https://www.curseforge.com/minecraft/mc-mods/simple-discord-rpc/
13 stars 1 forks source link

[Suggestion] Variable for Modpack Version #49

Closed AftDawn closed 1 year ago

AftDawn commented 1 year ago

Is your feature request related to a problem? Please describe. At the moment i'm having to update the modpack version in all of the places that they appear at the moment, and it's quite annoying

Describe the solution you'd like Have something like %modpack_version% or something similar, this could even extend to custom variables!

Describe alternatives you've considered Maybe if you don't want custom variables, maybe just a small handful of predetermined variables that can be controlled?

hypherionmc commented 1 year ago

That's definitely a useful feature.

Maybe I can include the possibility to define your own variables. So that the user can add variables with fixed values, like the modpack name/version or support links etc

hypherionmc commented 1 year ago

With the upcoming release, you will be able to do this:

image

Which will show as

image

hypherionmc commented 1 year ago

You can define as many as you want, and they work inside buttons/imagekeys too.

So you can now define a custom variable for duplicate data, and simply use the variable instead

hypherionmc commented 1 year ago

Feature was released with Version 3.2.0.

https://srpc.fdd-docs.com/custom-variables/