
[Suggestion] Choose from multiple versions of the same named "playerschoice_files" file
Luke616 opened this issue ยท 0 comments
Currently, player's choice allows you to ship optional files/scripts from the "config/playerschoice_files" folder. However, if pack devs wanted to ship different versions of the same file, there is no current way to do this. Ex: if you want to ship an optional version of some mod's config file, you can only have one "config/playerschoice_files/config/XXXX.cfg" so you would only have one option to choose from.
An example of a way this would be used by pack devs would be to alter configs of a mod like "Rough Mobs 2" through a difficulty setting option. This could be done by having an important group called !difficulty for which the player had to choose either "easy", "normal", or "hard". Selecting "normal" would ship the default configs, but selecting "easy" would replace the config for rough mobs with one that has lesser difficulty settings. Selecting "hard" would replace the config with a different option that has higher difficulty settings.
One way I could see this being implemented would be if inside the "config/playerschoice_files" directory, the pack dev would have to make another folder with the same name as the id of the desired player's choice option. For example, if the id for the option was "test", every file inside the directory "config/playerschoice_files/test" would be automatically copied into the minecraft directory.
I hope I articulated this well. Thanks for the great mod, hope you consider this suggestion!