LuckPerms

LuckPerms

41.4k Downloads

Generated config path inconsistent on fabric

WOLFI3654 opened this issue ยท 0 comments

commented

Description

On fabric (tested with LP v5.4.102) some parts of the config are generated under /config/luckperms and some under /mods/luckperms
Specifically, the H2DB, the libs and the contexts.json will end up in the mods folder.
Luckperms.conf and translatiosn will end up in the config folder.

Proposed Behaviour

Ideally, I'd expect the contexts.json to end up in the config folder as well, since it is a config and not a jar that needs to be loaded. (And should probably stay close to the main config)
Furthermore, the wiki says "Static contexts can be defined in the contexts.json file within the /LuckPerms/ plugin directory. (in the same folder as the main config)". Under fabric, the statement that it's in the same folder as main config is not true.

So this looks like a bug in the config generation to be where the wrong parent gets put to the contexts.json

Extra Details

No response