Wildcard support for configs
PeppeJ opened this issue ยท 1 comments
Describe the solution you'd like
The ability to specify a full mod by using wildcards when tweaking either req_
or xp_value
configs. Example wanted usage (in xp_value_crafting):
"compressium:*":
{
"crafting": 0
},
Why is this feature needed
The Compressium mod allows you to craft 9 Cobblestone -> 1 Compressed Cobblestone (1x)
. You can also to the opposite. 1 Compressed Cobblestone (1x) -> 9 Cobblestone
This creates a feedback loop giving free crafting exp. Since this mod comes with a lot of recipes it is substantially easier to disable all experience gain from crafting, from the entire mod, than specifying each recipe one by one (1 entry vs 244). There are more mods that do similar recipes, for instance the More Charcoal Mod.
Describe alternatives you've considered
None, other than manually entering all the specific blocks.
Additional context
None
The legacy versions have a command that lets you dump to log all of the values of a mod /pmmo debug <follow prompts>
. Use this to reduce the effort of adding new entries. From there, it has been the stance of the pmmo team to recommend you disable XP awards from one craft direction.
Since you are on a legacy version and existing features are able to achieve the desired outcome (albeit with more effort than preferred), this new feature will not be added.