LuckPerms

LuckPerms

41.4k Downloads

MongoDB doesn't work as it should

InfinityZ25 opened this issue ยท 3 comments

commented

Hey, MongoDB works differently than other databases, and whenever I want to use a cluster with a URI it simply won't work. Would you please add URI support instead of just an address?

commented

Hi,

I tripped over this too at first but lucko has correctly provided mongodb_connection_URI which gets passed directly into the MongoDB driver.

However, I only discovered that after seeing this open issue and going through the code to see if I could create a PR for it ๐Ÿ˜…

@lucko I'd recommend adding a section to the documentation, or maybe even just improve the readme description above connection to clarify the uri option is there. As it is very easy to scroll past as surrounding config options are sql-specific.

edit: looks like it was broken on v4.x of LuckPerms, even though the URI config was present there already. Working fine on 5.0.130.

commented

Add connection URI option for mariadb/mysql would be awesome, the console spams like crazy because luckperms is not using ssl or whatever

commented

The SSL problem could be solved following This here